/**
 * Dong Ba Our Beers — front-end experience.
 * All rules are scoped to the dbob namespace so the shortcode can safely live
 * inside any WordPress theme or page-builder layout.
 */

/* Remove theme block-gap only on a page where the shortcode is present. */
body.dbob-page-active {
  overflow-x: hidden;
  overflow-x: clip;
}

.dbob-page-active .wp-site-blocks,
.dbob-page-active .wp-site-blocks > main,
.dbob-page-active .wp-block-post-content,
.dbob-page-active .entry-content {
  gap: 0;
}

.dbob-page-active .wp-site-blocks > main,
.dbob-page-active .wp-site-blocks > footer,
.dbob-page-active .wp-block-post-content > .dbob-shell,
.dbob-page-active .entry-content > .dbob-shell {
  margin-block: 0 !important;
}

/*
 * Twenty Twenty-Five constrains direct children of an is-layout-constrained
 * block to the global 645px content width with !important margins. Keep the
 * shortcode canvas full-bleed even when WordPress or a cache serves markup
 * before the alignfull class is recognised.
 */
.dbob-page-active .is-layout-constrained > .dbob-shell.dbob-page {
  width: 100vw !important;
  max-width: 100vw !important;
  max-inline-size: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
}

.dbob-shell {
	--dbob-content-width: 1180px;
	--dbob-display-font: "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  --dbob-ink: #14091d;
  --dbob-panel: #24122f;
  --dbob-panel-deep: #1b0d24;
  --dbob-gold: #f2c14e;
  --dbob-cream: #f7e9c8;
  --dbob-muted: #c9bca8;
  --dbob-line: rgba(242, 193, 78, 0.22);
  --dbob-line-soft: rgba(247, 233, 200, 0.12);
  --dbob-shadow: 0 24px 64px rgba(5, 2, 8, 0.36);
  --dbob-radius-lg: 28px;
  --dbob-radius-md: 20px;
  --dbob-radius-sm: 13px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 0;
  overflow: hidden;
  color: var(--dbob-cream);
  color-scheme: dark;
  background:
    radial-gradient(circle at 8% 10%, rgba(108, 48, 134, 0.2), transparent 34rem),
    linear-gradient(180deg, var(--dbob-ink) 0%, #190b22 48%, #120719 100%);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.dbob-shell,
.dbob-shell *,
.dbob-shell *::before,
.dbob-shell *::after {
  box-sizing: border-box;
}

.dbob-shell[data-language="vi"] {
  --dbob-display-font: "Times New Roman", "Noto Serif", "DejaVu Serif", serif;
  text-rendering: auto;
}

.dbob-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(247, 233, 200, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 233, 200, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.dbob-shell img {
  display: block;
  max-width: 100%;
  height: auto;
}

.dbob-shell button,
.dbob-shell a {
  font: inherit;
}

.dbob-shell a {
  color: inherit;
}

.dbob-shell [hidden] {
  display: none !important;
}

.dbob-shell :focus-visible {
  outline: 3px solid var(--dbob-gold);
  outline-offset: 4px;
}

.dbob-container {
  width: min(100% - 40px, var(--dbob-content-width));
  margin-inline: auto;
}

.dbob-hero {
  position: relative;
  min-height: clamp(590px, 76vh, 830px);
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 9vw, 126px) clamp(72px, 9vw, 116px);
  border-bottom: 1px solid var(--dbob-line-soft);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(242, 193, 78, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(36, 18, 47, 0.86), rgba(20, 9, 29, 0.94));
}

.dbob-hero::before {
  position: absolute;
  inset: -25% -12% auto auto;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(242, 193, 78, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(242, 193, 78, 0.025),
    0 0 0 150px rgba(242, 193, 78, 0.018);
}

.dbob-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(20, 9, 29, 0.86), transparent);
}

.dbob-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
}

.dbob-hero__content {
  max-width: 720px;
}

.dbob-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--dbob-gold);
  font-size: clamp(0.75rem, 0.7rem + 0.18vw, 0.9rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dbob-eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  flex: 0 0 auto;
  background: currentColor;
  box-shadow: 0 0 13px rgba(242, 193, 78, 0.7);
}

.dbob-hero__content h1,
.dbob-section__header h2,
.dbob-story h2,
.dbob-final-cta h2 {
  margin: 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.dbob-hero__content h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 6.25rem);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.dbob-hero__content > p:not(.dbob-eyebrow) {
  max-width: 62ch;
  margin: clamp(24px, 3vw, 34px) 0 0;
  color: rgba(247, 233, 200, 0.8);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  line-height: 1.78;
}

.dbob-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.dbob-hero__stats > * {
  position: relative;
  min-width: 105px;
  margin: 0;
  padding-inline-end: 30px;
}

.dbob-hero__stats > *:not(:last-child)::after {
  position: absolute;
  inset: 14% 0 14% auto;
  width: 1px;
  content: "";
  background: var(--dbob-line-soft);
}

.dbob-hero__stats strong,
.dbob-hero__stats b {
  display: block;
  color: var(--dbob-gold);
  font-family: var(--dbob-display-font);
  font-size: clamp(1.55rem, 1.3rem + 0.8vw, 2.15rem);
  line-height: 1.15;
}

.dbob-hero__stats span,
.dbob-hero__stats small {
  display: block;
  margin-top: 3px;
  color: var(--dbob-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dbob-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.dbob-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--dbob-gold);
  border-radius: 999px;
  color: var(--dbob-ink) !important;
  background: var(--dbob-gold);
  box-shadow: 0 10px 26px rgba(242, 193, 78, 0.16);
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  touch-action: manipulation;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dbob-button:hover {
  color: var(--dbob-ink) !important;
  background: #ffd36a;
  box-shadow: 0 14px 32px rgba(242, 193, 78, 0.22);
  transform: translateY(-2px);
}

.dbob-button--primary {
  color: var(--dbob-ink) !important;
  border-color: var(--dbob-gold);
  background: var(--dbob-gold);
}

.dbob-button--ghost {
  color: var(--dbob-cream) !important;
  border-color: rgba(247, 233, 200, 0.3);
  background: rgba(247, 233, 200, 0.035);
  box-shadow: none;
}

.dbob-button--ghost:hover {
  color: var(--dbob-gold) !important;
  border-color: var(--dbob-gold);
  background: rgba(242, 193, 78, 0.08);
}

.dbob-hero__visual {
  position: relative;
  width: min(100%, 500px);
  min-height: 470px;
  justify-self: end;
  display: grid;
  place-items: center;
}

.dbob-hero__visual::before,
.dbob-hero__visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.dbob-hero__visual::before {
  inset: 9% 7%;
  border: 1px solid rgba(242, 193, 78, 0.26);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 193, 78, 0.12), transparent 56%),
    rgba(36, 18, 47, 0.35);
  box-shadow:
    inset 0 0 80px rgba(242, 193, 78, 0.06),
    0 35px 90px rgba(0, 0, 0, 0.32);
}

.dbob-hero__visual::after {
  inset: 20% 18%;
  border: 1px dashed rgba(247, 233, 200, 0.17);
}

.dbob-hero__visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.42));
}

.dbob-hero__visual > :not(img) {
  position: relative;
  z-index: 2;
}

.dbob-collection {
  position: relative;
  padding-block: clamp(76px, 9vw, 128px);
}

.dbob-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 28px 70px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.dbob-section__header h2,
.dbob-story h2,
.dbob-final-cta h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.75rem);
}

