/* ============================================================================
   Throughline — consulting agency site
   Shared chrome, theming (light default / dark), 3D motion. No gradients.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Theme tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-2:        #f3f4f6;
  --surface:     #ffffff;
  --surface-2:   #f7f8fa;
  --ink:         #0a0c10;
  --ink-2:       #424955;
  --ink-3:       #717886;
  --line:        #e4e6ec;
  --line-strong: #cfd3dc;

  /* header is a constant dark anchor bar in both themes (matches dashboard) */
  --header-bg:   #0e1116;
  --header-ink:  #ffffff;
  --header-line: rgba(255,255,255,.10);

  --accent:      #00a3a3;
  --accent-ink:  #ffffff;

  /* pillbox quartet — distinct palette from the dashboard's channel colours */
  --p1: #00a3a3;   /* teal   */
  --p2: #5b54e6;   /* indigo */
  --p3: #e08a1e;   /* amber  */
  --p4: #e0476b;   /* rose   */

  --shadow-1: 0 1px 2px rgba(10,12,16,.05), 0 8px 24px rgba(10,12,16,.07);
  --shadow-2: 0 6px 16px rgba(10,12,16,.10), 0 28px 56px rgba(10,12,16,.16);

  --radius:    14px;
  --radius-lg: 20px;
  --maxw:      1240px;
  --ease:      cubic-bezier(.22,.61,.20,1);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:          #0b0b0d;
  --bg-2:        #121215;
  --surface:     #141418;
  --surface-2:   #1b1c21;
  --ink:         #f4f5f7;
  --ink-2:       #b6bcc8;
  --ink-3:       #828997;
  --line:        #26272e;
  --line-strong: #34363f;

  --accent:      #1ec8c8;

  --p1: #16c4c4;
  --p2: #7b74ff;
  --p3: #f0a23e;
  --p4: #ff6585;

  --shadow-1: 0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.5);
  --shadow-2: 0 8px 22px rgba(0,0,0,.6), 0 36px 72px rgba(0,0,0,.7);

  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Site header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header .wrap {
  height: 66px;
  display: flex; align-items: center; gap: 22px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -.02em;
  color: var(--header-ink);
}
.brand-mark {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  border-radius: 7px;
  font-size: 15px; font-weight: 900;
}
.brand-name { white-space: nowrap; }
.brand-name b { color: var(--accent); }

.nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: 8px;
}
.nav a {
  padding: 7px 13px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.62);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: #fff; background: rgba(0,163,163,.22); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* theme toggle */
.theme-toggle {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  cursor: pointer; color: rgba(255,255,255,.85);
  transition: border-color .16s var(--ease), color .16s var(--ease),
              background .16s var(--ease), transform .16s var(--ease);
}
.theme-toggle:hover { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun  { display: none; }
.theme-toggle .ico-moon { display: block; }
[data-theme="dark"] .theme-toggle .ico-sun  { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-accent {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Section scaffold ─────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); transition: background .3s var(--ease); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.section-sub {
  margin-top: 14px; font-size: 16px; color: var(--ink-2); max-width: 560px;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 78px 0 70px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 70px);
  font-weight: 850; letter-spacing: -.045em; line-height: 1.02;
}
.hero h1 .accent-word { color: var(--accent); }
.hero-sub {
  margin-top: 22px; font-size: 17.5px; line-height: 1.6;
  color: var(--ink-2); max-width: 470px;
}
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* hero pill stack — the 3D pillboxes */
.pill-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  perspective: 1200px;
}

/* ── 3D Pillbox cards ─────────────────────────────────────────────────────── */
.pill3d {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pc, var(--accent));
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
  will-change: transform;
  cursor: pointer;
  overflow: hidden;
}
.pill3d.tilting { transition: box-shadow .2s var(--ease); }
.pill3d:hover { box-shadow: var(--shadow-2); }
.pill3d-inner { transform-style: preserve-3d; }
.pill3d-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pc, var(--accent));
  transform: translateZ(28px);
  display: inline-block;
}
.pill3d-value {
  font-size: 34px; font-weight: 850; letter-spacing: -.04em;
  margin-top: 8px; line-height: 1;
  transform: translateZ(46px);
}
.pill3d-title {
  font-size: 16px; font-weight: 800; letter-spacing: -.02em;
  margin-top: 8px;
  transform: translateZ(38px);
}
.pill3d-desc {
  font-size: 13px; color: var(--ink-3); margin-top: 5px;
  transform: translateZ(22px);
}
.pill3d-cta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--pc, var(--accent));
  margin-top: 14px;
  transform: translateZ(32px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.pill3d:hover .pill3d-cta { opacity: 1; }
/* depth blob */
.pill3d-orb {
  position: absolute; right: -34px; top: -34px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--pc, var(--accent)); opacity: .10;
  transform: translateZ(10px);
  pointer-events: none;
}
[data-theme="dark"] .pill3d-orb { opacity: .16; }

