/* DIY Bar at Bugis Street (diy-bar.html). Page-only styles, every class db-*;
   the nav, promo bar, FAQ and footer come from src/style.css. This file lives
   in public/ because the build points every page back at /src/style.css and
   would drop a second stylesheet kept in src/.
   The page is complete and still without public/js/diy-bar.js. States that
   hide something until it is revealed sit under html.db-anim, which that
   script sets (and never sets for reduced motion). */

.db-hero, .db-facts, .db-main, .db-scents, .db-vs, .db-visit, .db-close {
  --db-deep: #2b3a38;
  --db-label: #56716e;
  --db-rule: hsl(36, 18%, 84%);
  --db-r: 6px;
  --db-pad: clamp(64px, 8.5vw, 116px);
}

/* --- Shared type --- */
.db-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--db-label);
  margin: 0 0 14px;
}
.db-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.db-title em, .db-card__title em, .db-close__title em { font-style: italic; color: inherit; }
.db-intro { font-size: 17px; line-height: 1.7; color: var(--ink-light); max-width: 50ch; margin: 18px 0 0; }
.db-head { text-align: center; padding: var(--db-pad) 0 clamp(32px, 4vw, 56px); scroll-margin-top: 64px; }
.db-head .db-intro { margin-left: auto; margin-right: auto; }
.db-head--left { text-align: left; padding: 0 0 clamp(28px, 3.5vw, 44px); }
.db-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s var(--ease);
}
.db-textlink span { transition: transform 0.25s var(--ease); }
.db-textlink:hover { text-decoration-color: var(--ink); }
.db-textlink:hover span { transform: translateX(4px); }
.btn.db-btn-quiet { color: var(--ink); border-color: hsl(36, 14%, 70%); }
.btn.db-btn-quiet:hover { background: hsla(36, 20%, 50%, 0.08); border-color: var(--ink); }
.db-hero .btn, .db-close .btn, .db-vs .btn { position: relative; overflow: hidden; }
.db-hero .btn:active, .db-close .btn:active, .db-vs .btn:active { transform: scale(0.97); transition-duration: 0.08s; }

/* ============================================
   HERO
   ============================================ */
.db-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 104px 0 96px;
}
.db-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; width: 100%; }
.db-hero__label { display: inline-flex; align-items: center; gap: 10px; }
.db-hero__label::before, .db-seal__core::before, .db-close__rail i {
  content: '';
  flex: none;
  width: 9px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  background: radial-gradient(ellipse at 50% 80%, #fff7dc 0 20%, #f6c96f 46%, #ea973d 100%);
  box-shadow: 0 0 12px 3px hsla(36, 92%, 62%, 0.5);
  transform-origin: 50% 100%;
  animation: db-flicker 2.8s ease-in-out infinite;
}
@keyframes db-flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); opacity: 1; }
  21% { transform: scale(0.93, 1.09) rotate(3deg); opacity: 0.9; }
  44% { transform: scale(1.06, 0.95) rotate(-1deg); opacity: 1; }
  63% { transform: scale(0.96, 1.06) rotate(3deg); opacity: 0.84; }
  82% { transform: scale(1.03, 0.98) rotate(-3deg); opacity: 0.96; }
}
.db-hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.1vw, 92px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 26px;
}
.db-hero__title em { font-style: italic; }
.db-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.1em 0.14em 0; margin: 0 -0.1em -0.14em 0; }
.db-line > * { display: inline-block; animation: db-line-up 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.db-line:last-child > * { animation-delay: 0.3s; }
@keyframes db-line-up { from { transform: translateY(112%); } to { transform: none; } }
@keyframes db-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.db-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 0 14px;
  animation: db-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}
.db-hero__kinds {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-light);
  margin: 0 0 30px;
  animation: db-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}