.dbob-section__header p {
  max-width: 56ch;
  margin: 0;
  color: var(--dbob-muted);
  line-height: 1.8;
}

.dbob-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  align-items: start;
}

.dbob-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dbob-line-soft);
  border-radius: var(--dbob-radius-lg);
  background:
    linear-gradient(155deg, rgba(49, 25, 63, 0.96), rgba(27, 13, 36, 0.98));
  box-shadow: 0 18px 48px rgba(4, 2, 7, 0.24);
  scroll-margin-top: clamp(88px, 10vh, 132px);
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.dbob-card::before {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, var(--dbob-gold), transparent);
  transition: opacity 220ms ease;
}

.dbob-card:hover {
  border-color: rgba(242, 193, 78, 0.35);
  box-shadow: 0 25px 62px rgba(4, 2, 7, 0.36);
  transform: translateY(-4px);
}

.dbob-card:hover::before,
.dbob-card.is-open::before {
  opacity: 1;
}

.dbob-card.is-open {
  grid-column: 1 / -1;
  border-color: rgba(242, 193, 78, 0.44);
  box-shadow: var(--dbob-shadow);
  transform: none;
}

.dbob-card__trigger {
  width: 100%;
  min-height: 44px;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  text-align: start;
  touch-action: manipulation;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dbob-card__media {
  position: relative;
  width: 100%;
  display: block;
  isolation: isolate;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 70%, rgba(242, 193, 78, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(94, 48, 109, 0.34), rgba(14, 6, 20, 0.7));
}

.dbob-card__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(27, 13, 36, 0.9), transparent);
}

.dbob-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 250ms ease;
}

.dbob-beer-image--placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 233, 200, 0.12), transparent 18%),
    radial-gradient(ellipse at 50% 72%, rgba(242, 193, 78, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(80, 40, 96, 0.48), rgba(17, 7, 23, 0.84));
}

.dbob-card:hover .dbob-card__media img,
.dbob-card.is-open .dbob-card__media img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.dbob-status {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(242, 193, 78, 0.34);
  border-radius: 999px;
  color: var(--dbob-gold);
  background: rgba(20, 9, 29, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dbob-card__media > .dbob-status {
  position: absolute;
  z-index: 2;
  inset: 18px auto auto 18px;
}

.dbob-status::before {
  width: 7px;
  height: 7px;
  content: "";
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.dbob-status--live,
.dbob-status--on-tap,
.dbob-status[data-status="on-tap"] {
  color: #8fe3aa;
  border-color: rgba(143, 227, 170, 0.35);
}

.dbob-status--seasonal,
.dbob-status[data-status="seasonal"] {
  color: #f2c14e;
}

.dbob-status--soon,
.dbob-status--returning,
.dbob-status[data-status="soon"],
.dbob-status[data-status="returning"] {
  color: #c9b8ee;
  border-color: rgba(201, 184, 238, 0.34);
}

.dbob-card__body {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: clamp(23px, 2.5vw, 32px);
}

.dbob-card__body h3 {
  margin: 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(1.55rem, 1.35rem + 0.55vw, 2rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.dbob-card__body > p {
  display: -webkit-box;
  margin: 13px 0 22px;
  overflow: hidden;
  color: rgba(247, 233, 200, 0.7);
  font-size: 0.93rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dbob-card__body::after {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  margin-top: auto;
  border: 1px solid rgba(242, 193, 78, 0.34);
  border-radius: 50%;
  content: "+";
  color: var(--dbob-gold);
  font-size: 1.25rem;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, transform 220ms ease;
}

.dbob-card:hover .dbob-card__body::after {
  color: var(--dbob-ink);
  background: var(--dbob-gold);
}

.dbob-card.is-open .dbob-card__body::after {
  content: "\2212";
  transform: rotate(180deg);
}

.dbob-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  order: 3;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--dbob-line-soft);
  list-style: none;
}

.dbob-meta > * {
  min-width: 0;
  margin: 0;
  padding: 0 10px;
  color: var(--dbob-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.065em;
  text-align: center;
  text-transform: uppercase;
}

.dbob-meta > *:first-child {
  padding-inline-start: 0;
  text-align: start;
}

.dbob-meta > *:last-child {
  padding-inline-end: 0;
  text-align: end;
}

.dbob-meta > * + * {
  border-inline-start: 1px solid var(--dbob-line-soft);
}

.dbob-meta strong,
.dbob-meta b,
.dbob-meta span:first-child {
  display: block;
  margin-bottom: 3px;
  overflow: hidden;
  color: var(--dbob-cream);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.dbob-card__detail,
.dbob-detail {
  position: relative;
  border-top: 1px solid var(--dbob-line);
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 193, 78, 0.085), transparent 25rem),
    rgba(15, 7, 21, 0.38);
}

.dbob-card__detail:not([hidden]),
.dbob-detail:not([hidden]) {
  animation: dbob-reveal 420ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

@keyframes dbob-reveal {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dbob-card__close,
.dbob-detail__close {
  position: absolute;
  z-index: 3;
  inset: 20px 20px auto auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(247, 233, 200, 0.2);
  border-radius: 50%;
  color: var(--dbob-cream);
  background: rgba(20, 9, 29, 0.7);
  font-size: 0;
  line-height: 1;
  touch-action: manipulation;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dbob-card__close::before,
.dbob-card__close::after,
.dbob-detail__close::before,
.dbob-detail__close::after {
  position: absolute;
  width: 17px;
  height: 1.5px;
  content: "";
  border-radius: 2px;
  background: currentColor;
}

.dbob-card__close::before,
.dbob-detail__close::before {
  transform: rotate(45deg);
}

.dbob-card__close::after,
.dbob-detail__close::after {
  transform: rotate(-45deg);
}

.dbob-card__close:hover,
.dbob-detail__close:hover {
  color: var(--dbob-gold);
  border-color: var(--dbob-gold);
  transform: rotate(4deg);
}

.dbob-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(36px, 5vw, 70px);
}

.dbob-detail__grid > * {
  min-width: 0;
}

.dbob-detail__grid h3,
.dbob-detail__grid h4 {
  margin: 0 0 16px;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-weight: 700;
  line-height: 1.2;
}

.dbob-detail__grid h3 {
  padding-inline-end: 48px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: -0.025em;
}

.dbob-detail__grid h4 {
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.5rem);
}

.dbob-detail__grid p {
  margin: 0 0 20px;
  color: rgba(247, 233, 200, 0.76);
  line-height: 1.82;
}

.dbob-detail__grid p:last-child {
  margin-bottom: 0;
}

.dbob-flavor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.dbob-flavor-list > * {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(242, 193, 78, 0.24);
  border-radius: 999px;
  color: var(--dbob-gold);
  background: rgba(242, 193, 78, 0.055);
  font-size: 0.77rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.035em;
}

.dbob-meter {
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  color: var(--dbob-muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.dbob-meter__track,
.dbob-meter > span:empty {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 233, 200, 0.11);
}

.dbob-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--dbob-value, 50%);
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a47131, var(--dbob-gold));
  box-shadow: 0 0 13px rgba(242, 193, 78, 0.24);
}

.dbob-meter strong,
.dbob-meter b {
  color: var(--dbob-cream);
}

.dbob-story {
  position: relative;
  padding-block: clamp(78px, 10vw, 144px);
  border-block: 1px solid var(--dbob-line-soft);
  background:
    linear-gradient(120deg, rgba(36, 18, 47, 0.96), rgba(20, 9, 29, 0.92)),
    var(--dbob-panel);
}

.dbob-story::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background: radial-gradient(circle at 17% 48%, rgba(242, 193, 78, 0.12), transparent 28rem);
}

.dbob-story__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(44px, 8vw, 116px);
  align-items: center;
}

.dbob-story__grid > * {
  min-width: 0;
}

.dbob-story__grid img {
  width: 100%;
  min-height: 380px;
  max-height: 610px;
  border: 1px solid var(--dbob-line);
  border-radius: var(--dbob-radius-lg);
  object-fit: cover;
  box-shadow: var(--dbob-shadow);
}

.dbob-story__grid p {
  margin: 24px 0 0;
  color: rgba(247, 233, 200, 0.76);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem);
  line-height: 1.86;
}