/* idle float so the stack feels alive before interaction */
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
.pill-stack .pill3d:nth-child(1) { animation: floaty 6.5s var(--ease) infinite; }
.pill-stack .pill3d:nth-child(2) { animation: floaty 6.5s var(--ease) .8s infinite; }
.pill-stack .pill3d:nth-child(3) { animation: floaty 6.5s var(--ease) 1.6s infinite; }
.pill-stack .pill3d:nth-child(4) { animation: floaty 6.5s var(--ease) 2.4s infinite; }
.pill-stack .pill3d.tilting { animation: none; }

/* ── Capability / feature cards (3D grid) ─────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  perspective: 1400px;
}
.card3d {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.card3d.tilting { transition: box-shadow .2s var(--ease); }
.card3d:hover { box-shadow: var(--shadow-2); }
.card3d-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--pc, var(--accent)) 14%, transparent);
  color: var(--pc, var(--accent));
  transform: translateZ(40px);
  transition: background .3s var(--ease);
}
.card3d-icon svg { width: 24px; height: 24px; }
.card3d-num {
  position: absolute; top: 20px; right: 22px;
  font-size: 13px; font-weight: 800; color: var(--ink-3);
  transform: translateZ(20px);
}
.card3d h3 {
  font-size: 17px; font-weight: 800; letter-spacing: -.02em;
  margin-top: 18px; transform: translateZ(30px);
}
.card3d p {
  font-size: 13.5px; color: var(--ink-2); margin-top: 7px;
  transform: translateZ(16px);
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .card-grid.cols-3 { grid-template-columns: 1fr; } }

/* ── Live dashboard embed ─────────────────────────────────────────────────── */
.embed-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.embed-bar {
  height: 44px; display: flex; align-items: center; gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.embed-dot { width: 11px; height: 11px; border-radius: 50%; }
.embed-dot:nth-child(1) { background: #e0476b; }
.embed-dot:nth-child(2) { background: #e08a1e; }
.embed-dot:nth-child(3) { background: #00a3a3; }
.embed-label {
  margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--ink-3);
}
.embed-open {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 7px;
  background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 700;
  transition: transform .16s var(--ease);
}
.embed-open:hover { transform: translateY(-1px); }
.embed-frame {
  width: 100%; height: 680px; border: 0; display: block;
  background: var(--bg-2);
}

/* ── Stat strip ───────────────────────────────────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 30px;
}
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.stat-num {
  display: block; line-height: 1;
  font-size: 36px; font-weight: 850; letter-spacing: -.04em;
  color: var(--accent);
}
.stat-label {
  display: block; margin-top: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}

/* ── Process steps ────────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.step-no {
  font-size: 13px; font-weight: 900; letter-spacing: .04em;
  color: var(--accent);
}
.step h3 { font-size: 18px; font-weight: 800; margin-top: 10px; letter-spacing: -.02em; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band { padding: 88px 0; }
.cta-box {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-box h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.12; max-width: 560px;
}
.cta-box .btn-accent { border-color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.footer-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.footer-links a:hover { color: var(--accent); }
.footer-note { font-size: 12.5px; color: var(--ink-3); }

/* ── Compliance page bits ─────────────────────────────────────────────────── */
.lead-line {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600; color: var(--ink); letter-spacing: -.02em;
  max-width: 720px; line-height: 1.45;
}
.lead-line .muted { color: var(--ink-3); }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contrast-list { display: flex; flex-direction: column; gap: 14px; }
.contrast-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.contrast-mark {
  width: 26px; height: 26px; flex: none; border-radius: 7px;
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.contrast-mark.no  { background: rgba(224,71,107,.14); color: #e0476b; }
.contrast-mark.yes { background: rgba(0,163,163,.14); color: var(--accent); }
.contrast-row h4 { font-size: 14.5px; font-weight: 800; }
.contrast-row p  { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.note-card {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px; background: var(--surface-2);
  font-size: 13.5px; color: var(--ink-2);
}
.note-card strong { color: var(--ink); }

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .embed-frame { height: 560px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 48px; }
  .nav a { padding: 6px 9px; font-size: 12.5px; }
  .brand { font-size: 16px; }
  .nav { gap: 0; margin-left: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .pill-stack { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-box { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .embed-frame { height: 600px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .pill-stack { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
      transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   GLOBAL — never let a page scroll sideways or zoom out to fit overflow
   ════════════════════════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }

/* ════════════════════════════════════════════════════════════════════════════
   ROSES — temporary personal touches for Dani.
   Toggle EVERYTHING with ROSES_ENABLED in js/site.js (set it to false).
   ════════════════════════════════════════════════════════════════════════════ */

/* pinkified rose emoji */
.rose { display: inline-block; filter: hue-rotate(320deg) saturate(0.95) brightness(1.2); }

/* every rose decoration disappears the moment roses are switched off */
body:not(.roses-on) .rose-deco { display: none !important; }

@keyframes roseSway {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50%      { transform: translateY(-5px) rotate(9deg); }
}

/* ── Header note beside the Compliance link ─────────────────────────────── */
.nav-note {
  max-width: 246px;
  font-size: 10.5px; line-height: 1.26; font-style: italic; font-weight: 600;
  color: #d6447a; white-space: normal;
}
[data-theme="dark"] .nav-note { color: #ff9cc0; }

/* ── Home: roses around "How we keep you compliant" ─────────────────────── */
.compliant-wrap { position: relative; display: inline-flex; }
.compliant-wrap .rose-deco {
  position: absolute; font-size: 18px; pointer-events: none;
  animation: roseSway 3.4s ease-in-out infinite;
}
.compliant-wrap .rd-tl { top: -13px; left: -10px; }
.compliant-wrap .rd-tr { top: -15px; right: -8px;  animation-delay: .5s; }
.compliant-wrap .rd-l  { top: 50%; left: -19px;  margin-top: -9px; animation-delay: .9s; }
.compliant-wrap .rd-r  { top: 50%; right: -19px; margin-top: -9px; animation-delay: .3s; }
.compliant-wrap .rd-bl { bottom: -13px; left: 8px;   animation-delay: 1.2s; }
.compliant-wrap .rd-br { bottom: -15px; right: -10px; animation-delay: 1.6s; }

/* ── Home pill 4 (Protect / Reviewed to last): bouquet + note ───────────── */
.pill3d .rose-bouquet {
  font-size: 25px; line-height: 1; letter-spacing: -3px;
  margin-top: 10px; transform: translateZ(34px);
}
.pill3d .rose-note {
  display: block; font-size: 12.5px; font-weight: 800;
  color: var(--p4); margin-top: 7px; transform: translateZ(26px);
}
[data-tilt][data-bloom] { cursor: pointer; }

/* ── Blooming-rose transition overlay ───────────────────────────────────── */
.bloom-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center; overflow: hidden;
  background: #ffe1ea; opacity: 0;
}
[data-theme="dark"] .bloom-overlay { background: #3a1320; }
.bloom-overlay.go { animation: bloomBg 1.55s ease forwards; }
@keyframes bloomBg { 0% { opacity: 0; } 14% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.bloom-rose { font-size: 104px; transform-origin: 50% 100%; transform: scale(0); }
.bloom-overlay.go .bloom-rose { animation: bloomGrow 1.2s cubic-bezier(.34,1.25,.4,1) forwards; }
@keyframes bloomGrow {
  0%   { transform: scale(0) translateY(40px) rotate(-16deg); opacity: 0; }
  20%  { opacity: 1; }
  40%  { transform: scaleX(.32) scaleY(.66) translateY(12px) rotate(8deg); opacity: 1; }
  64%  { transform: scale(1.32) translateY(0) rotate(-5deg); }
  80%  { transform: scale(.9) rotate(3deg); }
  100% { transform: scale(1.12) rotate(0); opacity: 1; }
}
.bloom-petal {
  position: absolute; top: 50%; left: 50%;
  font-size: 30px; opacity: 0; will-change: transform;
}
.bloom-overlay.go .bloom-petal { animation: bloomPetal 1.25s ease-out forwards; }
@keyframes bloomPetal {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py))) scale(1); }
}

/* ── Compliance: the "Talk to our legal lead" button, dressed up for Dani ─ */
.dani-cta { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.dani-cta .rose-deco {
  position: absolute; font-size: 19px; pointer-events: none;
  animation: roseSway 3s ease-in-out infinite;
}
.dani-cta .dr1 { top: -16px; left: -12px; }
.dani-cta .dr2 { top: -18px; right: -10px; animation-delay: .5s; }
.dani-cta .dr3 { top: 15px; left: -24px;  animation-delay: 1s; }
.dani-cta .dr4 { top: 15px; right: -24px; animation-delay: .3s; }
.dani-cta .dr5 { bottom: 20px; left: -10px;  animation-delay: 1.3s; }
.dani-cta .dr6 { bottom: 18px; right: -12px; animation-delay: .8s; }
.dani-clickhere {
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #d6447a; animation: clickPulse 1.5s ease-in-out infinite;
}
[data-theme="dark"] .dani-clickhere { color: #ff9cc0; }
@keyframes clickPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.09); }
}
body.roses-on .dani-cta .btn-accent {
  background: #e85b97; border-color: #e85b97; color: #fff;
  box-shadow: 0 8px 24px rgba(232,91,151,.42);
}
body.roses-on .dani-cta .btn-accent:hover { background: #df3f83; border-color: #df3f83; }

/* ── The message-to-Dani modal ──────────────────────────────────────────── */
.dani-modal-overlay {
  position: fixed; inset: 0; z-index: 99998;
  display: grid; place-items: center; padding: 22px;
  background: rgba(36,8,18,.55);
}
.dani-modal-overlay[hidden] { display: none; }
.dani-modal {
  position: relative; width: 100%; max-width: 470px;
  background: #fff5f8; border: 1.5px solid #f3b3ca;
  border-radius: 20px; padding: 32px 28px 26px;
  box-shadow: 0 26px 64px rgba(36,8,18,.42);
  animation: daniPop .42s cubic-bezier(.34,1.3,.4,1) both;
}
[data-theme="dark"] .dani-modal { background: #281520; border-color: #6e3049; }
@keyframes daniPop {
  from { opacity: 0; transform: scale(.84) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.dani-modal-roses { text-align: center; font-size: 27px; letter-spacing: 3px; }
.dani-modal h3 {
  text-align: center; margin: 8px 0 14px;
  font-size: 21px; font-weight: 850; letter-spacing: -.02em; color: #d6447a;
}
[data-theme="dark"] .dani-modal h3 { color: #ff9cc0; }
.dani-message { font-size: 14.5px; line-height: 1.68; color: var(--ink); }
.dani-ps {
  margin-top: 15px; font-size: 13.5px; font-weight: 800; font-style: italic;
  color: #d6447a; text-align: center;
}
[data-theme="dark"] .dani-ps { color: #ff9cc0; }
.dani-modal-close {
  position: absolute; top: 11px; right: 13px;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(214,68,122,.15); color: #d6447a;
  font-size: 19px; line-height: 1; cursor: pointer;
}
.dani-modal-close:hover { background: rgba(214,68,122,.3); }
.dani-modal .rose-corner { position: absolute; font-size: 21px; pointer-events: none; }
.dani-modal .rc-tl { top: -13px; left: -9px;  transform: rotate(-20deg); }
.dani-modal .rc-tr { top: -15px; right: -9px; transform: rotate(20deg); }
.dani-modal .rc-bl { bottom: -13px; left: -9px;  transform: rotate(20deg); }
.dani-modal .rc-br { bottom: -15px; right: -9px; transform: rotate(-20deg); }

/* ── Mobile: header scrolls left/right as one row (no overflow, no zoom) ── */
@media (max-width: 720px) {
  .site-header .wrap {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 14px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .site-header .wrap::-webkit-scrollbar { display: none; }
  .site-header .brand, .site-header .nav, .site-header .header-actions { flex: none; }
  .nav-note { max-width: 210px; font-size: 10px; }
  .compliant-wrap .rose-deco { font-size: 15px; }
  .dani-cta .rose-deco { font-size: 16px; }
  .bloom-rose { font-size: 80px; }
}
