/* =========================================
LILIUM BLACK — CLEAN STYLES (developer-ready)
Matches sections:
- Topbar
- Hero (video + image blend into pitch black)
- Who we are (borderless cinematic split + fade image edges)
- Giants (3 animated tiles)
- Features (Chapters layout, no seam line)
- Pricing, Principle, Footer
- Reveal animation
========================================= */

:root {
  --bg: #000;
  --ember: #c86a2a;
  --ember2: #ff9a4a;
  --text: #ece7e3;
  --muted: #b8ada6;

  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.06);

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.62);

  --r: 18px;
  --r2: 22px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(var(--max), 100% - 80px);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), 100% - 36px);
  }
}

.section {
  padding: 34px 0;
}
.section--tight {
  padding: 26px 0;
}

.center {
  text-align: center;
}
.h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0.2px;
}
.p {
  margin: 0 0 10px;
  line-height: 1.7;
  font-size: 13px;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}

.divider-ember {
  width: 180px;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 154, 74, 0.95),
    transparent
  );
  opacity: 0.9;
}

/* =========================
TOPBAR
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 6, 7, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar__inner {
  display: grid;
  grid-template-columns: 220px 1fr 220px; /* equal rails */
  align-items: center;
  padding: 14px 0;
}

/* LEFT */
.brand {
  justify-self: start;
}

.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.96;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.55));
}

/* CENTER */
.nav {
  display: none; /* hidden on mobile */
  justify-self: center; /* perfectly centered */
  gap: 22px;
}

.nav a {
  font-size: 12px;
  color: rgba(236, 231, 227, 0.74);
  padding: 6px 4px;
}
.nav a:hover {
  color: rgba(236, 231, 227, 1);
}

/* RIGHT */
.topbar__cta {
  display: none; /* hidden on mobile */
  justify-self: end;
}

/* Desktop */
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .topbar__cta {
    display: inline-flex;
  }
}

/* =========================
BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
}
.btn--primary {
  background: linear-gradient(
    90deg,
    rgba(200, 106, 42, 0.95),
    rgba(255, 154, 74, 0.7)
  );
  border-color: rgba(200, 106, 42, 0.35);
  color: #140c08;
  box-shadow: 0 16px 44px rgba(200, 106, 42, 0.2);
}
.btn--block {
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
}

/* =========================
HERO
========================= */
.hero {
  padding: 0; /* removes top/bottom spacing */
  display: flex;
  align-items: stretch;
}
@media(max-width:860px){
    .topbar__cta{
        display:none !important;
    }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; /* IMPORTANT: removes seam gap */
  align-items: stretch;
  width: 100%;
}

.hero__left,
.hero__right {
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

/* Left video */
.hero__bgvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  filter: contrast(1.05) saturate(0.95) brightness(0.75);
}

/* Right image */
.hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) brightness(0.92);
}

/* Copy */
.hero__content {
  position: relative;
  z-index: 5;
  padding: 150px;
  padding-left: clamp(28px, 4vw, 64px); /* moves hero copy RIGHT */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__title {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0.2px;
}
.hero__quote {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 154, 74, 0.92);
  font-weight: 750;
}
.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.h2 , .giantName ,.price__title , .topbar__cta , .btn--ghost{
    color:white !important;
}

/* Full 4-side fade + stronger seam fade, WITHOUT affecting text */
.hero__left::after,
.hero__right::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    /* top fade */
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 18%,
      transparent 42%
    ),
    /* bottom fade */
    linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.65) 22%,
        transparent 48%
      ),
    /* side fade */
    radial-gradient(
        120% 90% at 50% 50%,
        transparent 55%,
        rgba(0, 0, 0, 0.92) 100%
      );
}