.dbob-final-cta {
  position: relative;
  padding-block: clamp(80px, 10vw, 150px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 193, 78, 0.14), transparent 34rem),
    var(--dbob-ink);
}

.dbob-final-cta > * {
  position: relative;
}

.dbob-final-cta h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.dbob-final-cta p {
  max-width: 58ch;
  margin: 22px auto 0;
  color: var(--dbob-muted);
  line-height: 1.8;
}

.dbob-final-cta .dbob-hero__actions {
  justify-content: center;
}

@media (min-width: 800px) {
  .dbob-card.is-open > .dbob-card__trigger {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
  }

  .dbob-card.is-open .dbob-card__media {
    min-height: 390px;
    aspect-ratio: auto;
  }

  .dbob-card.is-open .dbob-card__body {
    min-height: 390px;
    justify-content: center;
    padding: clamp(38px, 5vw, 70px);
  }

  .dbob-card.is-open .dbob-card__body h3 {
    max-width: 16ch;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
  }

  .dbob-card.is-open .dbob-card__body > p {
    max-width: 58ch;
    display: block;
    margin-top: 20px;
    overflow: visible;
    font-size: 1rem;
  }

  .dbob-card.is-open .dbob-meta {
    width: min(100%, 560px);
    margin-top: 24px;
  }
}

@media (max-width: 1050px) {
  .dbob-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
    gap: 40px;
  }

  .dbob-hero__visual {
    min-height: 400px;
  }

  .dbob-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dbob-story__grid {
    gap: 50px;
  }
}

@media (max-width: 799px) {
  .dbob-container {
    width: min(100% - 32px, var(--dbob-content-width, 1180px));
  }

  .dbob-hero {
    min-height: auto;
    padding-block: 62px 72px;
  }

  .dbob-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dbob-hero__content {
    text-align: center;
  }

  .dbob-eyebrow,
  .dbob-hero__actions,
  .dbob-hero__stats {
    justify-content: center;
  }

  .dbob-hero__content h1,
  .dbob-hero__content > p:not(.dbob-eyebrow) {
    margin-inline: auto;
  }

  .dbob-hero__visual {
    width: min(100%, 430px);
    min-height: 310px;
    justify-self: center;
  }

  .dbob-section__header,
  .dbob-story__grid,
  .dbob-detail__grid {
    grid-template-columns: 1fr;
  }

  .dbob-section__header {
    align-items: start;
  }

  .dbob-story__grid img {
    min-height: 320px;
  }

  .dbob-detail__grid {
    padding: 40px 24px 34px;
  }

  .dbob-detail__grid h3 {
    padding-inline-end: 42px;
  }

  .dbob-card__close,
  .dbob-detail__close {
    inset: 16px 16px auto auto;
  }
}

@media (max-width: 620px) {
  .dbob-grid {
    grid-template-columns: 1fr;
  }

  .dbob-hero__content h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .dbob-hero__visual {
    min-height: 280px;
  }

  .dbob-card__body {
    min-height: 225px;
  }

  .dbob-card.is-open .dbob-card__body {
    min-height: auto;
  }

  .dbob-hero__stats {
    gap: 18px 0;
  }

  .dbob-hero__stats > * {
    min-width: 33.333%;
    padding-inline: 10px;
  }

  .dbob-hero__stats > *:last-child::after {
    display: none;
  }

  .dbob-hero__actions .dbob-button {
    width: 100%;
  }

  .dbob-meta > * {
    padding-inline: 8px;
  }

  .dbob-story__grid img {
    min-height: 270px;
  }

  .dbob-meter {
    grid-template-columns: 74px 1fr auto;
    gap: 9px;
  }
}

@media (max-width: 390px) {
  .dbob-container {
    width: min(100% - 24px, var(--dbob-content-width, 1180px));
  }

  .dbob-hero__stats span,
  .dbob-hero__stats small {
    font-size: 0.66rem;
  }

  .dbob-card__body {
    padding: 22px 19px;
  }

  .dbob-detail__grid {
    padding-inline: 19px;
  }
}

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

@media (forced-colors: active) {
  .dbob-card,
  .dbob-button,
  .dbob-status,
  .dbob-card__close,
  .dbob-detail__close {
    border: 1px solid ButtonText;
  }
}

/* -------------------------------------------------------------------------
 * PHP 2.0 markup integration
 * ---------------------------------------------------------------------- */

.dbob-page {
  --dbob-ink: #14091d;
  --dbob-panel: #24122f;
  --dbob-panel-deep: #1b0d24;
  --dbob-gold: #f2c14e;
  --dbob-cream: #f7e9c8;
  --dbob-muted: #c9bca8;
  --dbob-line: rgba(242, 193, 78, 0.22);
  --dbob-line-soft: rgba(247, 233, 200, 0.12);
  --dbob-shadow: 0 24px 64px rgba(5, 2, 8, 0.36);
  --dbob-radius-lg: 28px;
  --dbob-radius-md: 20px;
  --dbob-radius-sm: 13px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin-block: 0 !important;
  color: var(--dbob-cream);
  color-scheme: dark;
  background:
    radial-gradient(circle at 8% 10%, rgba(108, 48, 134, 0.2), transparent 34rem),
    linear-gradient(180deg, var(--dbob-ink), #190b22 48%, #120719);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.dbob-page:not(.dbob-shell) {
  width: 100vw;
  max-width: 100vw;
  margin-inline-start: calc(50% - 50vw) !important;
  overflow: hidden;
}

.dbob-page,
.dbob-page *,
.dbob-page *::before,
.dbob-page *::after {
  box-sizing: border-box;
}

.dbob-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.dbob-page [hidden] {
  display: none !important;
}

.dbob-main {
  display: block;
  margin: 0;
}

/* Backward-compatible container override while upgrading from the 1.x shell. */
.dbob-page:not(.dbob-shell) .dbob-shell {
  width: min(100% - 40px, var(--dbob-content-width, 1180px));
  max-width: var(--dbob-content-width, 1180px);
  margin-inline: auto !important;
  overflow: visible;
  color: inherit;
  background: transparent;
  isolation: auto;
}

.dbob-page:not(.dbob-shell) .dbob-shell::before {
  display: none;
}

.dbob-hero__copy {
  max-width: 730px;
}

.dbob-hero__glow {
  position: absolute;
  inset: 8% -12% auto auto;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.65;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.16), rgba(97, 43, 117, 0.08) 42%, transparent 70%);
  filter: blur(10px);
}

