/* Dabbelt Digital flagship: shared brand system (both versions). */
:root {
  /* Palette 1, copper forest (default). Names are roles: --forest = base, --espresso = warm surface, --champagne = action color. */
  --forest: #0D1813; --forest-2: #13221B; --forest-3: #1A2D24;
  --espresso: #2B1F18; --espresso-2: #21170F;
  --ivory: #F4EEE3; --ivory-2: #D2CBBD; --ivory-3: #A9A293;
  --champagne: #D58B58; --champagne-hi: #E6A578; --on-accent: #170E07;
  --line: rgba(244, 238, 227, .13); --line-2: rgba(244, 238, 227, .26);
  --display: "Unbounded", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 72px);
  --wrap: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
/* Palette 2, espresso & copper: same roles, warmer base */
:root[data-palette="2"] {
  --forest: #1A130F; --forest-2: #21180F; --forest-3: #2A1F17;
  --espresso: #163126; --espresso-2: #10261D;
  --ivory: #F2E9DB; --ivory-2: #D6CAB7; --ivory-3: #ADA08C;
  --line: rgba(205, 179, 138, .2); --line-2: rgba(205, 179, 138, .36);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--forest); color: var(--ivory); font: 400 1.125rem/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Film grain: one static texture over everything, never animated */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url(../grain.png); background-size: 160px; }
a { color: inherit; }
/* Below-the-fold sections skip rendering until they come near the viewport */
.lazy { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--champagne); color: var(--on-accent); padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }

/* Type */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h2.display { font-size: clamp(2.5rem, 5.4vw, 5.25rem); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--ivory-2); max-width: 46ch; text-wrap: pretty; }
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--champagne); }
.fine { font-size: 0.9062rem; color: var(--ivory-3); }
.concept-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8438rem; color: var(--ivory-2); }
.concept-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--champagne); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 8px; font: 650 1.0312rem/1 var(--text); letter-spacing: 0; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--champagne); color: var(--on-accent); }
.btn-call:hover { background: var(--champagne-hi); }
.btn-call svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--champagne-hi); }
.link { color: var(--champagne); text-underline-offset: 3px; }
.link:hover { color: var(--champagne-hi); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; padding: 0 var(--pad); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(16, 28, 23, .9); backdrop-filter: blur(14px); border-color: var(--line); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; }
.mark i { width: 22px; height: 22px; border-radius: 6px; background: var(--champagne); position: relative; }
.mark i::after { content: ""; position: absolute; inset: 6px 5px 6px 9px; border-radius: 0 6px 6px 0; background: var(--forest); }
.mark span { color: var(--ivory-3); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 30px; list-style: none; font-size: 0.9688rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--ivory-2); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ivory); }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: 0.9375rem; }
.menu-btn { display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--ivory); font: 600 1rem var(--text); cursor: pointer; }

/* Device frames, re-skinned for the dark stage */
.browser { background: #0B1411; border-radius: 12px; box-shadow: 0 0 0 1px rgba(240,232,217,.1), 0 60px 120px -40px rgba(0,0,0,.8); }
.browser .bar { background: #1A2620; border-bottom: 1px solid rgba(240,232,217,.08); height: 28px; }
.browser .bar i { background: #3A4A41; }
.browser .url { font: 500 0.6875rem/1.125rem var(--text); color: #A9B4AD; background: #0F1915; }
.phone { background: #0B1411; box-shadow: 0 0 0 1px rgba(240,232,217,.14), 0 50px 90px -30px rgba(0,0,0,.85); }
.phone .screen::before { background: #0B1411; }
/* Soft stage light under the work: a pool of light, not a glow around it */
.stage-light { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,167,125,.20), rgba(196,167,125,0)); }

/* Demo widgets (scoped to .dd-demo so they never reach the fictional sites) */
.dd-demo { position: relative; background: var(--ivory); color: #1E2A24; border-radius: 10px; padding: 18px; font: 500 0.9375rem/1.4 var(--text); }
.dd-demo b { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.dd-demo .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-demo button { min-height: 44px; padding: 8px 14px; border-radius: 6px; border: 1px solid #C9BFAE; background: #fff; color: #1E2A24; font: 600 0.9062rem var(--text); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.dd-demo button[aria-pressed="true"] { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.dd-demo .days, .dd-demo .times { display: grid; gap: 6px; }
.dd-demo .days { grid-template-columns: repeat(5, 1fr); }
.dd-demo .times { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.dd-demo .days button { display: grid; padding: 6px 0; font-size: 0.8125rem; }
.dd-demo .days button span { font-size: 1.125rem; }
.dd-demo .sum, .dd-demo .pick { display: block; margin-top: 10px; font-size: 0.875rem; color: #4D5A52; }
.dd-demo .note { display: block; margin-top: 8px; font-size: 0.7812rem; color: #5E665F; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; --x: 50%; touch-action: pan-y; }
.ba svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.ba .line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba .line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101C17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba input:focus-visible ~ .line::after { outline: 2px solid var(--champagne); outline-offset: 2px; }
.ba .lb { position: absolute; top: 10px; padding: 3px 9px; border-radius: 3px; background: rgba(16,28,23,.78); color: var(--ivory); font-size: 0.7812rem; font-weight: 600; pointer-events: none; }
.ba .lb.l { left: 10px; } .ba .lb.r { right: 10px; }
.toast { position: absolute; left: 50%; top: 12px; z-index: 6; transform: translate(-50%, -8px); opacity: 0; padding: 8px 14px; border-radius: 4px; background: var(--forest); color: var(--ivory); font-size: 0.875rem; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Booking form */
.book-form { display: grid; gap: 16px; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 0.9375rem; font-weight: 600; color: var(--ivory); }
.field em { font-style: normal; font-weight: 400; color: var(--ivory-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 4px; border: 1px solid var(--line-2); background: rgba(8, 15, 12, .55); color: var(--ivory); font: 400 1.0625rem var(--text); transition: border-color .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4A77D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--forest); color: var(--ivory); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8E978F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(196,167,125,.25); }
.hp { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
#status { min-height: 1.4em; font-size: 0.9688rem; }
#status[data-state="ok"] { color: var(--champagne-hi); font-weight: 600; }
#status[data-state="err"] { color: #F2A38F; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 22px; color: var(--ivory-2); max-width: 70ch; }
.faq details > div p + p { margin-top: 10px; }

footer.foot { border-top: 1px solid var(--line); padding: 28px var(--pad) 40px; font-size: 0.875rem; color: var(--ivory-3); }
footer.foot .wrap { display: grid; gap: 12px; }
footer.foot .l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--pad) 20px; background: rgba(16,28,23,.98); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; padding: 15px 0; font-size: 1.125rem; color: var(--ivory); }
  .nav li:last-child { border: 0; padding-top: 16px; }
  .nav .btn { width: 100%; min-height: 52px; font-size: 1.0312rem; }
  .top { background: rgba(16, 28, 23, .92); backdrop-filter: blur(14px); border-color: var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .book-form .row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}
@media (max-width: 380px) {
  .top { gap: 10px; }
  .mark { font-size: 0.9062rem; gap: 8px; }
  .mark i { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
