/* LDB Creative — site styles, built on tokens.css */

/* ── Apple-ish refinement overrides
   Cleaner neutrals, system-blue accent, more air, less glow,
   pill buttons. Applied on top of tokens.css so the rest of the
   system keeps working. ───────────────────────────────────────── */
:root {
  --bg:            #000000;
  --bg-elev-1:     #0B0B0F;
  --bg-elev-2:     #15151B;
  --bg-glass:      rgba(22, 22, 28, 0.55);

  --fg:            #F5F5F7;       /* Apple's off-white */
  --fg-muted:      #A1A1A6;       /* Apple's secondary label */
  --fg-subtle:     #6E6E73;       /* Apple's tertiary label */

  --primary:       #0A84FF;       /* Apple system blue (dark) */
  --primary-hover: #2997FF;
  --primary-soft:  rgba(10, 132, 255, 0.14);

  /* Clean Apple-ish blue → indigo → purple gradient */
  --gradient-brand: linear-gradient(135deg, #2997FF 0%, #5E5CE6 45%, #BF5AF2 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(41,151,255,0.16) 0%, rgba(94,92,230,0.14) 50%, rgba(191,90,242,0.14) 100%);

  --border:        rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* Apple uses very soft shadows, almost none */
  --shadow-card:   0 1px 0 0 rgba(255,255,255,0.04) inset,
                   0 1px 2px rgba(0,0,0,0.4);
  --shadow-glass:  0 1px 0 0 rgba(255,255,255,0.06) inset,
                   0 16px 40px -20px rgba(0,0,0,0.6);
  --shadow-cta:    0 1px 0 0 rgba(255,255,255,0.18) inset,
                   0 8px 22px -10px rgba(10, 132, 255, 0.6);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* ── layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.label-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.label-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gradient-brand);
}