.dbob-hero__copy h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(3rem, 6vw, 6.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.dbob-hero__intro {
  max-width: 62ch;
  margin: clamp(24px, 3vw, 34px) 0 0;
  color: rgba(247, 233, 200, 0.8);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  line-height: 1.78;
}

.dbob-hero__metrics {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(100%, 390px);
  justify-self: end;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--dbob-line);
  border-radius: var(--dbob-radius-lg);
  background: rgba(22, 10, 30, 0.62);
  box-shadow: var(--dbob-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dbob-hero__metrics::before {
  position: absolute;
  inset: 14px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(242, 193, 78, 0.08);
  border-radius: calc(var(--dbob-radius-lg) - 8px);
}

.dbob-metric {
  position: relative;
  z-index: 1;
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--dbob-line-soft);
}

.dbob-metric:last-child {
  border-bottom: 0;
}

.dbob-metric strong {
  color: var(--dbob-gold);
  font-family: var(--dbob-display-font);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.8rem);
  line-height: 1;
  white-space: nowrap;
}

.dbob-metric span {
  max-width: 12ch;
  color: var(--dbob-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-align: end;
  text-transform: uppercase;
}

.dbob-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 10px 70px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.dbob-section-heading .dbob-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.dbob-section-heading h2,
.dbob-story__lead h2,
.dbob-cta__card h2 {
  margin: 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(2.35rem, 4.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.dbob-section-heading > p:last-child {
  max-width: 56ch;
  margin: 0;
  color: var(--dbob-muted);
  line-height: 1.8;
}

.dbob-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -20px 0 36px;
}

.dbob-filter {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid rgba(247, 233, 200, 0.18);
  border-radius: 999px;
  color: var(--dbob-muted);
  background: rgba(247, 233, 200, 0.035);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  touch-action: manipulation;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.dbob-filter:hover,
.dbob-filter.is-active,
.dbob-filter[aria-pressed="true"] {
  color: var(--dbob-ink);
  border-color: var(--dbob-gold);
  background: var(--dbob-gold);
}

.dbob-card.is-expanded,
.dbob-card.is-open {
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--dbob-accent, var(--dbob-gold)) 58%, transparent);
  box-shadow: var(--dbob-shadow);
  transform: none;
}

.dbob-card.is-expanded::before {
  opacity: 1;
}

.dbob-card--featured {
  border-color: rgba(242, 193, 78, 0.3);
}

.dbob-card__content {
  position: relative;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: clamp(23px, 2.5vw, 32px);
}

.dbob-card__topline,
.dbob-detail__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--dbob-muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.dbob-card__name {
  display: block;
  margin-top: 22px;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(1.55rem, 1.35rem + 0.55vw, 2rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.dbob-card__style {
  display: block;
  margin-top: 7px;
  color: var(--dbob-accent, var(--dbob-gold));
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.dbob-card__caption {
  display: -webkit-box;
  margin-top: 14px;
  overflow: hidden;
  color: rgba(247, 233, 200, 0.7);
  font-size: 0.93rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dbob-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
}

.dbob-card__numbers {
  display: flex;
  gap: 0;
  color: var(--dbob-muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.07em;
}

.dbob-card__numbers > span {
  padding-inline: 12px;
  border-inline-end: 1px solid var(--dbob-line-soft);
}

.dbob-card__numbers > span:first-child {
  padding-inline-start: 0;
}

.dbob-card__numbers > span:last-child {
  border-inline-end: 0;
}

.dbob-card__numbers b {
  display: block;
  color: var(--dbob-cream);
  font-size: 1rem;
  letter-spacing: 0;
}

.dbob-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dbob-gold);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-align: end;
  text-transform: uppercase;
}

.dbob-card__link > span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.dbob-card:hover .dbob-card__link > span {
  transform: translate(2px, -2px);
}

.dbob-card.is-expanded .dbob-card__media img,
.dbob-card.is-open .dbob-card__media img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.dbob-card.is-expanded .dbob-card__link > span,
.dbob-card.is-open .dbob-card__link > span {
  transform: rotate(135deg);
}

.dbob-detail__hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  min-height: 440px;
}

.dbob-detail__media {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 70%, rgba(242, 193, 78, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(94, 48, 109, 0.34), rgba(14, 6, 20, 0.7));
}

.dbob-detail__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent 64%, rgba(18, 7, 25, 0.28));
}

.dbob-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dbob-detail__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.dbob-detail__picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dbob-detail__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 78px);
}

.dbob-detail__topline {
  justify-content: flex-start;
  padding-inline-end: 48px;
}

.dbob-detail__intro h3 {
  max-width: 15ch;
  margin: 23px 0 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dbob-detail__style {
  margin: 13px 0 0 !important;
  color: var(--dbob-accent, var(--dbob-gold)) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.dbob-detail__tagline {
  max-width: 34ch;
  margin: 23px 0 0 !important;
  color: var(--dbob-cream) !important;
  font-family: var(--dbob-display-font);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.45 !important;
}

.dbob-detail__caption {
  max-width: 58ch;
  margin: 17px 0 0 !important;
}

.dbob-detail__numbers {
  display: flex;
  gap: 14px;
  margin-top: 27px;
}

.dbob-detail__numbers > div {
  min-width: 112px;
  padding: 14px 18px;
  border: 1px solid var(--dbob-line-soft);
  border-radius: var(--dbob-radius-sm);
  background: rgba(247, 233, 200, 0.035);
}

.dbob-detail__numbers strong {
  display: block;
  color: var(--dbob-gold);
  font-family: var(--dbob-display-font);
  font-size: 1.65rem;
  line-height: 1;
}

.dbob-detail__numbers span {
  display: block;
  margin-top: 6px;
  color: var(--dbob-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.dbob-detail__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(28px, 5vw, 68px);
  border-top: 1px solid var(--dbob-line-soft);
}

.dbob-detail__body > section {
  min-width: 0;
  padding: clamp(23px, 3vw, 36px);
  border: 1px solid var(--dbob-line-soft);
  border-radius: var(--dbob-radius-md);
  background: rgba(247, 233, 200, 0.028);
}

.dbob-detail__story,
.dbob-detail__hue,
.dbob-detail__flavors,
.dbob-detail__pairing {
  position: relative;
}

.dbob-detail__story::before,
.dbob-detail__hue::before,
.dbob-detail__flavors::before,
.dbob-detail__pairing::before {
  position: absolute;
  inset: 24px auto 24px 0;
  width: 2px;
  content: "";
  border-radius: 2px;
  background: var(--dbob-accent, var(--dbob-gold));
  opacity: 0.58;
}

.dbob-detail__body h4 {
  margin: 0 0 14px;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(1.2rem, 1.08rem + 0.4vw, 1.5rem);
  line-height: 1.3;
}

.dbob-detail__body p {
  margin: 0;
  color: rgba(247, 233, 200, 0.73);
  line-height: 1.82;
}

.dbob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dbob-chips > li {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(242, 193, 78, 0.24);
  border-radius: 999px;
  color: var(--dbob-gold);
  background: rgba(242, 193, 78, 0.055);
  font-size: 0.77rem;
  font-weight: 750;
  line-height: 1.35;
}

.dbob-taste {
  grid-column: 1 / -1;
}

.dbob-taste__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
}

.dbob-taste__item {
  min-width: 0;
}

.dbob-taste__label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  color: var(--dbob-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.dbob-taste__meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 233, 200, 0.1);
}

.dbob-taste__meter > span {
  width: var(--dbob-level, 0%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dbob-accent, #a47131), var(--dbob-gold));
  box-shadow: 0 0 13px rgba(242, 193, 78, 0.24);
}

.dbob-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 clamp(28px, 5vw, 68px) clamp(34px, 5vw, 68px);
}

.dbob-story__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: start;
}

.dbob-story__lead {
  position: sticky;
  top: 120px;
}