.db-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: db-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both; }
.db-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  animation: db-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}
.db-status__dot { width: 9px; height: 9px; border-radius: 50%; background: hsl(36, 14%, 62%); }
.db-status.is-open .db-status__dot { background: #3f9a67; box-shadow: 0 0 0 0 hsla(148, 42%, 43%, 0.5); animation: db-pulse 2.2s ease-out infinite; }
@keyframes db-pulse { to { box-shadow: 0 0 0 10px hsla(148, 42%, 43%, 0); } }
.db-status--ink { animation: none; margin: 0 0 18px; }

.db-hero__stage { position: relative; height: min(68vh, 620px); min-height: 420px; }
.db-float { position: absolute; display: block; will-change: transform; }
.db-float img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 26px hsla(30, 30%, 18%, 0.18));
  animation: db-bob var(--bob, 7s) ease-in-out var(--bob-d, 0s) infinite;
}
@keyframes db-bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -18px, 0) rotate(2.2deg); } }
.db-float--jar      { left: 14%; top: 12%; width: 56%; --bob: 8s; }
.db-float--tealight { right: 0;  bottom: 2%; width: 34%; rotate: 5deg; --bob: 6.5s; --bob-d: -3s; }
.db-float--pen-a    { right: 13%; top: -4%; width: 10.5%; rotate: 24deg; --bob: 7.5s; --bob-d: -1.5s; }
.db-float--pen-b    { left: 4%;  top: 20%; width: 5.4%; rotate: -17deg; --bob: 9s; --bob-d: -5s; }
.db-seal {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  color: var(--ink);
  animation: db-seal-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}
@keyframes db-seal-in { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.db-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; rotate: var(--seal-turn, 0deg); animation: db-spin 30s linear infinite; }
@keyframes db-spin { to { transform: rotate(360deg); } }
.db-seal__ring text { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 2px; fill: currentColor; }
.db-seal__core { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px hsla(30, 25%, 20%, 0.1); }
.db-seal__core::before { width: 13px; height: 20px; }

/* --- The underline under the second headline line. Drawn by the pen when the
       script runs; simply there when it does not. --- */
.db-hero__title { position: relative; }
.db-underline { position: absolute; left: 0; bottom: -0.2em; width: min(100%, 6.3em); height: 0.22em; overflow: visible; pointer-events: none; }
.db-underline path { fill: none; stroke: #e79aa9; stroke-width: 5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.db-writer { position: absolute; left: 0; top: 0; z-index: 4; height: auto; pointer-events: none; transform-origin: 50% 100%; filter: drop-shadow(0 16px 14px hsla(30, 30%, 18%, 0.22)); will-change: transform; }

/* --- Entrance (script only): the jar drops and settles, the tealight rolls in,
       the plain pen flips in. The star pen arrives by writing the underline. --- */
html.db-anim .db-float { transform-origin: 50% 100%; cursor: pointer; }
html.db-anim .db-float--jar { animation: db-drop 1.2s cubic-bezier(0.3, 0.7, 0.3, 1) 0.25s both; }
@keyframes db-drop {
  0%   { translate: 0 -130vh; rotate: -16deg; scale: 1 1; }
  50%  { translate: 0 0; rotate: 3deg; scale: 1 1; }
  62%  { translate: 0 0; rotate: 0deg; scale: 1.08 0.89; }
  76%  { scale: 0.97 1.05; }
  89%  { scale: 1.02 0.98; }
  100% { translate: 0 0; rotate: 0deg; scale: 1 1; }
}
html.db-anim .db-float--tealight { animation: db-roll 1.25s cubic-bezier(0.2, 0.8, 0.25, 1) 0.7s both; }
@keyframes db-roll {
  0%   { translate: 70vw 4vh; rotate: 320deg; }
  68%  { translate: -3% 0; rotate: -6deg; }
  84%  { translate: 1% 0; rotate: 9deg; }
  100% { translate: 0 0; rotate: 5deg; }
}
html.db-anim .db-float--pen-b { animation: db-flip 1.15s cubic-bezier(0.2, 0.8, 0.25, 1) 0.9s both; }
@keyframes db-flip {
  0%   { translate: -60vw -30vh; rotate: -280deg; }
  74%  { translate: 2% 1%; rotate: -6deg; }
  100% { translate: 0 0; rotate: -17deg; }
}
html.db-anim .db-float--pen-a { opacity: 0; transition: opacity 0.2s linear; }
html.db-anim .db-float--pen-a.is-here { opacity: 1; }
html.db-anim .db-seal { animation-delay: 2.3s; }

/* ============================================
   FACTS
   ============================================ */
.db-facts { background: var(--white); border-top: 1px solid var(--db-rule); border-bottom: 1px solid var(--db-rule); }
.db-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.db-fact { display: grid; gap: 6px; padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--db-rule); }
.db-fact:first-child { border-left: 0; padding-left: 0; }
.db-fact strong { font-family: var(--font-display); font-size: clamp(26px, 2.9vw, 42px); font-weight: 500; line-height: 1.05; color: var(--ink); }
.db-fact span { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }

/* ============================================
   WHAT YOU CAN MAKE: four cards
   ============================================ */
