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

  :root {
    --teal:        #1a6b7c;
    --teal-dark:   #0f4a57;
    --teal-deep:   #082830;
    --teal-mid:    #1e7d90;
    --teal-light:  #3ab5cc;
    --teal-pale:   #a8dce8;
    --white:       #f0f9fb;
    --muted:       #7ec8d4;
    --muted-dark:  #3a8fa0;
    --faint:       rgba(126,200,212,0.45);
  }

  body {
    background: var(--teal-deep);
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    cursor: auto;
  }

  /* ── Slides ── */
  #slideshow {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
  }

  .slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  .slide.active {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Background photo layers ── */
  .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    z-index: 0;
  }
  .slide.active .slide-bg { transform: scale(1); }

  /* Deep teal gradient over the photo — ensures legibility everywhere */
  .slide-overlay {
    position: absolute;
    inset: 0;
    /* strong centre-bottom vignette + teal wash */
    background:
      radial-gradient(ellipse at 50% 60%, rgba(8,40,48,0.0) 0%, rgba(8,40,48,0.72) 70%),
      linear-gradient(175deg, rgba(8,40,48,0.68) 0%, rgba(15,74,87,0.42) 45%, rgba(8,40,48,0.78) 100%);
    z-index: 1;
  }

  /* Subtle grid texture on top of everything */
  .slide-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(58,181,204,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(58,181,204,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: 2;
    pointer-events: none;
  }

  /* Content sits above all bg layers */
  .slide-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    max-width: 900px;
    width: 100%;
  }

  /* ── Reveal animations ── */
  .slide .line { overflow: hidden; }
  .slide .reveal {
    display: block;
    transform: translateY(100%);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .slide.active .reveal { transform: translateY(0); }
  .slide.active .reveal:nth-child(1) { transition-delay: 0.1s; }
  .slide.active .reveal:nth-child(2) { transition-delay: 0.22s; }
  .slide.active .reveal:nth-child(3) { transition-delay: 0.34s; }

  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .slide.active .fade-up { opacity: 1; transform: translateY(0); }
  .slide.active .fade-up:nth-child(1) { transition-delay: 0.30s; }
  .slide.active .fade-up:nth-child(2) { transition-delay: 0.45s; }
  .slide.active .fade-up:nth-child(3) { transition-delay: 0.60s; }
  .slide.active .fade-up:nth-child(4) { transition-delay: 0.75s; }
  .slide.active .fade-up:nth-child(5) { transition-delay: 0.90s; }
  .slide.active .fade-up:nth-child(6) { transition-delay: 1.05s; }

  /* Teal divider line */
  .teal-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
    transition: width 1s ease 0.4s;
    margin: 22px auto;
  }
  .slide.active .teal-line { width: 300px; }

  /* ── Typography ── */
  .eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 18px;
  }

  .display-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.06;
    text-align: center;
    /* subtle text shadow so it pops off any bright photo area */
    text-shadow: 0 2px 32px rgba(8,40,48,0.8);
  }
  .display-title em {
    font-style: italic;
    color: var(--teal-pale);
  }

  .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 300;
    color: var(--muted);
    text-align: center;
    line-height: 1.55;
    max-width: 600px;
    font-style: italic;
  }

  .body-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--faint);
    text-align: center;
    line-height: 1.75;
    max-width: 580px;
  }

  /* ── Cards ── */
  .card-grid {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 800px;
  }
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

  .card {
    background: rgba(26,107,124,0.22);
    border: 1px solid rgba(58,181,204,0.18);
    border-radius: 2px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 0;
    background: var(--teal-light);
    transition: height 0.5s ease;
  }
  .slide.active .card::before               { height: 100%; }
  .slide.active .card:nth-child(1)::before  { transition-delay: 0.40s; }
  .slide.active .card:nth-child(2)::before  { transition-delay: 0.55s; }
  .slide.active .card:nth-child(3)::before  { transition-delay: 0.70s; }
  .slide.active .card:nth-child(4)::before  { transition-delay: 0.85s; }

  .card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 7px;
  }
  .card-body {
    font-size: 13px;
    color: var(--faint);
    line-height: 1.6;
    font-weight: 300;
  }

  /* ── Stat blocks ── */
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--teal-pale);
    line-height: 1;
    text-shadow: 0 2px 20px rgba(8,40,48,0.6);
  }
  .stat-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 5px;
  }

  /* ── Price badges ── */
  .price-badge {
    display: inline-block;
    background: rgba(26,107,124,0.25);
    border: 1px solid rgba(58,181,204,0.25);
    border-radius: 2px;
    padding: 14px 28px;
    text-align: center;
  }
  .price-badge .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 300;
    color: var(--teal-pale);
    line-height: 1;
  }
  .price-badge .unit {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ── Styled list ── */
  .styled-list {
    list-style: none;
    text-align: left;
    max-width: 540px;
    width: 100%;
  }
  .styled-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid rgba(58,181,204,0.1);
    font-size: 14px;
    color: var(--faint);
    font-weight: 300;
    line-height: 1.55;
  }
  .styled-list li::before {
    content: '◆';
    color: var(--teal-light);
    font-size: 7px;
    margin-top: 5px;
    flex-shrink: 0;
  }

  /* ── CTA button ── */
  .cta-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--teal-light);
    color: var(--teal-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
  }
  .cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--teal-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .cta-btn:hover::before { transform: scaleX(1); }
  .cta-btn:hover { color: var(--teal-deep); }
  .cta-btn span { position: relative; z-index: 1; }

  /* Ornament */
  .ornament {
    display: flex; align-items: center; gap: 12px; margin: 20px 0;
  }
  .ornament-line {
    flex: 1; height: 1px; max-width: 120px;
    background: linear-gradient(90deg, transparent, rgba(58,181,204,0.22));
  }
  .ornament-line.right { background: linear-gradient(90deg, rgba(58,181,204,0.22), transparent); }
  .ornament-diamond { width: 5px; height: 5px; background: var(--teal-light); transform: rotate(45deg); }

  /* ── Chrome UI ── */
  #progress-bar {
    position: absolute; bottom: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    z-index: 100;
    transition: width 0.3s linear;
    box-shadow: 0 0 8px rgba(58,181,204,0.5);
  }
  #counter {
    position: absolute; bottom: 32px; right: 40px;
    font-size: 10px; letter-spacing: 0.2em;
    color: rgba(126,200,212,0.38); z-index: 100;
  }
  #nav-dots {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 100;
  }
  .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(58,181,204,0.28);
    cursor: pointer; transition: background 0.3s, transform 0.3s;
  }
  .dot.active { background: var(--teal-light); transform: scale(1.5); }

  #controls {
    position: absolute; top: 28px; right: 36px;
    display: flex; gap: 10px; z-index: 100;
  }
  .ctrl-btn {
    background: rgba(26,107,124,0.3);
    border: 1px solid rgba(58,181,204,0.2);
    color: var(--muted); font-size: 17px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; border-radius: 2px;
  }
  .ctrl-btn:hover { background: rgba(58,181,204,0.2); color: var(--white); }

  #logo {
    position: absolute; top: 24px; left: 32px; z-index: 100;
    display: flex; align-items: center; gap: 10px;
  }
  .logo-mark {
    width: 34px; height: 34px; border-radius: 3px;
    background: white; padding: 2px; object-fit: contain;
  }
  .logo-stack { display: flex; flex-direction: column; }
  .logo-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    color: rgba(168,220,232,0.85);
    letter-spacing: 0.14em; text-transform: uppercase;
    line-height: 1.2;
  }
  .logo-sub {
    font-size: 9px; font-weight: 300;
    color: rgba(126,200,212,0.5);
    letter-spacing: 0.2em; text-transform: uppercase;
  }

  .timer-ring {
    position: absolute; bottom: 24px; left: 38px; z-index: 100;
  }
  .timer-ring svg { transform: rotate(-90deg); }
  .timer-ring circle { fill: none; stroke-width: 1.5; }
  .timer-ring .tr-bg  { stroke: rgba(58,181,204,0.15); }
  .timer-ring .tr-fill {
    stroke: var(--teal-light);
    stroke-dasharray: 56.5; stroke-dashoffset: 56.5;
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
  }