.dbob-story__lead > p:last-child {
  margin: 25px 0 0;
  color: rgba(247, 233, 200, 0.74);
  font-size: 1.05rem;
  line-height: 1.84;
}

.dbob-pillars {
  display: grid;
  gap: 16px;
}

.dbob-pillar {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 6px 20px;
  align-content: center;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--dbob-line-soft);
  border-radius: var(--dbob-radius-md);
  background: rgba(247, 233, 200, 0.028);
  transition: border-color 180ms ease, transform 180ms ease;
}

.dbob-pillar:hover {
  border-color: var(--dbob-line);
  transform: translateX(4px);
}

.dbob-pillar > span {
  grid-row: 1 / span 2;
  color: var(--dbob-gold);
  font-family: var(--dbob-display-font);
  font-size: 1.45rem;
}

.dbob-pillar h3 {
  margin: 0;
  color: var(--dbob-cream);
  font-family: var(--dbob-display-font);
  font-size: clamp(1.35rem, 1.15rem + 0.55vw, 1.75rem);
  line-height: 1.25;
}

.dbob-pillar p {
  margin: 7px 0 0;
  color: var(--dbob-muted);
  line-height: 1.75;
}

.dbob-cta {
  position: relative;
  padding-block: clamp(70px, 9vw, 128px);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 193, 78, 0.1), transparent 32rem),
    var(--dbob-ink);
}

.dbob-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px 70px;
  align-items: end;
  padding: clamp(32px, 6vw, 78px);
  border: 1px solid var(--dbob-line);
  border-radius: var(--dbob-radius-lg);
  background:
    linear-gradient(135deg, rgba(55, 28, 70, 0.92), rgba(26, 12, 35, 0.97));
  box-shadow: var(--dbob-shadow);
}

.dbob-cta__card h2 {
  max-width: 16ch;
}

.dbob-cta__card > div:first-child > p:last-child {
  max-width: 60ch;
  margin: 23px 0 0;
  color: var(--dbob-muted);
  line-height: 1.8;
}

.dbob-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (min-width: 800px) {
  .dbob-card.is-expanded > .dbob-card__trigger,
  .dbob-card.is-open > .dbob-card__trigger {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
  }

  .dbob-card.is-expanded > .dbob-card__trigger .dbob-card__media,
  .dbob-card.is-open > .dbob-card__trigger .dbob-card__media {
    min-height: 390px;
    aspect-ratio: auto;
  }

  .dbob-card.is-expanded .dbob-card__content,
  .dbob-card.is-open .dbob-card__content {
    min-height: 390px;
    justify-content: center;
    padding: clamp(38px, 5vw, 70px);
  }

  .dbob-card.is-expanded .dbob-card__name,
  .dbob-card.is-open .dbob-card__name {
    max-width: 16ch;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
  }

  .dbob-card.is-expanded .dbob-card__caption,
  .dbob-card.is-open .dbob-card__caption {
    max-width: 58ch;
    display: block;
    overflow: visible;
    font-size: 1rem;
  }
}

@media (max-width: 799px) {
  .dbob-page:not(.dbob-shell) .dbob-shell {
    width: min(100% - 32px, var(--dbob-content-width, 1180px));
  }

  .dbob-hero__copy {
    text-align: center;
  }

  .dbob-hero__copy h1,
  .dbob-hero__intro {
    margin-inline: auto;
  }

  .dbob-hero__copy .dbob-eyebrow,
  .dbob-hero__copy .dbob-hero__actions {
    justify-content: center;
  }

  .dbob-hero__metrics {
    width: min(100%, 540px);
    grid-template-columns: repeat(3, 1fr);
    justify-self: center;
    padding: 12px;
  }

  .dbob-metric {
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 7px;
    border-bottom: 0;
    border-inline-end: 1px solid var(--dbob-line-soft);
    text-align: center;
  }

  .dbob-metric:last-child {
    border-inline-end: 0;
  }

  .dbob-metric span {
    text-align: center;
  }

  .dbob-section-heading,
  .dbob-story__inner,
  .dbob-cta__card,
  .dbob-detail__hero,
  .dbob-detail__body {
    grid-template-columns: 1fr;
  }

  .dbob-story__lead {
    position: static;
  }

  .dbob-detail__media {
    min-height: 340px;
  }

  .dbob-detail__intro {
    padding: 40px 24px;
  }

  .dbob-detail__body {
    padding: 20px 20px 34px;
  }

  .dbob-detail__actions {
    padding: 0 20px 38px;
  }

  .dbob-taste {
    grid-column: auto;
  }

  .dbob-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .dbob-hero__metrics {
    width: 100%;
  }

  .dbob-metric strong {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .dbob-metric span {
    font-size: 0.62rem;
  }

  .dbob-card__content {
    min-height: 270px;
    padding: 23px 20px;
  }

  .dbob-card__footer {
    align-items: center;
  }

  .dbob-card__link {
    max-width: 12ch;
  }

  .dbob-detail__media {
    min-height: 280px;
  }

  .dbob-detail__numbers > div {
    min-width: 96px;
  }

  .dbob-taste__list {
    grid-template-columns: 1fr;
  }

  .dbob-pillar {
    grid-template-columns: 44px 1fr;
    gap: 6px 12px;
    padding: 24px 20px;
  }

  .dbob-cta__actions .dbob-button,
  .dbob-detail__actions .dbob-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .dbob-page:not(.dbob-shell) .dbob-shell {
    width: min(100% - 24px, var(--dbob-content-width, 1180px));
  }
}

/* -------------------------------------------------------------------------
 * 2.0.2 — header-aligned content, Vietnamese-safe display type and dialogs
 * ---------------------------------------------------------------------- */

.dbob-container {
  width: min(100% - 40px, var(--dbob-content-width, 1180px));
}

.dbob-shell[data-language="vi"] h1,
.dbob-shell[data-language="vi"] h2,
.dbob-shell[data-language="vi"] h3,
.dbob-shell[data-language="vi"] h4,
.dbob-shell[data-language="vi"] .dbob-card__name,
.dbob-shell[data-language="vi"] .dbob-detail__tagline,
.dbob-shell[data-language="vi"] .dbob-metric strong,
.dbob-shell[data-language="vi"] .dbob-detail__numbers strong,
.dbob-shell[data-language="vi"] .dbob-pillar > span {
  font-family: var(--dbob-display-font);
  font-kerning: auto;
  letter-spacing: normal;
  text-rendering: auto;
}

.dbob-card:focus-within {
  border-color: rgba(242, 193, 78, 0.72);
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.24), var(--dbob-shadow);
}

.dbob-card__trigger:focus-visible {
  outline-offset: -4px;
}

html.dbob-modal-open,
body.dbob-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

dialog.dbob-detail {
  position: fixed;
  inset: 0;
  width: min(calc(100vw - 48px), var(--dbob-content-width, 1180px));
  max-width: var(--dbob-content-width, 1180px);
  height: auto;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 193, 78, 0.34);
  border-radius: var(--dbob-radius-lg);
  color: var(--dbob-cream);
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 193, 78, 0.1), transparent 25rem),
    linear-gradient(155deg, rgba(38, 19, 49, 0.995), rgba(17, 8, 24, 0.995));
  box-shadow: 0 36px 110px rgba(3, 1, 5, 0.72);
  text-align: start;
  transform: none;
  color-scheme: dark;
}

dialog.dbob-detail:not([open]) {
  display: none;
}