.db-main { background: var(--cream); padding-bottom: var(--db-pad); }
.db-stack { position: relative; }
.db-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: var(--tint, var(--white));
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 28px;
  scroll-margin-top: 90px;
  border: 1px solid hsla(36, 18%, 60%, 0.22);
}
.db-card--cream { --tint: #ffffff; }
.db-card--sage  { --tint: hsl(174, 16%, 92%); }
.db-card--blush { --tint: hsl(355, 52%, 95%); }
.db-card--gold  { --tint: hsl(38, 48%, 92%); }
.db-card__visual { position: relative; min-height: 340px; overflow: hidden; }
.db-card__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.db-card:hover .db-card__visual > img { transform: scale(1.03); }
.db-card__body { position: relative; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.db-card__num {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  top: clamp(16px, 2.4vw, 30px);
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 500;
  line-height: 1;
  color: hsla(30, 10%, 20%, 0.14);
  margin: 0;
}
.db-card__title { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 64px); font-weight: 500; line-height: 1.02; color: var(--ink); margin: 0 0 16px; }
.db-card__desc { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-light); max-width: 34ch; margin: 0 0 8px; }
.db-card__fact {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--db-label);
  border-top: 1px solid hsla(30, 12%, 30%, 0.16);
  padding-top: 16px;
  margin: 18px 0 6px;
}

/* Wide and tall enough: each card holds near the top and the next slides over it
   (.is-stacked is set by the script, which also eases the covered card back). */
.db-stack.is-stacked .db-card {
  position: sticky;
  top: calc(84px + var(--i) * 16px);
  min-height: min(72vh, 600px);
  margin-bottom: 9vh;
  transform: scale(var(--s, 1));
  transform-origin: 50% 0;
  will-change: transform;
  box-shadow: 0 -18px 50px hsla(30, 25%, 15%, 0.08);
}
.db-stack.is-stacked .db-card::after { content: ''; position: absolute; inset: 0; background: #1c1814; opacity: var(--dim, 0); pointer-events: none; }
.db-stack.is-stacked .db-card:last-child { margin-bottom: 0; }

/* ============================================
   SCENTS: the one dark band, with the picker
   ============================================ */
.db-scents { position: relative; overflow: hidden; isolation: isolate; background: var(--db-deep); color: var(--cream); padding: var(--db-pad) 0; scroll-margin-top: 64px; }
.db-scents::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: var(--gx, 78%);
  top: var(--gy, 40%);
  width: 90vmax;
  height: 90vmax;
  margin: -45vmax 0 0 -45vmax;
  pointer-events: none;
  background: radial-gradient(circle, hsla(36, 88%, 64%, 0.2) 0%, hsla(30, 80%, 52%, 0.09) 26%, hsla(30, 80%, 50%, 0) 58%);
}
.db-scents__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.db-scents .db-label { color: var(--gold); }
.db-scents .db-title { color: var(--cream); }
.db-scents .db-intro { color: hsla(35, 50%, 97%, 0.86); }
.db-scents__also { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid hsla(35, 50%, 97%, 0.2); font-size: 15px; line-height: 1.6; color: hsla(35, 50%, 97%, 0.86); max-width: 44ch; }

.db-picker__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.db-picker__tabs[hidden] { display: none; }
.db-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--cream);
  background: hsla(35, 50%, 97%, 0.08);
  border: 1px solid hsla(35, 50%, 97%, 0.26);
  border-radius: 40px;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.db-chip:hover { background: hsla(35, 50%, 97%, 0.18); }