/* ---- WordPress / Elementor optimized additions ---- */
html, body { margin: 0; min-height: 100%; }
body { overflow: hidden; }
.bb-presentation {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--teal-deep);
}
.slide-bg {
  background-color: var(--teal-dark);
  opacity: .82;
  will-change: opacity;
}
.slide:not(.active) .slide-bg { background-image: none !important; }
.slide-overlay {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(8,40,48,0.12) 0%, rgba(8,40,48,0.82) 72%),
    linear-gradient(175deg, rgba(8,40,48,0.78) 0%, rgba(15,74,87,0.56) 45%, rgba(8,40,48,0.88) 100%);
}
.card,
.price-badge,
.ctrl-btn {
  background-color: rgba(26,107,124,0.36);
}
.ctrl-btn:focus-visible,
.dot:focus-visible,
.cta-btn:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .bb-presentation { min-height: 720px; }
  .slide { padding: 90px 24px 86px; }
  .display-title { font-size: clamp(36px, 11vw, 60px); }
  .card-grid.cols-2,
  .card-grid.cols-3 { grid-template-columns: 1fr; max-width: 560px !important; }
  .slide-inner > div[style*="display:flex"] { flex-wrap: wrap; gap: 22px !important; justify-content: center; }
  #logo { top: 18px; left: 18px; }
  #controls { top: 18px; right: 18px; }
  #counter { right: 22px; bottom: 24px; }
  .timer-ring { left: 22px; bottom: 18px; }
}
@media (max-width: 520px) {
  .bb-presentation { min-height: 760px; }
  .slide { padding: 90px 18px 96px; }
  .eyebrow { letter-spacing: .24em; font-size: 10px; }
  .teal-line { max-width: 220px; }
  .subtitle { font-size: 18px; }
  .stat-num { font-size: 42px; }
  .price-badge .num { font-size: 42px; }
  .cta-btn { width: 100%; max-width: 300px; padding-inline: 20px; }
  .logo-sub { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