dialog.dbob-detail[open] {
  display: block;
  animation: dbob-modal-enter 280ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

dialog.dbob-detail::backdrop {
  background: rgba(8, 3, 12, 0.8);
  backdrop-filter: blur(10px) saturate(0.8);
  -webkit-backdrop-filter: blur(10px) saturate(0.8);
}

.dbob-detail__panel {
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

dialog.dbob-detail .dbob-detail__close {
  position: absolute;
  z-index: 20;
  inset: 18px 18px auto auto;
  background: rgba(20, 9, 29, 0.88);
  box-shadow: 0 8px 24px rgba(4, 2, 7, 0.3);
}

.dbob-card.is-open,
.dbob-card.is-expanded {
  grid-column: auto;
  transform: none;
}

.dbob-card.is-open > .dbob-card__trigger,
.dbob-card.is-expanded > .dbob-card__trigger {
  display: block;
}

.dbob-card.is-open > .dbob-card__trigger .dbob-card__media,
.dbob-card.is-expanded > .dbob-card__trigger .dbob-card__media {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.dbob-card.is-open .dbob-card__content,
.dbob-card.is-expanded .dbob-card__content {
  min-height: 292px;
  justify-content: initial;
  padding: clamp(23px, 2.5vw, 32px);
}

@keyframes dbob-modal-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1099px) {
  dialog.dbob-detail {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .dbob-detail__panel {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .dbob-detail__hero,
  .dbob-detail__body {
    grid-template-columns: 1fr;
  }

  .dbob-detail__media {
    min-height: 0;
    height: clamp(250px, 36dvh, 360px);
  }

  .dbob-detail__intro {
    padding: 38px 26px;
  }

  .dbob-detail__body {
    padding: 22px 22px 34px;
  }

  .dbob-detail__actions {
    padding: 0 22px 40px;
  }
}

@media (max-width: 799px) {
  .dbob-container {
    width: min(100% - 32px, var(--dbob-content-width, 1180px));
  }
}

@media (max-width: 620px) {
  dialog.dbob-detail {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .dbob-detail__panel {
    max-height: 100vh;
    max-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  dialog.dbob-detail .dbob-detail__close {
    inset:
      max(12px, env(safe-area-inset-top, 0))
      max(12px, env(safe-area-inset-right, 0))
      auto
      auto;
  }

  .dbob-detail__media {
    height: 240px;
  }

  .dbob-detail__intro {
    padding: 34px 20px;
  }

  .dbob-detail__intro h3 {
    padding-inline-end: 36px;
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .dbob-detail__body {
    padding: 18px 16px 28px;
  }

  .dbob-detail__body > section {
    padding: 22px 18px;
  }

  .dbob-detail__actions {
    padding: 0 16px max(28px, env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 390px) {
  .dbob-container {
    width: min(100% - 24px, var(--dbob-content-width, 1180px));
  }
}

/* -------------------------------------------------------------------------
 * 2.0.3 — bounded Huế gallery, local linework and richer beer dossiers
 * ---------------------------------------------------------------------- */

.dbob-frame {
  position: relative;
  width: min(calc(100% - 32px), var(--dbob-content-width, 1180px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(242, 193, 78, 0.13);
  border-radius: 24px;
  background: #14091d;
  box-shadow:
    0 28px 76px rgba(2, 1, 4, 0.38),
    inset 0 0 0 7px rgba(247, 233, 200, 0.012);
}

/* The full-width shell only escapes restrictive theme columns. All visible
 * colour and texture stays inside the bounded frame at every breakpoint. */
.dbob-shell.dbob-page {
  padding-block: clamp(12px, 2.4vw, 34px) clamp(20px, 4vw, 54px);
  overflow: visible;
  background: transparent;
  isolation: auto;
}

.dbob-shell.dbob-page::before {
  display: none;
}

.dbob-linework {
  display: none;
  pointer-events: none;
}

.dbob-detail__edition {
  position: absolute;
  z-index: 3;
  inset: 24px auto auto 24px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 193, 78, 0.46);
  border-radius: 50%;
  color: var(--dbob-gold);
  background: rgba(20, 9, 29, 0.72);
  box-shadow: 0 10px 28px rgba(5, 2, 8, 0.34);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: var(--dbob-display-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dbob-detail__experience {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.dbob-detail__content {
  min-width: 0;
}

.dbob-detail__experience-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid rgba(247, 233, 200, 0.1);
  border-radius: 14px;
  background: rgba(247, 233, 200, 0.03);
}

.dbob-detail__experience-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--dbob-accent, var(--dbob-gold)), transparent);
}

.dbob-detail__experience-card > span {
  color: var(--dbob-gold);
  font-size: 1.1rem;
  line-height: 1.35;
}

.dbob-detail__experience-card h4 {
  margin: 0 0 4px;
  color: var(--dbob-gold);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dbob-detail__experience-card p {
  margin: 0;
  color: rgba(247, 233, 200, 0.72);
  font-size: 0.79rem;
  line-height: 1.55;
}

@media (min-width: 1100px) {
  /* The theme wraps the post content in a 28px vertical group pad. On desktop
   * that pad sits above the plugin canvas and reads as an empty band. */
  .dbob-page-active .wp-site-blocks > main > .wp-block-group.alignfull {
    padding-block: 0 !important;
  }

  .dbob-shell.dbob-page {
    padding-block: clamp(18px, 1.4vw, 24px) clamp(34px, 3.2vw, 52px);
    background:
      radial-gradient(circle at 50% 2%, rgba(116, 62, 137, 0.18), transparent 42rem),
      linear-gradient(180deg, #281433 0%, #1f1029 42%, #190c22 100%);
  }

  .dbob-shell::before {
    display: none;
  }

  .dbob-frame {
    width: min(calc(100% - 40px), var(--dbob-content-width, 1180px));
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(242, 193, 78, 0.13);
    border-radius: 34px;
    background: linear-gradient(145deg, #2b1636 0%, #21102b 55%, #1b0d24 100%);
    box-shadow:
      0 20px 60px rgba(8, 3, 12, 0.24),
      inset 0 0 0 10px rgba(247, 233, 200, 0.012);
  }

  .dbob-frame::before {
    position: absolute;
    z-index: 5;
    inset: 10px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(242, 193, 78, 0.065);
    border-radius: 25px;
  }

  .dbob-frame > .dbob-hero,
  .dbob-main > section {
    position: relative;
    isolation: isolate;
    border-inline: 1px solid rgba(247, 233, 200, 0.025);
  }

  .dbob-frame .dbob-container {
    width: min(calc(100% - 80px), 1080px);
  }

  .dbob-hero {
    min-height: clamp(520px, 58vh, 620px);
    padding-block: clamp(54px, 4.8vw, 70px);
    border-radius: 33px 33px 0 0;
    background:
      radial-gradient(circle at 78% 42%, rgba(242, 193, 78, 0.13), transparent 24rem),
      radial-gradient(circle at 12% 15%, rgba(107, 48, 132, 0.2), transparent 30rem),
      linear-gradient(135deg, #271330 0%, #190b22 48%, #120719 100%);
  }

  .dbob-hero__inner {
    gap: clamp(44px, 4.8vw, 64px);
  }

  .dbob-hero__copy h1 {
    max-width: 15ch;
    font-size: clamp(3.1rem, 4.8vw, 5.1rem);
  }

  .dbob-collection {
    padding-block: clamp(64px, 5.8vw, 88px);
    border-top: 1px solid rgba(242, 193, 78, 0.11);
    background:
      radial-gradient(circle at 5% 18%, rgba(92, 44, 109, 0.13), transparent 27rem),
      linear-gradient(180deg, #160a1f 0%, #14091d 100%);
  }

  .dbob-story {
    margin-inline: 20px;
    padding-block: clamp(62px, 5.4vw, 82px);
    overflow: hidden;
    border: 1px solid rgba(242, 193, 78, 0.16);
    border-radius: 26px;
    background:
      radial-gradient(ellipse at 85% 10%, rgba(242, 193, 78, 0.07), transparent 29rem),
      linear-gradient(145deg, #1c0e25 0%, #13081b 100%);
  }

  .dbob-cta {
    padding-block: clamp(44px, 4vw, 58px);
    border-radius: 0 0 33px 33px;
    background: transparent;
  }

  .dbob-cta__card {
    padding: clamp(40px, 4.6vw, 62px);
    background:
      linear-gradient(120deg, rgba(61, 31, 75, 0.94), rgba(25, 11, 34, 0.98));
  }

  .dbob-linework {
    position: absolute;
    z-index: 0;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.62;
  }

  .dbob-linework--hero,
  .dbob-linework--collection,
  .dbob-linework--cta {
    width: 430px;
    height: 660px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 660'%3E%3Cg fill='none' stroke='%23f2c14e' stroke-opacity='.17' stroke-width='1'%3E%3Cpath d='M418 18H292v58h-66v66h-66v66H94v244h66v66h66v66h66v58h126'/%3E%3Cpath d='M418 70H318v52h-56v56h-56v56h-56v192h56v56h56v56h56v52h100'/%3E%3Cpath d='M418 132c-138 0-250 89-250 198s112 198 250 198'/%3E%3Cpath d='M418 190c-99 0-180 63-180 140s81 140 180 140'/%3E%3Cpath d='M418 246c-60 0-109 38-109 84s49 84 109 84'/%3E%3C/g%3E%3Cg fill='%23f7e9c8' fill-opacity='.11'%3E%3Ccircle cx='94' cy='208' r='3'/%3E%3Ccircle cx='94' cy='452' r='3'/%3E%3Ccircle cx='226' cy='76' r='3'/%3E%3Ccircle cx='226' cy='584' r='3'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
  }

  .dbob-linework--hero {
    inset: 50% -74px auto auto;
    transform: translateY(-50%);
  }

  .dbob-linework--collection {
    inset: 8% auto auto -100px;
    transform: scaleX(-1);
    opacity: 0.46;
  }

  .dbob-linework--story {
    inset: auto 0 0;
    width: 100%;
    height: 220px;
    opacity: 0.48;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23f2c14e' stroke-opacity='.11'%3E%3Cpath d='M-30 154C170 46 348 56 534 136s374 92 776-48'/%3E%3Cpath d='M-30 180C180 86 348 82 534 154s386 88 776-26'/%3E%3Cpath d='M-30 206C180 122 356 114 548 176s382 73 762-16'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  }

  .dbob-linework--cta {
    inset: 50% -132px auto auto;
    height: 420px;
    transform: translateY(-50%);
    opacity: 0.3;
  }

  .dbob-frame .dbob-container,
  .dbob-frame .dbob-cta__card {
    position: relative;
    z-index: 1;
  }

  /* Keep the glow as decoration. Making it relative turns its 760px circle
   * into a real grid row and pushes the hero copy below the first viewport. */
  .dbob-frame .dbob-hero__glow {
    position: absolute;
    z-index: 0;
  }

  dialog.dbob-detail {
    width: min(calc(100vw - 48px), 1120px);
    max-width: 1120px;
    height: min(830px, calc(100vh - 40px));
    height: min(830px, calc(100dvh - 40px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    border-color: rgba(242, 193, 78, 0.31);
    border-radius: 26px;
    background: #160a1f;
  }

  .dbob-detail__panel {
    height: 100%;
    max-height: none;
    overflow: hidden;
  }

  .dbob-detail__hero {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  }

  .dbob-detail__content {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .dbob-detail__media {
    position: relative;
    grid-column: 1;
    min-height: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-inline-end: 1px solid rgba(242, 193, 78, 0.14);
    background:
      radial-gradient(circle at 50% 42%, rgba(242, 193, 78, 0.15), transparent 33%),
      linear-gradient(145deg, rgba(82, 40, 98, 0.46), #110718 82%);
  }

  .dbob-detail__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
      linear-gradient(to top, rgba(13, 5, 18, 0.72), transparent 42%),
      linear-gradient(135deg, transparent 65%, rgba(242, 193, 78, 0.07));
  }

  .dbob-detail__media img,
  .dbob-detail__media .dbob-beer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .dbob-detail__intro {
    padding: 42px 44px 28px;
    border-bottom: 1px solid rgba(247, 233, 200, 0.07);
    background:
      radial-gradient(circle at 90% 8%, rgba(242, 193, 78, 0.08), transparent 18rem),
      rgba(36, 18, 47, 0.42);
  }

  .dbob-detail__intro h3 {
    max-width: 13ch;
    margin-top: 18px;
    font-size: clamp(2.45rem, 4vw, 4.25rem);
  }

  .dbob-detail__tagline {
    max-width: 30ch;
    margin-top: 11px;
    font-size: clamp(1.1rem, 1rem + 0.42vw, 1.42rem);
  }

  .dbob-detail__caption {
    max-width: 62ch;
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .dbob-detail__numbers {
    margin-top: 20px;
  }

  .dbob-detail__numbers > div {
    min-width: 108px;
    padding: 12px 16px;
  }

  .dbob-detail__numbers strong {
    font-size: 1.65rem;
  }

  .dbob-detail__experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .dbob-detail__body {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
    padding: 22px 36px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: #13081b;
  }

  .dbob-detail__body > section {
    min-height: 0;
    padding: 20px;
    border-radius: 15px;
    background: rgba(247, 233, 200, 0.026);
  }

  .dbob-detail__story,
  .dbob-detail__hue,
  .dbob-taste {
    grid-column: 1 / -1;
  }

  .dbob-detail__body h4 {
    margin-bottom: 10px;
    font-size: 1.12rem;
  }

  .dbob-detail__body p {
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .dbob-detail__actions {
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    padding: 18px 36px 24px;
    border-top: 1px solid rgba(242, 193, 78, 0.11);
    background: rgba(25, 11, 34, 0.98);
    box-shadow: 0 -14px 30px rgba(6, 2, 9, 0.24);
  }
}

@media (min-width: 1100px) and (max-height: 760px) {
  dialog.dbob-detail {
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }

  .dbob-detail__intro {
    padding-block: 30px 22px;
  }

  .dbob-detail__content {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .dbob-detail__body {
    min-height: auto;
    overflow: visible;
  }

  .dbob-detail__actions {
    position: sticky;
    bottom: 0;
  }

  .dbob-detail__intro h3 {
    margin-top: 12px;
    font-size: clamp(2.25rem, 3.6vw, 3.6rem);
  }

  .dbob-detail__experience-card {
    padding-block: 12px;
  }
}

@media (max-width: 1099px) {
  .dbob-detail__experience {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .dbob-frame {
    width: min(calc(100% - 16px), var(--dbob-content-width, 1180px));
    border-radius: 19px;
  }

  dialog.dbob-detail::backdrop {
    background: rgba(8, 3, 12, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dbob-detail__edition {
    inset: 14px auto auto 14px;
    width: 46px;
    height: 46px;
    font-size: 0.88rem;
  }

  .dbob-detail__experience-card {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.dbob-detail[open] {
    animation: none;
  }

  .dbob-linework {
    opacity: 0.36;
  }
}

/* -------------------------------------------------------------------------
 * 2.0.5 — one continuous full-bleed beer canvas
 * ---------------------------------------------------------------------- */

/* Remove the theme's page padding on every breakpoint so the plugin canvas
 * joins the surrounding site chrome without a separate inset band. */
.dbob-page-active .wp-site-blocks > main > .wp-block-group.alignfull {
  padding-block: 0 !important;
}

/* The shell now owns one uninterrupted surface. Inner containers still cap
 * readable content width, but the visible background spans the viewport. */
.dbob-shell.dbob-page {
  padding-block: 0;
  background:
    radial-gradient(circle at 50% 2%, rgba(116, 62, 137, 0.18), transparent 42rem),
    radial-gradient(circle at 88% 58%, rgba(242, 193, 78, 0.055), transparent 36rem),
    linear-gradient(180deg, #281433 0%, #1f1029 42%, #190c22 100%);
}

.dbob-frame {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dbob-frame::before {
  display: none;
}

/* Preserve section spacing and content hierarchy while removing the panels,
 * seams and rounded islands that previously split the page visually. */
.dbob-frame > .dbob-hero,
.dbob-frame > .dbob-main > .dbob-collection,
.dbob-frame > .dbob-main > .dbob-story,
.dbob-frame > .dbob-main > .dbob-cta {
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dbob-frame > .dbob-hero::after {
  background: transparent;
}

.dbob-frame .dbob-cta__card {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* -------------------------------------------------------------------------
 * 2.0.6 — seamless site transition and consistent content geometry
 * ---------------------------------------------------------------------- */

/* Match the first pixel of the beer canvas to the theme header and override
 * the physical inline padding that WordPress writes onto the page wrapper. */
body.dbob-page-active {
  background: #1b0d2d;
}

body.dbob-page-active .wp-site-blocks > main#wp--skip-link--target.wp-block-group > .wp-block-group.alignfull {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.dbob-shell.dbob-page {
  /* The theme's fixed body gradient remains visible through this transparent
   * canvas, so the header and beer experience are literally one surface. */
  background: transparent;
}

/* Stretch every grid item to the tallest card in its row. Both desktop rows
 * share the same tallest natural content height, so all six cards align. */
.dbob-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.dbob-card,
.dbob-card__trigger {
  height: 100%;
}

.dbob-card__trigger {
  display: flex;
  flex-direction: column;
}

.dbob-card__content {
  flex: 1 1 auto;
}

/* The dialog title receives programmatic focus for screen-reader context. It
 * is not an interactive control, so it should not render a focus rectangle. */
.dbob-detail__intro h3[tabindex="-1"]:focus,
.dbob-detail__intro h3[tabindex="-1"]:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* Give the best-moment label the site's clean UI face instead of the display
 * serif used by beer names and editorial headings. */
.dbob-shell .dbob-detail__experience-card--moment h4 {
  font-family: Manrope, Arial, "Helvetica Neue", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (min-width: 1100px) {
  .dbob-hero__copy h1 {
    max-width: 15ch;
    font-size: clamp(2.75rem, 3.5vw, 4rem);
    line-height: 1.06;
  }
}

@media (max-width: 620px) {
  /* On phones the shared page colour becomes the gutter, while the retained
   * Huế-purple canvas is clipped by one softly rounded outer frame. */
  .dbob-shell.dbob-page {
    padding-block: 8px 12px;
    background: #1b0d2d;
  }

  .dbob-frame {
    width: min(calc(100% - 16px), var(--dbob-content-width, 1180px));
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(242, 193, 78, 0.16);
    border-radius: 20px;
    background:
      radial-gradient(circle at 50% 2%, rgba(116, 62, 137, 0.18), transparent 34rem),
      linear-gradient(180deg, #281433 0%, #1f1029 48%, #190c22 100%);
    box-shadow: 0 18px 44px rgba(5, 2, 8, 0.28);
  }
}

/* -------------------------------------------------------------------------
 * 2.0.7 — tighter vertical rhythm and a seamless mobile canvas
 * ---------------------------------------------------------------------- */

.dbob-shell.dbob-page {
  padding-block: 0;
  background: transparent;
}

.dbob-frame {
  --dbob-section-space: clamp(44px, 4vw, 58px);
  --dbob-section-space-compact: clamp(32px, 3vw, 44px);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dbob-frame > .dbob-hero {
  min-height: clamp(460px, 50vh, 540px);
  padding-block: var(--dbob-section-space);
}

.dbob-frame > .dbob-main > .dbob-collection,
.dbob-frame > .dbob-main > .dbob-story {
  padding-block: var(--dbob-section-space);
}

.dbob-frame > .dbob-main > .dbob-cta {
  padding-block: var(--dbob-section-space-compact);
}

/* The CTA previously carried outer section padding plus a second vertical
 * pad on its transparent inner card. Keep only the outer rhythm. */
.dbob-frame .dbob-cta__card {
  padding-block: 0;
  row-gap: clamp(22px, 2.5vw, 32px);
  column-gap: clamp(32px, 5vw, 64px);
}

.dbob-frame .dbob-section-heading {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.dbob-frame .dbob-story__inner {
  gap: clamp(28px, 3.5vw, 56px);
}

/* Preserve the warm gold editorial tone approved for every major section
 * heading, regardless of later theme heading-colour changes. */
.dbob-frame .dbob-hero__copy h1,
.dbob-frame .dbob-section-heading h2,
.dbob-frame .dbob-story__lead h2,
.dbob-frame .dbob-cta__card h2 {
  color: #d8aa52 !important;
}

/* The old sticky top offset pushed the story heading down by 120px even before
 * scrolling. Align it with the pillar column to remove that artificial gap. */
.dbob-frame .dbob-story__lead {
  position: static;
  top: auto;
}

@media (max-width: 799px) {
  .dbob-frame > .dbob-hero {
    min-height: auto;
    padding-block: 42px 46px;
  }

  .dbob-frame > .dbob-main > .dbob-collection,
  .dbob-frame > .dbob-main > .dbob-story {
    padding-block: 42px;
  }

  .dbob-frame > .dbob-main > .dbob-cta {
    padding-block: 34px 40px;
  }

  .dbob-frame .dbob-section-heading {
    margin-bottom: 28px;
  }

  .dbob-frame .dbob-hero__inner {
    gap: 26px;
  }

  .dbob-frame .dbob-story__inner {
    gap: 28px;
  }

  .dbob-frame .dbob-hero__actions {
    margin-top: 26px;
  }

  .dbob-frame .dbob-cta__card {
    row-gap: 22px;
  }

  .dbob-frame .dbob-story__lead > p:last-child,
  .dbob-frame .dbob-cta__card > div:first-child > p:last-child {
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  /* Cancel the v2.0.6 inset treatment: mobile now uses the same uninterrupted
   * theme surface and edge-to-edge frame as desktop. */
  .dbob-shell.dbob-page {
    padding-block: 0;
    background: transparent;
  }

  .dbob-frame {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* 2.0.9 — make the complete desktop dossier copy a single reliable scroll area. */
.dbob-detail__scroll {
  min-width: 0;
}

@media (min-width: 1100px) {
  .dbob-detail__content {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .dbob-detail__scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }

  .dbob-detail__body {
    min-height: auto;
    overflow: visible;
  }

  .dbob-detail__actions {
    position: relative;
  }
}
