/* Dwell Time Marketing — high-tech dark theme */

:root {
  --bg: #07090d;
  --bg-elev: rgba(16, 22, 30, 0.72);
  --ink: #e8eef4;
  --ink-soft: #8b98a8;
  --line: rgba(244, 247, 250, 0.1);
  --line-strong: rgba(244, 247, 250, 0.18);
  --accent: #3ee0c5;
  --accent-dim: rgba(62, 224, 197, 0.14);
  --accent-deep: #1a8f7c;
  --glow: rgba(62, 224, 197, 0.35);
  --font-sans: Inter, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --header-h: 4.25rem;
  --device-w: 248px;
  --device-h: 410px;
  --device-d: 46px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7ff0dd;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #04110e;
  padding: 0.5rem 0.8rem;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: #04110e;
}

/* Atmosphere */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(62, 224, 197, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(40, 80, 140, 0.18), transparent 50%),
    var(--bg);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 224, 197, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 197, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 72%);
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.95rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 197, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(62, 224, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 197, 0); }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(62, 224, 197, 0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 1.35rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  padding: 4.25rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-top: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #04110e;
  box-shadow: 0 0 24px rgba(62, 224, 197, 0.22);
}

.btn-primary:hover {
  background: #7ff0dd;
  color: #04110e;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 3D device stage */

.hero-stage {
  position: relative;
  min-height: 620px;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: 72%;
  height: 58%;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(62, 224, 197, 0.28), transparent 62%),
    radial-gradient(ellipse at 40% 60%, rgba(70, 110, 200, 0.18), transparent 60%);
  filter: blur(8px);
  animation: glow-breathe 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.floor-grid {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 150%;
  height: 48%;
  transform: translateX(-50%) rotateX(68deg);
  transform-origin: center top;
  background-image:
    linear-gradient(rgba(62, 224, 197, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 197, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 70%);
  pointer-events: none;
}

.device-rig {
  position: relative;
  width: var(--device-w);
  height: var(--device-h);
  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-44deg);
  animation: rig-idle 11s ease-in-out infinite;
  z-index: 2;
}

@keyframes rig-idle {
  0%, 100% { transform: rotateX(14deg) rotateY(-46deg) translateY(0); }
  50% { transform: rotateX(12deg) rotateY(-38deg) translateY(-8px); }
}

.device {
  width: var(--device-w);
  height: var(--device-h);
  position: relative;
  transform-style: preserve-3d;
}

.panel {
  position: absolute;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.panel-front,
.panel-back {
  width: var(--device-w);
  height: var(--device-h);
  left: 0;
  top: 0;
  border-radius: 4px;
  background:
    linear-gradient(165deg, #4a5360 0%, #1c2128 26%, #101318 70%, #0b0d11 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.panel-front {
  transform: translateZ(calc(var(--device-d) / 2));
}

.panel-back {
  transform: rotateY(180deg) translateZ(calc(var(--device-d) / 2));
}

.panel-right,
.panel-left {
  width: var(--device-d);
  height: var(--device-h);
  top: 0;
  left: 50%;
  margin-left: calc(var(--device-d) / -2);
  background: linear-gradient(180deg, #2a3038, #0c0e12);
}

.panel-right {
  transform: rotateY(90deg) translateZ(calc(var(--device-w) / 2));
  background:
    linear-gradient(90deg, #3ee0c5 0 2px, transparent 2px),
    linear-gradient(180deg, #5a6573 0%, #2a313a 18%, #14181d 60%, #0a0c0f 100%);
  box-shadow: inset -8px 0 16px rgba(62, 224, 197, 0.12);
}

.panel-left {
  transform: rotateY(-90deg) translateZ(calc(var(--device-w) / 2));
  background: linear-gradient(180deg, #1b2026, #08090c);
}

.panel-top,
.panel-bottom {
  width: var(--device-w);
  height: var(--device-d);
  left: 0;
  top: 50%;
  margin-top: calc(var(--device-d) / -2);
}

.panel-top {
  transform: rotateX(90deg) translateZ(calc(var(--device-h) / 2));
  background: linear-gradient(90deg, #3a424c, #c5cdd6 48%, #2a3038);
}

.panel-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--device-h) / 2));
  background: #08090c;
}

.bezel {
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: #050608;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 8px 8px 18px;
  border-radius: 6px;
  overflow: hidden;
  background: #04060a;
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(62, 224, 197, 0.12);
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 36%, transparent 60%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
  z-index: 3;
}

.led {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.05rem 0.9rem 1.15rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 1;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.slide[data-slide="0"] {
  background:
    radial-gradient(circle at 70% 20%, rgba(232, 180, 120, 0.28), transparent 42%),
    linear-gradient(180deg, #3a2218 0%, #140c0a 70%);
}

.slide[data-slide="1"] {
  background-image:
    linear-gradient(rgba(62, 224, 197, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 197, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, #102026, #070b10);
  background-size: 22px 22px, 22px 22px, auto;
}

.slide[data-slide="2"] {
  background:
    radial-gradient(circle at 30% 20%, rgba(120, 180, 255, 0.3), transparent 45%),
    linear-gradient(180deg, #17324a 0%, #0a1520 70%);
}

.slide-kicker {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.35rem;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #f7f4ef;
  margin: 0 0 0.3rem;
}

.slide[data-slide="2"] .slide-title {
  font-size: 2.55rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.slide-sub {
  font-size: 0.72rem;
  color: rgba(247, 244, 239, 0.7);
  margin: 0;
}


.slide-art {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.slide-art-brew {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(236, 206, 160, 0.55);
  box-shadow:
    0 0 36px rgba(232, 180, 120, 0.28),
    inset 0 0 18px rgba(236, 206, 160, 0.12);
}

.slide-art-brew::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(236, 206, 160, 0.28);
}

.slide-art-frame {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(62, 224, 197, 0.45);
  box-shadow: 0 0 28px rgba(62, 224, 197, 0.16);
}

.slide-art-frame::before,
.slide-art-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #3ee0c5;
}

.slide-art-frame::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.slide-art-frame::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
}

.slide-art-sun {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6c8, #f0c14b 55%, #d39a20);
  box-shadow: 0 0 40px rgba(240, 196, 80, 0.5);
}

.device-shadow {

  position: absolute;
  left: 50%;
  bottom: -48px;
  width: 240px;
  height: 36px;
  transform: translateX(-50%) rotateX(90deg);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

/* Sections */

.section {
  position: relative;
  z-index: 1;
  padding: 5.25rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose,
.prose-block,
.intro {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.glass-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.45rem 1.4rem 1.55rem;
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.capabilities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.capabilities li {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.capabilities li:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 224, 197, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 28px rgba(62, 224, 197, 0.08);
}

.capabilities p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.partners-card {
  padding: 2.2rem 2rem;
}

.inquiry {
  margin-top: 1.6rem;
  font-size: 1.06rem;
}

.inquiry a {
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  margin: 0;
  display: grid;
  gap: 1.4rem;
}

.contact-details dt {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1.12rem;
}

.contact-details a {
  color: var(--ink);
}

.contact-details a:hover {
  color: var(--accent);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.28);
}

.footer-inner {
  display: grid;
  gap: 0.7rem;
}

.brand-footer {
  margin-bottom: 0.2rem;
}

.site-footer a {
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--accent);
}

.sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

.copyright {
  margin-top: 0.35rem;
  opacity: 0.75;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-stage {
    min-height: 500px;
    order: -1;
  }

  .device-rig {
    animation: none;
    transform: rotateX(12deg) rotateY(-32deg) scale(0.82);
  }

  .capabilities {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .capabilities {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .wrap,
  .wrap.narrow {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .section {
    padding: 3.4rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.85rem;
    gap: 0.55rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.9rem;
  }

  .site-header {
    position: static;
  }

  .hero-stage {
    min-height: 420px;
  }

  .device-rig {
    transform: rotateX(10deg) rotateY(-26deg) scale(0.68);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .device-rig,
  .stage-glow,
  .pulse-dot {
    animation: none;
  }

  .slide {
    transition: none;
  }
}