.db-chip:active { transform: scale(0.96); }
.db-chip[aria-selected="true"] { background: var(--tone, var(--cream)); border-color: transparent; color: #1c1814; }
.db-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.db-picker__panels { display: grid; gap: 14px; }
.db-scent { background: var(--tone, var(--cream)); color: #1c1814; border-radius: 22px; padding: clamp(24px, 3.2vw, 44px); }
.db-scent h3 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 62px); font-weight: 500; font-style: italic; line-height: 1; margin: 0 0 8px; }
.db-scent__tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; background: #1c1814; color: #fff; border-radius: 40px; padding: 6px 12px; margin: 6px 0 4px; }
.db-scent ul { list-style: none; margin: 22px 0 0; padding: 0; }
.db-scent li { border-top: 1px solid hsla(30, 20%, 10%, 0.2); padding: 16px 0 4px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; }
.db-picker__more { margin: 18px 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 1.8vw, 24px); color: hsla(35, 50%, 97%, 0.9); }
/* picker mode: one panel at a time, all in the same cell so the height holds */
.db-picker.is-live .db-picker__panels { display: grid; gap: 0; }
.db-picker.is-live .db-scent { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.985); transition: opacity 0.45s var(--ease), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.45s; }
.db-picker.is-live .db-scent.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.db-picker.is-live .db-scent li { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.db-picker.is-live .db-scent.is-on li { opacity: 1; transform: none; transition-delay: calc(var(--n, 0) * 90ms + 0.16s); }

/* ============================================
   BAR OR WORKSHOP
   ============================================ */
.db-vs { background: var(--cream); padding: var(--db-pad) 0; }
.db-vs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.db-vs__col { background: var(--white); border: 1px solid var(--db-rule); border-radius: 22px; padding: clamp(24px, 3.4vw, 44px); }
.db-vs__col--b { background: hsl(174, 16%, 92%); border-color: transparent; }
.db-vs__col h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; color: var(--ink); margin: 0 0 14px; }
.db-vs__col ul { list-style: none; margin: 0 0 4px; padding: 0; }
.db-vs__col li { border-top: 1px solid hsla(30, 12%, 30%, 0.14); padding: 13px 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.db-vs__note { font-size: 14.5px; line-height: 1.65; color: var(--ink-light); margin: 12px 0 22px; }

/* ============================================
   VISIT
   ============================================ */
.db-visit { background: var(--white); padding: var(--db-pad) 0; scroll-margin-top: 64px; }
.db-visit__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.db-visit .db-title { margin-bottom: 22px; }
.db-visit__address { font-size: 18px; line-height: 1.55; color: var(--ink); margin: 0 0 8px; }
.db-visit__hours { font-size: 15px; color: var(--ink-light); margin: 0 0 16px; }
.db-visit iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: 22px; }

/* ============================================
   CLOSE
   ============================================ */
.db-close { background: var(--cream); border-top: 1px solid var(--db-rule); padding: clamp(36px, 5.5vw, 80px) 0 var(--db-pad); overflow: hidden; }
.db-close__rail {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.6vw, 60px);
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(58px, 11vw, 180px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  transform: translate3d(var(--close-x, 0px), 0, 0) skewX(var(--close-skew, 0deg));
  will-change: transform;
}
.db-close__rail em { font-style: italic; }
.db-close__rail i { width: 0.1em; height: 0.16em; box-shadow: 0 0 0.12em 0.03em hsla(36, 92%, 62%, 0.45); }
.db-close__cta { text-align: center; padding-top: clamp(36px, 5vw, 64px); }
.db-close__title { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.1; color: var(--ink); margin: 0 0 12px; }
.db-close__cta p { font-size: 16px; line-height: 1.7; color: var(--ink-light); max-width: 52ch; margin: 0 auto 26px; }
.db-close__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================
   REVEALS
   ============================================ */
html.db-anim [data-rv="rise"] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.8s var(--ease), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--rv-i, 0) * 80ms); }
html.db-anim [data-rv="rise"].db-in { opacity: 1; transform: none; }
html.db-anim .db-fact[data-rv="rise"] strong { display: block; clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--rv-i, 0) * 90ms + 0.1s); }
html.db-anim .db-fact[data-rv="rise"].db-in strong { clip-path: inset(0 0 -10% 0); transform: none; }

/* ============================================
   NARROWER SCREENS
   ============================================ */