/* ── floating nav ──────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
  padding: 0 16px;
}
.nav {
  pointer-events: auto;
  max-width: var(--nav-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(255, 255, 255, 0.00) 60%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    rgba(22, 22, 28, 0.42);
  backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  /* Liquid-Glass: bright specular top edge, subtle bottom rim,
     soft chromatic glow underneath. */
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 1px 1px rgba(0, 0, 0, 0.4),
    0 12px 32px -12px rgba(0, 0, 0, 0.6),
    0 22px 48px -20px rgba(94, 92, 230, 0.22);
  transition: top var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
  transform-origin: 50% 0;
  position: relative;
  isolation: isolate;
}
/* Subtle moving specular highlight across the surface */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      120% 60% at 20% 0%,
      rgba(255, 255, 255, 0.10),
      transparent 60%
    ),
    radial-gradient(
      90% 80% at 90% 110%,
      rgba(191, 90, 242, 0.10),
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}
/* Hair-thin gradient stroke for the rim refraction */
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(255, 255, 255, 0.02) 60%,
    rgba(255, 255, 255, 0.18) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.nav.scrolled {
  top: 8px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(255, 255, 255, 0.00) 70%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    rgba(18, 18, 24, 0.72);
}
body.js-reveal .nav {
  animation: nav-enter 900ms cubic-bezier(0.34, 1.42, 0.64, 1) both;
  animation-delay: 120ms;
}
@keyframes nav-enter {
  0% {
    transform: translateY(-44px) scale(0.94);
    opacity: 0;
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.js-reveal .nav { animation: none; }
}
.nav.scrolled {
  top: 8px;
  background: rgba(22, 22, 28, 0.82);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: nowrap;
}
.nav-brand .logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #1A2240 0%, #0A0E1F 100%);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.nav-brand .logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0.18;
  mix-blend-mode: screen;
}
.nav-brand .logo-mark svg { position: relative; z-index: 1; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}
.nav-links a { color: inherit; transition: color 200ms ease, background-position 400ms ease; }
.nav-links a:hover {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--fg);
  color: var(--fg-inverse);
  font-weight: 500;
  font-size: 13.5px;
  border-radius: var(--radius-full);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav-cta:hover { background: #fff; color: var(--fg-inverse); transform: translateY(-1px); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { padding-left: 16px; }
}

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  min-height: 46px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--dur-base) var(--ease-out);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.24); color: var(--fg); }
.btn .arrow {
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 192px 0 128px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% 30% -20%;
  background:
    radial-gradient(700px 500px at 28% 0%, rgba(41,151,255,0.18), transparent 60%),
    radial-gradient(700px 500px at 78% 12%, rgba(191,90,242,0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  letter-spacing: -0.005em;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 18ch;
}
.hero-title .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
  background-size: 200% 100%;
  animation: gradient-drift 8s ease-in-out infinite;
}
@keyframes gradient-drift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-sub {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 54ch;
  margin: 0 0 44px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.hero-meta .cell {
  background: transparent;
  padding: 28px 22px 0 0;
  border-right: 1px solid var(--border);
}
.hero-meta .cell:last-child { border-right: none; }
.hero-meta .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 10px;
}
.hero-meta .num .unit {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}
.hero-meta .lbl {
  font-size: 12.5px;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .hero { padding: 140px 0 72px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .hero-meta .cell:nth-child(2) { border-right: none; }
  .hero-meta .cell:nth-child(1),
  .hero-meta .cell:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .hero-meta .cell:nth-child(3),
  .hero-meta .cell:nth-child(4) { padding-top: 24px; }
}

/* ── sections ──────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 128px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 18px 0 0;
  text-wrap: balance;
}
.section-head .lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ── services ──────────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--dur-base) var(--ease-out);
  position: relative;
}
.service:hover { background: var(--bg-elev-1); }
.service .ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--primary);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}
.service .ico::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.service:hover .ico {
  background: rgba(94, 92, 230, 0.10);
  color: #fff;
}
.service:hover .ico::after { opacity: 1; }
.service:nth-child(2) .ico,
.service:nth-child(5) .ico { color: var(--accent); }
.service h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.015em;
}
.service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
.service .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.service .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
}
@media (max-width: 920px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ── work ──────────────────────────────────────────────────── */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.work .case {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev-1);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.work .case:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.case .thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.case .meta {
  padding: 22px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.case .meta .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case .meta .cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.case .meta .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.case .meta .view {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  transition: all var(--dur-base) var(--ease-out);
}
.case:hover .meta .view { background: var(--fg); color: var(--fg-inverse); border-color: var(--fg); transform: rotate(-45deg); }
@media (max-width: 820px) {
  .work { grid-template-columns: 1fr; }
}

/* ── thumb scenes (CSS-painted landing page mocks) ─────────── */
.scene { position: absolute; inset: 0; overflow: hidden; }

/* ─── NORDA — polished dark SaaS analytics ────────────────── */
.scene-norda {
  background:
    radial-gradient(700px 400px at 30% -10%, rgba(94, 92, 230, 0.25), transparent 60%),
    radial-gradient(500px 320px at 100% 100%, rgba(41, 151, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0A0B14 0%, #060710 100%);
  color: #F5F5F7;
  font-family: "Inter", sans-serif;
}
.scene-norda .layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px 18px;
  overflow: hidden;
}
.scene-norda > .layer > .hero { flex: 1 1 0; min-height: 0; }
.scene-norda .topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px 7px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 9.5px;
}
.scene-norda .topnav .brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.scene-norda .topnav .brand .mk {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2997FF, #BF5AF2);
}
.scene-norda .topnav .brand .nm {
  font-size: 10px;
  letter-spacing: 0.06em;
}
.scene-norda .topnav .links {
  display: flex;
  gap: 14px;
  color: rgba(245, 245, 247, 0.6);
}
.scene-norda .topnav .cta {
  background: #fff;
  color: #050505;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 9px;
}
.scene-norda .hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.scene-norda .copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 0;
}
.scene-norda .copy .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 8.5px;
  width: fit-content;
  color: rgba(245,245,247,0.75);
  letter-spacing: 0.02em;
}
.scene-norda .copy .pill .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}
.scene-norda .copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.8vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 2px 0 0;
  color: #fff;
}
.scene-norda .copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #2997FF 0%, #5E5CE6 50%, #BF5AF2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.scene-norda .copy p {
  font-size: 9.5px;
  color: rgba(245, 245, 247, 0.65);
  line-height: 1.4;
  margin: 0;
  max-width: 24ch;
}
.scene-norda .copy .btns {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.scene-norda .copy .b1 {
  background: linear-gradient(135deg, #2997FF, #5E5CE6);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}
.scene-norda .copy .b2 {
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
}
.scene-norda .dash {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.scene-norda .dashhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.scene-norda .dashhead .dh-t {
  font-size: 8.5px;
  color: rgba(245,245,247,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.scene-norda .dashhead .dh-v {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.scene-norda .dashchart {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 0;
}
.scene-norda .bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  align-items: end;
  height: 22px;
}
.scene-norda .bars span {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.7), rgba(94, 92, 230, 0.4));
  border-radius: 2px;
  width: 100%;
  display: block;
}

/* ─── ATELIER LUMA — polished light editorial agency ─────── */
.scene-luma {
  background: #F4F1EA;
  color: #1A1A1A;
  font-family: "Inter", sans-serif;
}
.scene-luma .layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px 12px;
  overflow: hidden;
}
.scene-luma > .layer > .hero { flex: 1 1 0; min-height: 0; }
.scene-luma .topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 9.5px;
}
.scene-luma .topnav .brand .nm {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #1A1A1A;
}
.scene-luma .topnav .links {
  display: flex;
  gap: 14px;
  color: rgba(26,26,26,0.65);
}
.scene-luma .topnav .cta {
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 9px;
}
.scene-luma .hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.scene-luma .copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 0;
}
.scene-luma .copy .eyebrow {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(26,26,26,0.55);
}
.scene-luma .copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
  color: #1A1A1A;
}
.scene-luma .copy h1 em {
  font-style: italic;
  color: #C2410C;
}
.scene-luma .copy p {
  font-size: 9.5px;
  color: rgba(26,26,26,0.65);
  line-height: 1.4;
  margin: 0;
  max-width: 26ch;
}
.scene-luma .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}
.scene-luma .g {
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.scene-luma .g1 {
  grid-row: 1 / 3;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 220, 195, 0.5), transparent 65%),
    linear-gradient(160deg, #8B6F4E 0%, #4A3422 100%);
}
.scene-luma .g1::after {
  content: "";
  position: absolute;
  inset: 18% 22% 28% 22%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 220, 190, 0.5), transparent 70%),
    linear-gradient(180deg, rgba(120, 80, 50, 0.6), rgba(60, 40, 24, 0.85));
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  filter: blur(0.3px);
}
.scene-luma .g2 {
  background:
    linear-gradient(145deg, #D8C5A3 0%, #B8A07A 100%);
}
.scene-luma .g2::after {
  content: "";
  position: absolute;
  inset: 25% 30% 30% 30%;
  background: linear-gradient(160deg, rgba(120, 90, 55, 0.6), rgba(80, 55, 30, 0.85));
  border-radius: 4px;
  transform: rotate(-8deg);
}
.scene-luma .g3 {
  background:
    radial-gradient(ellipse at 60% 50%, rgba(194, 65, 12, 0.45), transparent 70%),
    linear-gradient(160deg, #C95B2C 0%, #8B3818 100%);
}
.scene-luma .g3::after {
  content: "";
  position: absolute;
  inset: 22% 25% 25% 25%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 200, 165, 0.55), transparent 65%);
  border-radius: 50%;
}
.scene-luma .foot {
  display: flex;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(26,26,26,0.55);
}

