/* DeLuca Dev store - yellow studio theme on the scroll-craft floor */
:root {
  --sc-canvas: #F2C21B;
  --sc-surface: #F7D04A;
  --sc-ink: #17140C;
  --sc-ink-soft: #4A3F1E;
  --sc-accent: #17140C;
  --sc-accent-ink: #F5C518;
  --sc-font-display: "Archivo", "Inter", system-ui, sans-serif;
  --sc-font-text: "Inter", system-ui, sans-serif;
  --sc-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --bp-ink: #1B2A49;
  --bp-soft: rgba(27, 42, 73, .14);
  --owl-h: clamp(230px, 36vh, 400px);
}

body { background: var(--sc-canvas); color: var(--sc-ink); overflow-x: hidden; }
::selection { background: var(--sc-ink); color: var(--sc-canvas); }

/* ------------------------------------------------------------ the studio -- */
.studio { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #F2C21B; }
.studio i { position: absolute; inset: 0; }
.studio__light {
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(255, 246, 200, .62) 0%, rgba(255, 236, 150, .22) 38%, transparent 64%),
    radial-gradient(140% 120% at 50% 40%, transparent 55%, rgba(150, 92, 0, .28) 100%);
}
/* the cyclorama bend: wall above, floor below, a soft seam between */
.studio .studio__floor {
  top: auto; height: 40vh;
  background:
    linear-gradient(to bottom, rgba(170, 104, 0, 0) 0%, rgba(170, 104, 0, .10) 22%, rgba(255, 232, 140, .16) 52%, rgba(150, 90, 0, .16) 100%);
}
.studio__grain {
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-sc-progress] { background: var(--sc-ink); }

/* ------------------------------------------------------------------- bar -- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--sc-6);
  padding: 14px clamp(16px, 4vw, 48px);
}
.bar__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sc-ink);
  font: 800 1.15rem/1 var(--sc-font-display); letter-spacing: -.02em; }
.bar__mark img { border-radius: 50%; background: var(--sc-ink); }
.bar__nav { display: flex; gap: 4px; margin-left: auto; }
.bar__nav a, .bar__basket {
  color: var(--sc-ink); text-decoration: none; font: 600 .92rem/1 var(--sc-font-text);
  padding: 10px 14px; border-radius: 999px; transition: background-color 160ms, color 160ms;
}
.bar__nav a:hover, .bar__nav a:focus-visible { background: rgba(23, 20, 12, .1); }
.bar__basket { display: flex; align-items: center; gap: 8px; background: var(--sc-ink); color: var(--sc-canvas); }
.bar__count { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px;
  background: var(--sc-canvas); color: var(--sc-ink); font-size: .75rem; }

/* -------------------------------------------------------------- buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font: 700 1rem/1 var(--sc-font-text); text-decoration: none;
  transition: transform 160ms var(--sc-ease-out, ease), background-color 160ms; }
.btn--ink { background: var(--sc-ink); color: #F5C518; box-shadow: 0 10px 24px -12px rgba(60, 36, 0, .55); }
.btn--ink:hover { transform: translateY(-2px); }
.btn--line { color: var(--sc-ink); box-shadow: inset 0 0 0 2px var(--sc-ink); }
.btn--line:hover { background: rgba(23, 20, 12, .08); }
.btn--big { min-height: 60px; padding: 0 34px; font-size: 1.1rem; }
.btn:focus-visible, .cat:focus-visible, a:focus-visible { outline: 3px solid var(--sc-ink); outline-offset: 3px; }

.h2 { font: 900 var(--sc-t-3xl)/var(--sc-leading-none) var(--sc-font-display); letter-spacing: var(--sc-track-tight); margin: 0; }
.eyebrow { font: 500 .78rem/1 var(--sc-font-mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--sc-ink-soft); }

/* ----------------------------------------------------------------- hero -- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  padding: 0 clamp(16px, 6vw, 96px); }
.hero__copy { max-width: 40rem; }
.hero__title { font: 900 var(--sc-t-4xl)/.9 var(--sc-font-display); letter-spacing: -.045em; margin: 0 0 var(--sc-5); }
.hero__lede { font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); max-width: 32rem; margin: 0 0 var(--sc-6); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------- workshop -- */
.shop { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--sc-5); padding-top: clamp(84px, 13vh, 130px); }
.shop__head { padding: 0 clamp(16px, 6vw, 96px); display: flex; align-items: end; justify-content: space-between; gap: var(--sc-6); flex-wrap: wrap; }
.shop__sub { margin: 0; max-width: 26rem; color: var(--sc-ink-soft); }
.rail { gap: clamp(16px, 2vw, 28px); padding: 0 clamp(16px, 6vw, 96px); }
.cat {
  flex: 0 0 clamp(250px, 23vw, 350px); position: relative;
  background: rgba(255, 240, 190, .42); border-radius: 22px; padding: 18px 18px 22px;
  box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .22), 0 24px 40px -30px rgba(90, 55, 0, .6);
}
.cat h3 { font: 800 var(--sc-t-xl)/1.05 var(--sc-font-display); letter-spacing: -.02em; margin: 16px 4px 6px; }
.cat__state { margin: 0 4px; font: 500 .8rem/1 var(--sc-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.cat__state--live { color: var(--sc-ink); }
.cat__state--live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #1F8F3A; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(31, 143, 58, .2); }
.cat__go { position: absolute; inset: 0; border-radius: inherit; font-size: 0; }
.cat:not(.cat--live) .bp { opacity: .78; }

/* ------------------------------------------------------------ blueprint -- */
.bp { display: block; width: 100%; height: auto; border-radius: 14px; background: rgba(255, 248, 220, .55); }
.bp .grid path { stroke: var(--bp-soft); stroke-width: 1; fill: none; }
.bp .ln {
  fill: none; stroke: var(--bp-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: clamp(0, calc(1 - (var(--draw, 0) * 1.9 - var(--d, 0))), 1);
}
.bp .ln--wall { stroke-width: 5; }
.bp .ln--dim { stroke-width: 1.2; stroke-dasharray: 1 1; opacity: .8; }
.bp .lab { font: 500 11px/1 var(--sc-font-mono); letter-spacing: .12em; fill: var(--bp-ink); text-anchor: middle;
  opacity: clamp(0, calc((var(--draw, 0) - .72) * 4), 1); }
.bp .lab--big { font-size: 12px; }

/* --------------------------------------------------------------- casa ---- */
.casa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding: 0 clamp(16px, 5vw, 80px); }
.casa__lede { font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); margin: var(--sc-5) 0 var(--sc-6); max-width: 28rem; }
.plan { position: relative; margin: 0; }
.casa-sec { min-height: 100vh; display: flex; align-items: center; padding: clamp(90px, 12vh, 140px) 0 clamp(60px, 10vh, 120px); }
.casa-sec .casa { width: 100%; padding-right: calc(var(--owl-h) * .5 + 3vw); }
#casa .bp--plan { background: rgba(255, 248, 220, .5); }
.pins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.pins li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
}
.pins li > span {
  display: block; position: relative; opacity: 0; transform: translateY(8px) scale(.92);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2,.9,.3,1.4);
  background: var(--sc-ink); color: #F5C518; font: 600 .82rem/1.1 var(--sc-font-text);
  padding: 9px 13px 9px 26px; border-radius: 999px; white-space: nowrap; cursor: default;
  box-shadow: 0 12px 22px -14px rgba(40, 24, 0, .8);
}
.pins li.on > span { opacity: 1; transform: none; }
.pins li > span::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: #F5C518; }