/* seam strength specific per side */
.hero__left::after {
  background:
    linear-gradient(
      90deg,
      transparent 52%,
      rgba(0, 0, 0, 0.65) 72%,
      rgba(0, 0, 0, 0.92) 88%,
      rgba(0, 0, 0, 1) 100%
    ),
    linear-gradient(
      270deg,
      transparent 78%,
      rgba(0, 0, 0, 0.7) 92%,
      rgba(0, 0, 0, 1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 18%,
      transparent 42%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.65) 22%,
      transparent 48%
    ),
    radial-gradient(
      120% 90% at 50% 50%,
      transparent 55%,
      rgba(0, 0, 0, 0.92) 100%
    );
}
.hero__right::after {
  background:
    linear-gradient(
      270deg,
      transparent 52%,
      rgba(0, 0, 0, 0.65) 72%,
      rgba(0, 0, 0, 0.92) 88%,
      rgba(0, 0, 0, 1) 100%
    ),
    linear-gradient(
      90deg,
      transparent 78%,
      rgba(0, 0, 0, 0.7) 92%,
      rgba(0, 0, 0, 1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 18%,
      transparent 42%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.65) 22%,
      transparent 48%
    ),
    radial-gradient(
      120% 90% at 50% 50%,
      transparent 55%,
      rgba(0, 0, 0, 0.92) 100%
    );
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  @media (min-width: 1100px) {
    .hero__content {
      padding-left: 200px;
    }
  }
}

/* =========================
WHO WE ARE (borderless + image fades)
========================= */
.whoCinematic {
  padding-top: 26px;
}

.whoSplit {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
}

.whoCopy {
  padding: 8px 2px;
}

.whoPara {
  margin: 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(236, 231, 227, 0.78);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
}

/* Image */
.whoVisual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
.whoVisual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: contrast(1.06) saturate(0.92) brightness(0.7);
}

.whoSeam {
  display: none;
}

@media (min-width: 920px) {
  .whoSplit {
    grid-template-columns: 1.25fr 1.75fr;
    gap: 18px;
  }
  .whoVisual {
    min-height: 320px;
  }
  .whoPara {
    font-size: 14px;
    line-height: 2;
  }

  .whoSeam {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 180px;
    height: 100%;
    pointer-events: none;
    background:
      radial-gradient(closest-side, rgba(255, 154, 74, 0.06), transparent 70%),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0)
      );
    filter: blur(10px);
    opacity: 0.7;
  }
}

/* =========================
INTRO VIDEO STAGE
========================= */
.video-stage__inner {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}
.video-stage__video {
  width: 100%;
  display: block;
  background: #000;
}
.video-stage__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      900px 320px at 50% 12%,
      rgba(200, 106, 42, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
}

/* =========================
GIANTS
========================= */
.giants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
.giantCard {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  background:
    radial-gradient(
      900px 320px at 50% 8%,
      rgba(200, 106, 42, 0.08),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.012)
    );
}
.giantMedia {
  position: relative;
  height: 190px;
  background: #000;
}
.giantVid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.95) brightness(0.7);
  transform: scale(1.03);
}

.giantBadge {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 74, 0.35);
  background: rgba(0, 0, 0, 0.88);
  color: rgba(255, 154, 74, 0.95);
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}
.giantBody {
  padding: 14px;
}
.giantName {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.giantRole {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 750;
  color: rgba(255, 154, 74, 0.92);
}

/* Symmetric tag grid */
.giantTags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 10px;
}
.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(236, 231, 227, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.giantMicro {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

@media (hover: hover) {
  .giantCard {
    transition:
      transform 0.14s ease,
      box-shadow 0.14s ease,
      border-color 0.14s ease;
  }
  .giantCard:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 154, 74, 0.25);
    box-shadow:
      0 30px 90px rgba(200, 106, 42, 0.12),
      var(--shadow);
  }
  .giantCard:hover .giantOverlay {
    background:
      radial-gradient(
        900px 380px at 50% 25%,
        rgba(255, 154, 74, 0.18),
        transparent 62%
      ),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.86));
  }
}

@media (min-width: 860px) {
  .giants {
    grid-template-columns: repeat(3, 1fr);
  }
  .giantMedia {
    height: 200px;
  }
}

/* =========================
FEATURE CHAPTERS (NO SEAM LINE)
========================= */
.featureChapters .section-title {
  margin-bottom: 16px;
}