@media (max-width: 1024px) {
  .db-float--jar { left: 8%; width: 62%; }
}
@media (max-width: 900px) {
  .db-hero { min-height: 0; padding: 104px 0 56px; }
  .db-hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .db-hero__stage { order: -1; height: 46vw; min-height: 250px; max-height: 380px; }
  .db-float--jar { left: 24%; top: 0; width: 44%; }
  .db-float--tealight { right: 4%; bottom: 0; width: 27%; }
  .db-float--pen-a { right: 28%; top: -6%; width: 7.5%; }
  .db-float--pen-b { left: 14%; top: 8%; width: 4%; }
  .db-seal { width: 104px; height: 104px; left: 0; bottom: 0; }
  .db-seal__core { width: 44px; height: 44px; }
  .db-facts__grid { grid-template-columns: 1fr 1fr; }
  .db-fact { padding-left: clamp(14px, 3vw, 28px); }
  .db-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .db-fact:nth-child(n+3) { border-top: 1px solid var(--db-rule); }
  .db-card { grid-template-columns: 1fr; border-radius: 22px; }
  .db-card__visual { min-height: 0; aspect-ratio: 4 / 3; }
  .db-scents__grid, .db-vs__grid, .db-visit__grid { grid-template-columns: 1fr; }
  .db-visit iframe { height: 260px; }
}
@media (max-width: 600px) {
  .db-hero { padding-top: 88px; }
  .db-hero__stage { min-height: 196px; height: 196px; }   /* keeps the first button clear of the floating menu pill */
  .db-float--jar { left: 27%; width: 40%; }
  .db-float--pen-b { left: 23%; top: 2%; }
  .db-seal { width: 88px; height: 88px; left: -4px; bottom: -6px; }
  .db-seal__core { width: 38px; height: 38px; }
  .db-hero__title { font-size: clamp(44px, 13vw, 58px); margin-bottom: 18px; }
  .db-hero__actions .btn { flex: 1 1 100%; }
  .db-head { padding-top: 56px; }
  .db-card__body { padding: 26px 22px 28px; }
  .db-card__num { font-size: 40px; top: 18px; right: 20px; }
  .db-chip { padding: 0 14px; font-size: 13px; }
  .db-close__actions .btn, .db-vs .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .db-line > *, .db-hero__sub, .db-hero__actions, .db-status, .db-seal, .db-seal__ring, .db-float img,
  .db-hero__label::before, .db-seal__core::before, .db-close__rail i, .db-status.is-open .db-status__dot { animation: none; }
}

/* ============================================
   HERO SCENE (15/11/2026)
   The finished pieces now stand in front of a picture of the counter itself,
   crowded with trays of toppings. Placed last so it settles the hero's layout
   at every width.
   ============================================ */
.db-hero__grid { grid-template-columns: 6fr 6fr; gap: 24px; }
.db-hero__stage { height: min(76vh, 700px); min-height: 460px; }
.db-hero__scene {
  position: absolute;
  inset: 0 0 0 12%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cream-dark);
  box-shadow: 0 30px 70px hsla(30, 25%, 15%, 0.14);
}
.db-hero__scene img {
  display: block;
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--scene-y, 0) * 1px), 0);
  will-change: transform;
}
html.db-anim .db-hero__scene { animation: db-scene-in 1.25s cubic-bezier(0.65, 0, 0.35, 1) 0.05s both; }
@keyframes db-scene-in { from { clip-path: inset(100% 0 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
html.db-anim .db-hero__scene img { animation: db-scene-zoom 1.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
@keyframes db-scene-zoom { from { scale: 1.2; } to { scale: 1; } }

.db-float--jar      { left: -9%; top: auto; bottom: 3%; width: 50%; }
.db-float--tealight { right: 3%; bottom: -5%; width: 30%; }
.db-float--pen-a    { right: 9%; top: -7%; width: 9.5%; }
.db-float--pen-b    { left: 19%; top: -8%; width: 5%; }
.db-float img { filter: drop-shadow(0 30px 28px hsla(30, 30%, 12%, 0.3)); }
.db-seal { left: auto; right: -5%; top: 34%; bottom: auto; width: 128px; height: 128px; background: var(--white); border-radius: 50%; box-shadow: 0 14px 34px hsla(30, 25%, 15%, 0.18); }
.db-seal__ring { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
.db-seal__core { width: 46px; height: 46px; background: var(--cream); box-shadow: none; }

@media (max-width: 1100px) {
  .db-seal { right: -2%; }
}
@media (max-width: 900px) {
  .db-hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .db-hero__stage { height: 56vw; min-height: 280px; max-height: 420px; }
  .db-hero__scene { inset: 0; border-radius: 22px; }
  @keyframes db-scene-in { from { clip-path: inset(100% 0 0 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
  .db-float--jar      { left: 2%; bottom: -9%; width: 34%; }
  .db-float--tealight { right: 4%; bottom: -10%; width: 22%; }
  .db-float--pen-a    { right: 30%; top: -9%; width: 6.5%; }
  .db-float--pen-b    { display: none; }
  .db-seal { right: 3%; top: 5%; width: 96px; height: 96px; }
  .db-seal__core { width: 34px; height: 34px; }
}
@media (max-width: 600px) {
  .db-hero__stage { height: 50vw; min-height: 188px; }   /* short enough that the first button clears the floating menu pill */
  .db-float--jar { left: 0; width: 36%; }
  .db-float--pen-a { right: 33%; width: 7.5%; }
  .db-seal { width: 84px; height: 84px; right: 2%; top: 4%; left: auto; bottom: auto; }
  .db-seal__core { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .db-hero__scene, .db-hero__scene img { animation: none; }
}