/* --------------------------------------------------------------- team ---- */
.team { min-height: 100vh; display: flex; align-items: center; padding: clamp(96px, 14vh, 160px) clamp(16px, 6vw, 96px) clamp(200px, 34vh, 320px); }
.team__in { width: 100%; }
.team__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.team__lead p { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); margin: var(--sc-5) 0 0; max-width: 30rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steps li { background: rgba(255, 240, 190, .42); border-radius: 18px; padding: 20px;
  box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .18); }
.steps svg { width: 44px; height: 44px; fill: none; stroke: var(--bp-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font: 800 1.2rem/1.1 var(--sc-font-display); margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--sc-ink-soft); font-size: .95rem; line-height: 1.5; }

/* -------------------------------------------------------------- close ---- */
.close { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sc-6);
  padding: 0 clamp(16px, 8vw, 128px); }
.close__title { font: 900 var(--sc-t-4xl)/.92 var(--sc-font-display); letter-spacing: -.045em; margin: 0; max-width: 11ch; }

.tebex-footer-placeholder { padding: 28px; text-align: center; font: 500 .8rem/1 var(--sc-font-mono); background: var(--sc-ink); color: #F5C518; }

/* ---------------------------------------------------------------- owl ---- */
.owl { position: fixed; right: clamp(4px, 2.5vw, 44px); bottom: 1.2vh; z-index: 25; pointer-events: none;
  width: calc(var(--owl-h) * .642); height: var(--owl-h); will-change: transform; }
.owl__body { position: absolute; inset: 0; transform-origin: 50% 100%; }
.owl__body img, .owl__body video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  object-position: 50% 100%; opacity: 0; transition: opacity 140ms linear; }
.owl__body .on { opacity: 1; }
.owl__shadow { position: absolute; left: 12%; right: 12%; bottom: -4px; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(80, 45, 0, .45), transparent); }
.owl__bubble {
  position: absolute; bottom: 96%; left: 50%; transform: translate(-50%, 6px) scale(.96); opacity: 0;
  background: #fffbea; color: var(--sc-ink); font: 600 .9rem/1.25 var(--sc-font-text);
  padding: 10px 14px; border-radius: 16px; white-space: nowrap; max-width: 260px;
  box-shadow: 0 14px 26px -16px rgba(50, 30, 0, .7), inset 0 0 0 1.5px rgba(23, 20, 12, .14);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .9, .3, 1.3);
}
.owl__bubble::after { content: ""; position: absolute; left: calc(50% + var(--tail, 0px)); bottom: -7px; width: 14px; height: 14px; margin-left: -7px;
  background: #fffbea; transform: rotate(45deg); box-shadow: 1.5px 1.5px 0 rgba(23, 20, 12, .1); }
.owl__bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ------------------------------------------------------------- mobile ---- */
@media (max-width: 860px) {
  :root { --owl-h: clamp(130px, 20vh, 190px); }
  .bar__nav { display: none; }
  .bar__basket { margin-left: auto; }
  .hero { grid-template-columns: 1fr; align-content: start; padding-top: 18vh; }
  .casa { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .casa__lede { margin: 12px 0 16px; }
  .pins li { left: clamp(24%, var(--x), 72%); width: max-content; max-width: 46%; }
  .pins li > span { font-size: .64rem; padding: 6px 9px 6px 18px; white-space: normal; line-height: 1.2; }
  .pins li > span::before { left: 8px; width: 6px; height: 6px; margin-top: -3px; }
  .team__in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .owl__bubble { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bp .ln { stroke-dashoffset: 0; }
  .bp .lab { opacity: 1; }
}

/* -------------------------------------------------------------- quote ---- */
.quote { padding: clamp(96px, 14vh, 160px) clamp(16px, 6vw, 96px); padding-right: calc(var(--owl-h) * .55 + 4vw); }
.quote__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.quote__lead p { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); margin: var(--sc-5) 0 0; max-width: 30rem; }
.quote__how { list-style: none; padding: 0; margin: var(--sc-6) 0 0; display: grid; gap: 12px; }
.quote__how li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.quote__how b { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--sc-ink); color: #F5C518; font: 700 .85rem/1 var(--sc-font-text); }
.quote__discord { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--sc-6); padding: 12px 18px; border-radius: 999px; background: var(--sc-ink); color: #F5C518; font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.quote__discord::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #F5C518; box-shadow: 0 0 0 4px rgba(245,197,24,.25); }
.quote__discord:hover { transform: translateY(-2px); }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: rgba(255, 240, 190, .45); border-radius: 24px; padding: clamp(18px, 2.4vw, 30px);
  box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .2), 0 30px 50px -36px rgba(90, 55, 0, .7); }