.chapters {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.chapter {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #050405;
  display: grid;
  grid-template-columns: 1fr;
}

/* Left panel media */
.chapter__media {
  position: relative;
  min-height: 240px;
  background: #000;
  overflow: hidden;
}

/* image/video full bleed */
.chapter__video,
.chapter__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.95) brightness(0.72);
  transform: scale(1.02);
}

/* This overlay MUST be valid CSS (your previous version broke parsing) */
.chapter__mediaOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background:
    /* top */
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.55) 18%,
      transparent 42%
    ),
    /* bottom */
    linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.65) 22%,
        transparent 48%
      ),
    /* left */
    linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.55) 20%,
        transparent 45%
      ),
    /* right (light) */
    linear-gradient(
        270deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.2) 18%,
        transparent 40%
      ),
    /* vignette */
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.9) 100%);
}

/* Label */
.chapter__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  color: rgba(255, 154, 74, 0.98);
  border: 1px solid rgba(255, 154, 74, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

/* Right panel content */
.chapter__content {
  position: relative;
  z-index: 1;
  padding: 18px;
  background:
    radial-gradient(
      900px 320px at 50% 8%,
      rgba(200, 106, 42, 0.06),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.008)
    );
}

/* ✅ Seam “weld”: a blurred black gradient that overlaps INTO the media side */
.chapter__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -90px; /* pull into image side */
  width: 150px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.85) 70%,
    rgba(0, 0, 0, 1) %
  );
  filter: blur(6px);
  opacity: 0.95;
}
.chapter__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 154, 74, 0.95);
  line-height: 1.2;
}
.chapter__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.chapter__bullets li {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(236, 231, 227, 0.86);
  line-height: 1.7;
  font-size: 13px;
}
.chapter__principle {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 231, 227, 0.78);
  font-size: 12px;
  line-height: 1.7;
}
.chapter__principle b {
  color: rgba(255, 154, 74, 0.95);
}

@media (min-width: 900px) {
  .chapter {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 360px;
  }
  .chapter__media {
    min-height: 360px;
  }
  .chapter__content {
    padding: 22px;
  }
}

/* Premium hover */
@media (hover: hover) {
  .chapter {
    transition:
      transform 0.14s ease,
      border-color 0.14s ease,
      box-shadow 0.14s ease;
  }
  .chapter:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 154, 74, 0.18);
    box-shadow:
      0 34px 100px rgba(200, 106, 42, 0.1),
      var(--shadow);
  }
}

/* =========================
PRICING
========================= */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}
.price {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
  background:
    radial-gradient(
      900px 320px at 50% 8%,
      rgba(200, 106, 42, 0.08),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.012)
    );
}
.price--featured {
  border-color: rgba(200, 106, 42, 0.22);
  box-shadow:
    0 26px 80px rgba(200, 106, 42, 0.1),
    var(--shadow);
}
.price__tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200, 106, 42, 0.3);
  background: rgba(200, 106, 42, 0.08);
  color: rgba(255, 154, 74, 0.95);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price__title {
  margin: 0 0 6px;
  font-size: 14px;
}
.price__value {
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 154, 74, 0.92);
  margin-bottom: 10px;
}
.price__value span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(236, 231, 227, 0.65);
  margin-left: 0px;
}
.list {
  margin: 0 0 12px;
  padding: 0 0 0 16px;
  color: rgba(236, 231, 227, 0.72);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================
PRINCIPLE
========================= */
.principle {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  padding: 16px;
  background:
    radial-gradient(
      900px 320px at 50% 8%,
      rgba(200, 106, 42, 0.1),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.012)
    );
}
.principle__lines {
  margin-top: 8px;
  display: grid;
  gap: 10px;
  text-align: center;
}
.line {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(236, 231, 227, 0.86);
}
.emberStrong {
  color: rgba(255, 154, 74, 0.95);
  font-weight: 900;
}

/* =========================
FOOTER
========================= */
.footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 12px;
}
.footer__title {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(236, 231, 227, 0.78);
  margin-bottom: 8px;
}
.footer__link {
  display: block;
  font-size: 12px;
  color: rgba(236, 231, 227, 0.62);
  padding: 6px 0;
}
.footer__link:hover {
  color: rgba(236, 231, 227, 0.95);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 4px;
}