/* ── process ───────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 8%, rgba(94,92,230,0.35) 50%, rgba(255,255,255,0.10) 92%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
  user-select: none;
}
.step .num::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.step .num::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-brand);
  opacity: 0;
  pointer-events: none;
}
.step:hover .num,
.step .num:focus-visible {
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.step:hover .num::before,
.step .num:focus-visible::before { opacity: 1; }
.step .num.pulse::after { animation: step-pulse 700ms var(--ease-out); }
@keyframes step-pulse {
  0%   { opacity: 0; transform: scale(0.6); }
  40%  { opacity: 0.4; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.8); }
}
.step .num.active {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(var(--bg-elev-1), var(--bg-elev-1)) padding-box,
    var(--gradient-brand) border-box;
}
.step .num.active::before { opacity: 1; }
.step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.step p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ── stripe / trust ────────────────────────────────────────── */
.stripe {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-elev-1) 50%, var(--bg));
}
.stripe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.stripe-lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.stripe-logos {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  align-items: center;
}
.stripe-logos span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--fg-muted);
  opacity: 0.85;
  letter-spacing: -0.01em;
  transition: color var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.stripe-logos span:hover { color: var(--fg); opacity: 1; }
.stripe-logos .serif { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; }
.stripe-logos .mono { font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; }

/* ── testimonial ───────────────────────────────────────────── */
.quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.quote .mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.4;
  color: var(--primary);
  opacity: 0.4;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin: 16px 0 32px;
  text-wrap: balance;
}
.quote-cite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-muted);
}
.quote-cite .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gradient-via));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.quote-cite strong { color: var(--fg); font-weight: 600; }

/* ── final CTA ─────────────────────────────────────────────── */
.cta-final {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 96px 56px;
  text-align: center;
  background: var(--bg-elev-1);
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 360px at 30% 0%, rgba(41,151,255,0.22), transparent 60%),
    radial-gradient(600px 360px at 75% 20%, rgba(191,90,242,0.18), transparent 60%);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 16px 0 22px;
}
.cta-final p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto 40px;
  letter-spacing: -0.005em;
}

/* ── footer ────────────────────────────────────────────────── */
footer.foot {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 96px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.foot-brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.foot-brand .name .logo-mark { position: relative; }
.foot-brand .name .logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-brand);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.foot-brand p {
  font-size: 0.92rem;
  color: var(--fg-subtle);
  max-width: 36ch;
  margin: 0;
}
.foot-col h5 {
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  margin: 0 0 16px;
}
.foot-col a {
  display: block;
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.foot-col a:hover { color: var(--fg); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-subtle);
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: span 2; }
}

/* ── reveal animation ──────────────────────────────────────── */
/* Hidden only when JS is active and confirms it'll trigger reveals.
   Without JS (or if JS stalls), elements remain visible. */
body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
body.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

button.num {
  font: inherit;
  outline: none;
}
button.num:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }

/* ── utility ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}


/* ── LDB ribbon logo (replaces old icon mark) ─────────────── */
.ldb-mark {
  display: block;
  height: 26px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.04));
}
.nav-brand .ldb-mark { height: 24px; }
.brand-tag {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.58);
  padding-top: 3px;
}
.ldb-mark--foot { height: 34px; }
.brand-tag--foot {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  padding-top: 4px;
}
.foot-brand .name {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 720px) {
  .nav-brand .ldb-mark { height: 22px; }
  .brand-tag { display: none; }
}