.qform__kinds { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qform__kinds legend, .qform__field > span { font: 600 .82rem/1 var(--sc-font-text); margin-bottom: 8px; display: block; }
.qform__kinds legend { width: 100%; }
.qform__kinds label { position: relative; }
.qform__kinds input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qform__kinds span { display: inline-block; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--sc-ink); font: 600 .9rem/1 var(--sc-font-text); transition: background-color 150ms, color 150ms; }
.qform__kinds input:checked + span { background: var(--sc-ink); color: #F5C518; }
.qform__kinds input:focus-visible + span { outline: 3px solid var(--sc-ink); outline-offset: 2px; }
.qform__field { display: block; }
.qform__field--wide { grid-column: 1 / -1; }
.qform__field em, .qform__drop em { font-style: normal; font-weight: 500; color: var(--sc-ink-soft); margin-left: 6px; }
.qform input:not([type=checkbox]):not([type=file]), .qform textarea, .qform select {
  width: 100%; border: 0; border-radius: 14px; padding: 12px 14px; background: rgba(255, 252, 238, .85); color: var(--sc-ink);
  box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .25); font: 500 .98rem/1.4 var(--sc-font-text); resize: vertical; }
.qform input:focus, .qform textarea:focus, .qform select:focus { outline: 3px solid var(--sc-ink); outline-offset: 1px; }
.qform__drop { grid-column: 1 / -1; position: relative; border-radius: 16px; padding: 16px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(27, 42, 73, .05) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .3); }
.qform__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qform__drop label { cursor: pointer; font: 600 .95rem/1.3 var(--sc-font-text); }
.qform__drop input:focus-visible + label { outline: 3px solid var(--sc-ink); outline-offset: 4px; }
.qform__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.qform__thumbs li { position: relative; }
.qform__thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.qform__thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--sc-ink); color: #F5C518; cursor: pointer; line-height: 1; }
.qform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
.qform__send { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.qform__status { margin: 0; font-weight: 600; max-width: 34rem; }
.qform__status.is-err { color: #8A1C00; }
.qform__discord { color: var(--sc-ink); text-decoration: underline; }
@media (max-width: 860px) {
  .quote { padding-right: clamp(16px, 6vw, 96px); padding-bottom: 30vh; }
  .quote__in { grid-template-columns: 1fr; }
  .qform { grid-template-columns: 1fr; }
  .casa-sec .casa { padding-right: clamp(16px, 5vw, 80px); }
}

/* Tebex: the basket is Exo's button (opens its basket pop-up), login / user links sit beside it */
button.bar__basket { border: 0; cursor: pointer; font: inherit; }
.bar__user { display: flex; align-items: center; gap: 10px; }
.bar__login, .bar__who { font-weight: 600; text-decoration: none; color: var(--sc-ink); padding: 8px 12px; border-radius: 999px; }
.bar__login:hover, .bar__who:hover { background: rgba(23, 20, 12, .1); }
@media (max-width: 720px) { .bar__who { display: none; } }

/* Discord link in the bar + the close; Peds category page */
.bar__discord { background: #5865F2; color: #fff !important; }
.bar__discord:hover, .bar__discord:focus-visible { background: #4752c4 !important; }
.close__discord { margin: 14px 0 0; }
.catpage { max-width: 1120px; margin: 0 auto; padding: clamp(110px, 16vh, 160px) 20px 80px; }
.catpage__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.catpage__head .bp { border-radius: 18px; box-shadow: 0 24px 60px rgba(23, 20, 12, .18); }
.catpage__desc { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); max-width: 34rem; }
.catpage__empty { margin-top: 48px; padding: 32px; border-radius: 22px; background: rgba(255, 255, 255, .35); }
.catpage__empty h2 { margin: 0 0 8px; }
.catpage__list { margin-top: 48px; }
@media (max-width: 820px) { .catpage__head { grid-template-columns: 1fr; } }
.kicker { font: 500 12px/1 var(--sc-font-mono); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; color: var(--sc-ink-soft); }
.catpage__empty .h3 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.catpage__empty .btn { margin: 14px 10px 0 0; }

/* ---------------------------------------------- r3: the Owl reacts ------- */
.owl__bubble { white-space: normal; width: max-content; max-width: 240px; text-align: center; }
.owl__hit { position: absolute; left: 22%; right: 22%; top: 4%; bottom: 2%; border: 0; padding: 0; background: none;
  pointer-events: auto; cursor: pointer; border-radius: 40% 40% 20% 20%; }
.owl__hit:focus-visible { outline: 3px solid var(--sc-ink); outline-offset: 4px; }
/* hover glow removed: a filter on the playing alpha videos stalled painting */
.owl--poked .owl__body { animation: owlPoke .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes owlPoke {
  0% { transform: scale(1, 1); }
  18% { transform: scale(1.06, .92) translateX(calc(var(--shake, 3px) * -1)); }
  36% { transform: scale(.96, 1.05) translateX(var(--shake, 3px)); }
  54% { transform: scale(1.02, .98) translateX(calc(var(--shake, 3px) * -.6)); }
  72% { transform: translateX(calc(var(--shake, 3px) * .4)); }
  100% { transform: none; }
}
.owl__bubble.mood-1 { background: #fff1c7; }
.owl__bubble.mood-1::after { background: #fff1c7; }
.owl__bubble.mood-2 { background: #ffb15c; font-weight: 700; }
.owl__bubble.mood-2::after { background: #ffb15c; }
.owl__bubble.mood-3 { background: #e5391f; color: #fff; font-weight: 800; letter-spacing: .02em; }
.owl__bubble.mood-3::after { background: #e5391f; }
.owl__bubble.mood-3.show { animation: owlYell .35s ease-out; }
@keyframes owlYell { 0% { transform: translate(-50%, 0) scale(.7); } 60% { transform: translate(-50%, 0) scale(1.12) rotate(-2deg); } 100% { transform: translate(-50%, 0) scale(1); } }

/* ------------------------------------- r3: everything answers the mouse --- */
.btn, .bar__nav a, .bar__basket, .bar__mark, .cat, .steps li, .qform__kinds label, .pins li > span, .quote__discord {
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s ease, background-color .2s ease, color .2s ease, scale .18s ease; }
.btn:hover, .bar__basket:hover, .quote__discord:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -14px rgba(40, 25, 0, .55); }
.btn:active, .bar__basket:active, .bar__nav a:active, .quote__discord:active, .qform__kinds label:active { scale: .94; }
.bar__nav a { position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.bar__nav a:hover::after { transform: scaleX(1); }
.bar__nav a.bar__discord::after { display: none; }
.bar__mark img { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.bar__mark:hover img { transform: rotate(-12deg) scale(1.12); }
.cat { transform-style: preserve-3d; will-change: transform; }
.cat:hover { box-shadow: 0 30px 50px -26px rgba(40, 25, 0, .6); }
.cat .fx-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 55%); }
.cat:hover .fx-glare { opacity: 1; }
.cat.fx-redraw .bp .ln { animation: fxRedraw 1.1s ease-out both; animation-delay: calc(var(--d, 0) * .8s); }
@keyframes fxRedraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.steps li:hover { transform: translateY(-4px) rotate(-.6deg); }
.pins li > span:hover { transform: scale(1.06); }
.qform__kinds label:hover { transform: translateY(-2px); }
input, textarea, select { transition: box-shadow .2s ease, transform .2s ease; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(23, 20, 12, .85), 0 10px 22px -12px rgba(40, 25, 0, .5); }
/* click burst */
.fx-burst { position: fixed; z-index: 60; pointer-events: none; width: 0; height: 0; }
.fx-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #17140C);
  animation: fxBurst .6s cubic-bezier(.2, .7, .3, 1) forwards; }
.fx-burst b { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #17140C;
  animation: fxRing .5s ease-out forwards; }
@keyframes fxBurst { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }
@keyframes fxRing { to { transform: scale(3.2); opacity: 0; } }
/* the glove cursor (fx.js) - the fingertip is the hot spot */
html.fx-has-glove, html.fx-has-glove * { cursor: none !important; }
html.fx-has-glove input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]),
html.fx-has-glove textarea, html.fx-has-glove select, html.fx-has-glove [contenteditable] { cursor: text !important; }
.fx-glove { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; width: 0; height: 0; opacity: 0; }
.fx-glove.on { opacity: 1; }
.fx-glove.texty { opacity: 0; }
.fx-glove__hand { position: absolute; left: -8px; top: -2px; width: 62px; height: 62px; max-width: none;
  transform-origin: 8px 2px; transform: rotate(0deg); filter: drop-shadow(2px 4px 3px rgba(60, 35, 0, .35));
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); user-select: none; }
.fx-glove.hot .fx-glove__hand { animation: gloveBob .9s ease-in-out infinite; }
@keyframes gloveBob { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-3px); } }
.fx-glove.boop .fx-glove__hand { animation: gloveBoop .42s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes gloveBoop { 0% { transform: rotate(0deg) scale(1); } 30% { transform: rotate(8deg) scale(.8, .7) translateY(3px); } 65% { transform: rotate(-3deg) scale(1.14); } 100% { transform: rotate(0deg) scale(1); } }
.fx-glove__boop { position: absolute; left: 16px; top: -32px; font: 800 13px/1 var(--sc-font-display); letter-spacing: .02em; color: #17140C;
  background: #fffbea; padding: 4px 7px 5px; border-radius: 10px; box-shadow: 0 0 0 2px #17140C; opacity: 0; transform: scale(.4) rotate(-8deg); white-space: nowrap; }
.fx-glove.boop .fx-glove__boop { animation: gloveBoopText .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gloveBoopText { 0% { opacity: 0; transform: translate(0, 6px) scale(.4) rotate(-8deg); } 35% { opacity: 1; transform: translate(4px, -6px) scale(1.1) rotate(-8deg); } 80% { opacity: 1; transform: translate(6px, -10px) scale(1) rotate(-6deg); } 100% { opacity: 0; transform: translate(8px, -16px) scale(.9) rotate(-4deg); } }
@media (hover: none), (prefers-reduced-motion: reduce) { .fx-glove { display: none; } }
@media (prefers-reduced-motion: reduce) { .owl--poked .owl__body, .cat.fx-redraw .bp .ln { animation: none; } }

/* Discord logo on every Discord button */
.bar__discord, .close__discord, .quote__discord, .btn--discord { display: inline-flex; align-items: center; gap: .5em; }
.bar__discord::before, .close__discord::before, .quote__discord::before, .btn--discord::before {
  content: ""; flex: 0 0 auto; width: 1.25em; height: 1.25em; border-radius: 0; box-shadow: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.865-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.1 13.1 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.372-.291a.074.074 0 0 1 .078-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.84 19.84 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.865-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.1 13.1 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.372-.291a.074.074 0 0 1 .078-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.84 19.84 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote__discord::before { width: 1.3em; height: 1.3em; }

/* ------------------------------------- Casa De Luca photo tour + viewer --- */
.tour { max-width: 1240px; margin: clamp(30px, 6vh, 70px) auto 0; padding: 0 20px; }
.tour__kicker { font: 500 .85rem/1.4 var(--sc-font-mono); letter-spacing: .06em; color: var(--sc-ink-soft); margin: 0 0 18px; text-align: center; }
.tour__kicker span { display: inline-block; background: var(--sc-ink); color: #F5C518; padding: 4px 10px; border-radius: 999px; margin-right: 8px; text-transform: uppercase; letter-spacing: .14em; }
.tour__strip { list-style: none; margin: 0; padding: 10px 0 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.snap { flex: 0 0 auto; width: clamp(170px, 17vw, 240px); margin: 0 -6px; transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); z-index: 1; position: relative; }
.snap:nth-child(even) { margin-top: 26px; }
.snap:hover, .snap:focus-within { transform: rotate(0deg) translateY(-14px) scale(1.12); z-index: 5; }
.snap__btn { display: block; width: 100%; padding: 9px 9px 12px; border: 0; background: #fffdf4; border-radius: 4px; text-align: left; font: inherit; color: var(--sc-ink);
  box-shadow: 0 18px 30px -18px rgba(60, 35, 0, .75), 0 2px 0 rgba(0, 0, 0, .06); position: relative; }
.snap__btn::before { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px; transform: rotate(calc(var(--r, 0deg) * -1.6));
  background: rgba(255, 246, 205, .72); box-shadow: 0 1px 2px rgba(60, 35, 0, .18); }
.snap__btn img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; background: #2a2418; filter: saturate(.95) contrast(1.02); transition: filter .3s; }
.snap:hover .snap__btn img { filter: saturate(1.1) contrast(1.06); }
.snap__cap { display: block; margin-top: 9px; font: 800 .95rem/1.1 var(--sc-font-display); letter-spacing: -.01em; }
.snap__cap b { font: 500 .72rem/1 var(--sc-font-mono); color: var(--sc-ink-soft); margin-right: 4px; letter-spacing: .08em; }
@media (max-width: 720px) {
  .tour__strip { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 20px 30px; margin: 0 -20px; gap: 0 14px; }
  .snap { width: 70vw; margin: 0; scroll-snap-align: center; }
  .snap:nth-child(even) { margin-top: 0; }
}
.lightbox { position: fixed; inset: 0; z-index: 2147482000; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px;
  padding: 4vh 2vw; background: rgba(15, 12, 6, .9); opacity: 0; transition: opacity .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox__fig { margin: 0; justify-self: center; max-width: 100%; text-align: center; transform: scale(.94); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.lightbox.open .lightbox__fig { transform: scale(1); }
.lightbox__fig img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 6px solid #fffdf4; }
.lightbox figcaption { margin-top: 14px; color: #fffbea; font: 800 1.2rem/1.2 var(--sc-font-display); }
.lightbox figcaption b { font: 500 .8rem/1 var(--sc-font-mono); color: #F5C518; margin-right: 6px; letter-spacing: .1em; }
.lightbox figcaption em { display: block; margin-top: 6px; font: 400 .95rem/1.4 var(--sc-font-text); font-style: normal; color: rgba(255, 251, 234, .75); }
.lightbox__nav, .lightbox__x { border: 0; background: #F5C518; color: #17140C; width: 52px; height: 52px; border-radius: 50%; font: 700 2rem/1 var(--sc-font-display);
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .2s; }
.lightbox__nav:hover, .lightbox__x:hover { transform: scale(1.1); }
.lightbox__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; font-size: 1.7rem; }
@media (max-width: 720px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: 20px; } .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; } }
/* the tour sits under the casa grid, not beside it */
.casa-sec { flex-direction: column; align-items: stretch; justify-content: center; }
.casa-sec .tour { width: 100%; padding-right: calc(var(--owl-h) * .5 + 3vw); }
@media (max-width: 860px) { .casa-sec .tour { padding-right: 20px; } }

/* photo flights between the polaroids and the viewer (tour.js) */
.tour-flyer { position: fixed; z-index: 2147482500; pointer-events: none; background: #2a2418 center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); outline: 6px solid #fffdf4; outline-offset: -1px; will-change: left, top, width, height, transform; }
.lightbox.flying .lightbox__fig img { visibility: hidden; }
.lightbox__fig { transform: none !important; }
.snap.is-out .snap__btn img, .snap .snap__btn.is-out img { opacity: 0; }
.snap__btn.is-out { background: #f3ecd8; }
.snap__btn.is-out img { opacity: 0; }
.lightbox figcaption { transition: opacity .25s ease .15s; }
.lightbox.flying figcaption { opacity: .0; transition-delay: 0s; }

/* --------------------------------------------- shop (self-hosted, shop.js) --- */
html.shop-locked { overflow: hidden; }
.shop-sheet, .shop-drawer { position: fixed; inset: 0; z-index: 2147481000; background: rgba(15, 12, 6, .62); opacity: 0; transition: opacity .25s ease; }
.shop-sheet.open, .shop-drawer.open { opacity: 1; }
.shop-sheet[hidden], .shop-drawer[hidden] { display: none; }
.shop-sheet__panel { position: absolute; left: 50%; top: 50%; width: min(980px, 94vw); max-height: 88vh; overflow: auto; transform: translate(-50%, -46%) scale(.97);
  background: #F2C21B; border-radius: 26px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.shop-sheet.open .shop-sheet__panel { transform: translate(-50%, -50%) scale(1); }
.shop-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sc-ink); color: #F5C518;
  font: 700 1.6rem/1 var(--sc-font-display); display: grid; place-items: center; z-index: 2; }
.shop-cat { margin-bottom: 22px; padding-right: 50px; }
.shop-desc { line-height: 1.6; color: var(--sc-ink-soft); }
.shop-desc img { max-width: 100%; height: auto; border-radius: 12px; }
.shop-pkgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.shop-pkg__open { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; border: 0; padding: 10px 10px 14px; border-radius: 18px;
  background: rgba(255, 248, 220, .6); box-shadow: inset 0 0 0 1.5px rgba(27, 42, 73, .2); font: inherit; color: var(--sc-ink); transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.shop-pkg__open:hover { transform: translateY(-4px); }
.shop-pkg__open img, .shop-pkg__ph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #2a2418; }
.shop-pkg__name { font: 800 1.1rem/1.15 var(--sc-font-display); padding: 0 4px; }
.shop-pkg__price { font: 500 .85rem/1 var(--sc-font-mono); padding: 0 4px; }
.shop-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.shop-product__img { width: 100%; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(40, 25, 0, .7); }
.shop-product__price { font: 800 1.6rem/1 var(--sc-font-display); margin: 10px 0 18px; }
.shop-product__price small { font: 500 .8rem/1 var(--sc-font-mono); color: var(--sc-ink-soft); }
.shop-add { margin-bottom: 18px; }
.shop-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #F2C21B; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22, 1, .36, 1); box-shadow: -30px 0 70px rgba(0, 0, 0, .35); }
.shop-drawer.open .shop-drawer__panel { transform: none; }
.shop-drawer__panel header { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 8px; }
.shop-drawer__panel header h2 { margin: 0; font: 900 1.8rem/1 var(--sc-font-display); }
.shop-drawer__panel header .shop-x { position: static; }
.shop-drawer__body { flex: 1; overflow: auto; padding: 8px 22px; }
.shop-lines { list-style: none; margin: 0; padding: 0; }
.shop-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1.5px dashed rgba(23, 20, 12, .25); font-weight: 600; }
.shop-rm { border: 0; background: rgba(23, 20, 12, .12); width: 30px; height: 30px; border-radius: 50%; font: 700 1.1rem/1 var(--sc-font-display); }
.shop-empty { color: var(--sc-ink-soft); }
.shop-drawer__panel footer { padding: 16px 22px 26px; border-top: 1.5px solid rgba(23, 20, 12, .15); }
.shop-drawer__total { font: 600 1rem/1 var(--sc-font-text); margin: 0 0 14px; display: flex; justify-content: space-between; }
.shop-drawer__total b { font: 800 1.3rem/1 var(--sc-font-display); }
.shop-checkout { width: 100%; justify-content: center; }
.shop-checkout:disabled { opacity: .45; }
.shop-drawer__note { font-size: .78rem; line-height: 1.45; color: var(--sc-ink-soft); margin: 12px 0 0; }
.bar__count.bump { animation: countBump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes countBump { 40% { transform: scale(1.5); } }
button.cat__go { position: absolute; inset: 0; border: 0; background: none; font-size: 0; border-radius: inherit; }
@media (max-width: 720px) {
  .shop-product { grid-template-columns: 1fr; }
  .shop-sheet__panel { top: auto; bottom: 0; left: 0; width: 100vw; max-height: 90vh; border-radius: 26px 26px 0 0; transform: translateY(40px);
    padding: 26px 18px calc(26px + env(safe-area-inset-bottom)); }
  .shop-sheet.open .shop-sheet__panel { transform: none; }
}

/* site footer (self-hosted) */
.site-foot { background: #17140C; color: #e9dfbf; padding: 34px 20px calc(34px + env(safe-area-inset-bottom)); font: 400 .88rem/1.6 var(--sc-font-text); }
.site-foot__in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-foot a { color: #F5C518; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ===================================================== phones (mobile.js) === */
.m-menu-btn { display: none; }
html.is-phone .bar { padding: calc(10px + env(safe-area-inset-top)) 14px 10px; gap: 10px;
  background: linear-gradient(to bottom, rgba(242, 194, 27, .96) 70%, rgba(242, 194, 27, 0)); }
html.is-phone .bar__mark span { font-size: 1.02rem; }
html.is-phone .m-menu-btn { display: grid; place-content: center; gap: 4px; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(23, 20, 12, .1); position: relative; z-index: 32; }
html.is-phone .m-menu-btn span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--sc-ink); transition: transform .3s ease, opacity .2s; }
html.m-menu-open .m-menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
html.m-menu-open .m-menu-btn span:nth-child(2) { opacity: 0; }
html.m-menu-open .m-menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
html.is-phone .bar__basket { margin-left: 0; position: relative; z-index: 32; }
.m-menu { position: fixed; inset: 0; z-index: 29; background: #F2C21B; display: flex; flex-direction: column; justify-content: center;
  padding: 90px 28px calc(40px + env(safe-area-inset-bottom)); opacity: 0; transition: opacity .25s ease; }
.m-menu.open { opacity: 1; }
.m-menu[hidden] { display: none; }
.m-menu nav { display: flex; flex-direction: column; gap: 6px; }
.m-menu__link { font: 900 clamp(2.2rem, 11vw, 3rem)/1.05 var(--sc-font-display); letter-spacing: -.04em; color: var(--sc-ink); text-decoration: none;
  padding: 6px 0; opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1);
  transition-delay: calc(var(--i, 0) * 60ms + 60ms); }
.m-menu.open .m-menu__link { opacity: 1; transform: none; }
.m-menu__link.bar__discord { align-self: flex-start; font-size: 1.2rem; letter-spacing: 0; padding: 12px 18px; border-radius: 999px; margin-top: 14px; }
.m-menu__hint { margin-top: 28px; font: 500 .82rem/1.4 var(--sc-font-mono); color: var(--sc-ink-soft); }
html.m-menu-open { overflow: hidden; }

/* flowing sections instead of pinned ones */
html.is-phone .m-flat { min-height: 0 !important; height: auto !important; }
html.is-phone #hero.m-flat .hero { min-height: 92svh; padding-top: 96px; padding-bottom: 40px; align-content: center; }
html.is-phone .hero__title { font-size: clamp(2.8rem, 14vw, 4rem); }
html.is-phone #catalogue.m-flat .shop { padding-top: 70px; padding-bottom: 24px; }
html.is-phone #catalogue.m-flat .rail { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 14px 20px 30px; gap: 14px; transform: none !important; scrollbar-width: none; }
html.is-phone #catalogue.m-flat .rail::-webkit-scrollbar { display: none; }
html.is-phone #catalogue.m-flat .cat { flex: 0 0 78vw; scroll-snap-align: center; }
html.is-phone .rail-hint { display: block; padding: 0 20px; font: 500 .78rem/1 var(--sc-font-mono); color: var(--sc-ink-soft); letter-spacing: .06em; }
.rail-hint { display: none; }
html.is-phone #close.m-flat .close { min-height: 70svh; padding: 80px 20px 120px; }
html.is-phone .casa-sec { min-height: 0; padding-top: 80px; }
html.is-phone .team { min-height: 0; padding-bottom: 80px; }
html.is-phone .quote { padding-bottom: 120px; }

/* the Owl on a phone: smaller, ducks while scrolling, bubble anchored to the right edge */
html.is-phone .owl { --owl-h: clamp(120px, 19svh, 165px); right: 4px; bottom: calc(4px + env(safe-area-inset-bottom));
  transition: translate .35s cubic-bezier(.3, 1.3, .5, 1); }
html.is-phone .owl.owl--duck { translate: 0 64%; }
html.is-phone .owl__bubble { left: auto; right: 6px; transform: translateY(6px) scale(.96); max-width: min(240px, 70vw); font-size: .82rem; }
html.is-phone .owl__bubble.show { transform: none; }
html.is-phone .owl__bubble::after { left: auto; right: 34px; margin-left: 0; }
html.is-phone .owl__bubble.mood-3.show { animation: owlYellM .35s ease-out; }
@keyframes owlYellM { 0% { transform: scale(.7); } 60% { transform: scale(1.1) rotate(-2deg); } 100% { transform: none; } }

/* touch feedback: a little "boop!" where you tap something */
.fx-tapboop { position: fixed; z-index: 2147483000; pointer-events: none; font: 800 13px/1 var(--sc-font-display); color: #17140C; background: #fffdf4;
  padding: 4px 8px 5px; border-radius: 10px; box-shadow: 0 0 0 2px #17140C; animation: gloveBoopText .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