/* =========================
REVEAL ANIMATION
========================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
RESPONSIVE
========================= */
@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .topbar__cta {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero__left,
  .hero__right {
    min-height: 360px;
  }
  .hero__title {
    font-size: 26px;
  }

  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
TOPBAR (redesigned)
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(7, 6, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand { flex-shrink: 0; }

.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.96;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.55));
}

/* Desktop nav — only visible ≥860px */
.nav--desktop {
  display: none;
  gap: 22px;
}
.nav--desktop a {
  font-size: 12px;
  color: rgba(236, 231, 227, 0.74);
  padding: 6px 4px;
  transition: color 0.15s ease;
}
.nav--desktop a:hover { color: #ece7e3; }

/* Right cluster: Login + hamburger */
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Login button always visible */
.topbar__cta { display: inline-flex; }

/* ── Hamburger ──────────────────────────────── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(236, 231, 227, 0.85);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1),
              opacity   0.22s ease,
              width     0.22s ease;
  transform-origin: center;
}

/* X state */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 860px) {
  .nav--desktop { display: flex; }
  .nav-toggle   { display: none; } /* hamburger hides on desktop */
}

/* ═══════════════════════════════════════════════
   OFF-CANVAS BACKDROP
═══════════════════════════════════════════════ */
.oc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}
.oc-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ═══════════════════════════════════════════════
   OFF-CANVAS PANEL
═══════════════════════════════════════════════ */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: min(320px, 88vw);

  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      800px 600px at 110% -10%,
      rgba(200, 106, 42, 0.12),
      transparent 60%
    ),
    rgba(8, 6, 8, 0.98);

  border-left: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: -40px 0 120px rgba(0, 0, 0, 0.8);

  /* Off-screen by default */
  transform: translate3d(100%, 0, 0);
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  overflow-y: auto;
}

.offcanvas.is-open {
  transform: translate3d(0, 0, 0);
}

/* ── Panel head ─────────────────────────────── */
.offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.offcanvas__logo {
  height: 40px;
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}

.offcanvas__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(236, 231, 227, 0.7);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.offcanvas__close:hover {
  background: rgba(200, 106, 42, 0.12);
  border-color: rgba(200, 106, 42, 0.35);
  color: rgba(255, 154, 74, 0.95);
}

/* ── Panel nav links ────────────────────────── */
.offcanvas__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  gap: 4px;
}

.offcanvas__link {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(236, 231, 227, 0.78);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.16s ease,
              border-color 0.16s ease,
              color 0.16s ease,
              transform 0.16s ease;

  /* Staggered slide-in */
  opacity: 0;
  transform: translateX(24px);
}

.offcanvas.is-open .offcanvas__link {
  opacity: 1;
  transform: translateX(0);
}
.offcanvas.is-open .offcanvas__link:nth-child(1) { transition-delay: 0.14s; }
.offcanvas.is-open .offcanvas__link:nth-child(2) { transition-delay: 0.20s; }
.offcanvas.is-open .offcanvas__link:nth-child(3) { transition-delay: 0.26s; }

/* Add transition for the animated properties */
.offcanvas__link {
  transition: opacity 0.32s ease,
              transform 0.32s ease,
              background 0.16s ease,
              border-color 0.16s ease,
              color 0.16s ease;
}

.offcanvas__link:hover {
  background: rgba(200, 106, 42, 0.08);
  border-color: rgba(200, 106, 42, 0.2);
  color: rgba(255, 154, 74, 0.95);
  transform: translateX(4px);
}

/* Ember divider between links */
.offcanvas__nav::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,154,74,0.25), transparent);
}

/* ── Panel footer ───────────────────────────── */
.offcanvas__foot {
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.offcanvas__cta {
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
}

.offcanvas__tagline {
  margin: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 154, 74, 0.5);
}
.footer__contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact .footer__link {
  width: fit-content;
}
/* Desktop: panel never shows (hamburger is hidden anyway,
   but this is a hard safety guard) */
@media (min-width: 860px) {
  .offcanvas,
  .oc-backdrop { display: none !important; }
}
