:root {
  --navy: #0e0e2f;
  --lavender: #b69cd6;
  --ink: #1f2136;
  --sand: #e9e7ef;
  --bone: #f7f6fb;
  --white: #ffffff;
}

/* Base reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: radial-gradient(circle at top, #fdfbff 0%, var(--bone) 42%, #efeaf8 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

body {
  height: 100%;
  background: transparent !important;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("hero-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75;          /* ~75% visible, 25% faded */
  pointer-events: none;   /* so you can still click everything normally */
  filter: saturate(1.05) contrast(1.05);
}

/* Top bar / nav */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e1dfec;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--lavender), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(14, 14, 47, 0.75), #050516);
  box-shadow: 0 0 0 2px #dcd9e8 inset, 0 4px 10px rgba(14, 14, 47, 0.25);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.24px;
  font-size: 14px;
}

.brand-tagline {
  font-size: 11px;
  color: #7b7e9b;
}

/* Tabs */
.tabs {
  display: grid;
  grid-auto-flow: column;
  gap: 6px;
  overflow: hidden;
}

.tab {
  appearance: none;
  border: none;
  background: #f1eff8;
  color: #2a2c46;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  min-width: 44px;
  min-height: 34px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.1s ease;
}

.tab:hover {
  background: #e6e0f8;
  box-shadow: 0 2px 6px rgba(14, 14, 47, 0.1);
}

.tab:active {
  transform: translateY(1px);
}

.tab.active {
  background: var(--lavender);
  color: #0d0c1f;
  box-shadow: 0 2px 8px rgba(14, 14, 47, 0.18);
}

/* Viewport & panels */
.viewport {
  flex: 1;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
}

.panel {
  display: none;
  width: 100%;
  /* make sure each panel fills available vertical space nicely */
  min-height: calc(100vh - 66px - 96px); /* topbar + footer-ish */
}

/* only one visible at a time via JS */
.panel.active {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at top, #faf9ff 0%, #f4f2fb 45%, #eeeaf8 100%);
  box-shadow: 0 18px 42px rgba(14, 14, 47, 0.18);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.dome-illustration {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  filter: drop-shadow(0 12px 24px rgba(14, 14, 47, 0.12));
}

/* overlay / copy */
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  gap: 12px;
  background: linear-gradient(
    to top,
    rgba(14, 14, 47, 0.45),
    rgba(14, 14, 47, 0.0) 40%
  );
  color: var(--white);
}

.hero-copy h1 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.hero-copy p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.primary,
.link {
  border-radius: 999px;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.primary {
  background: var(--lavender);
  color: #0e0e2f;
  box-shadow: 0 6px 16px rgba(14, 14, 47, 0.25);
}

.primary:hover {
  box-shadow: 0 8px 20px rgba(14, 14, 47, 0.3);
}

.link {
  background: transparent;
  color: var(--lavender);
  border: 1px solid rgba(182, 156, 214, 0.6);
}

/* Content cards */
.content {
  background: rgba(255, 255, 255, 0.72); /* translucent white */
  backdrop-filter: blur(6px);            /* elegant glass effect */
}


.content h2 {
  margin: 0;
  font-size: 18px;
}

.content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Cards and grids */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.card {
  background: #f7f6fb;
  border: 1px solid #e6e3f1;
  border-radius: 14px;
  padding: 12px;
}

.card h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li {
  font-size: 13px;
  line-height: 1.4;
}

.subnote {
  font-size: 12px;
  color: #707396;
}

/* Grid lists */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grid span {
  background: #f7f6fb;
  border: 1px solid #e6e3f1;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.35;
}
.image-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(14, 14, 47, 0.12);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px; /* keeps corners round within container */
}

/* Ecosystem links */
.ecosystem-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.eco-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f7f6fb;
  border: 1px solid #e6e3f1;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.eco-link:hover {
  box-shadow: 0 8px 18px rgba(14, 14, 47, 0.18);
  border-color: var(--lavender);
  transform: translateY(-1px);
}

.eco-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--lavender);
  box-shadow: 0 0 0 2px #e6e3f1 inset;
}

.eco-icon.vp {
  background: conic-gradient(from 40deg, var(--lavender), #8e77b8, var(--lavender));
}

.eco-icon.vhc {
  background: radial-gradient(circle, #c8b5e4 0%, #a48ccf 60%);
}

.eco-icon.cb {
  background: linear-gradient(135deg, #a78fd4, #b69cd6);
}

.eco-icon.ss {
  background: radial-gradient(circle at 30% 30%, #b69cd6, #9c84c7);
}

/* Home Content */
.home-content {
  justify-content: center;
  gap: 16px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* Lists, forms */
.bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
}

.signup label {
  font-size: 12px;
  color: #4b4d64;
}

.form-note {
  font-size: 11px;
  color: #7c7ea0;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row input,
.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #dcd9e8;
  font-size: 14px;
  background: #ffffff;
}

.contact-form .input-row {
  margin-bottom: 8px;
}

.contact-form textarea {
  resize: none;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #ffffff;
  padding: 12px 14px 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-size: 12px;
}

.footer a {
  color: var(--lavender);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .dot {
  color: #5f5f86;
  padding: 0 6px;
}

/* Subtle parallax noise texture over hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 120%;
  height: 120%;
  background:
    radial-gradient(20px 20px at 10% 10%, rgba(182, 156, 214, 0.2), transparent 40%),
    radial-gradient(16px 16px at 80% 30%, rgba(182, 156, 214, 0.12), transparent 45%),
    radial-gradient(24px 24px at 40% 70%, rgba(14, 14, 47, 0.08), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
  transition: transform 0.6s ease-out;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .viewport {
    max-width: 960px;
    margin: 0 auto;
  }

  .content {
    padding: 20px 22px 22px;
  }

  .hero-copy h1 {
    font-size: 22px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .tabs {
    gap: 8px;
  }
}
.hero-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(14, 14, 47, 0.12);
}
/* --- Crest Placement --- */
.crest-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: crestFade 1.4s ease-out forwards;
  opacity: 0;
}

.crest-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.15));
}

/* Fade-in animation */
@keyframes crestFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Footer Crest --- */
.footer-crest {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  margin-bottom: -10px;
}

.footer-crest img {
  width: 70px;
  opacity: 0.75;
}

/* --- Section Title Watermark --- */
.panel h2 {
  position: relative;
  z-index: 2;
}

.panel h2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  background-image: url("londondrovelogo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}
/* --- MOBILE FIXES FOR IMAGES & LOGOS --- */
@media (max-width: 600px) {

  /* Background images */
  .site-bg {
    background-size: contain;
    background-position: top;
  }

  /* Crest and other large logos */
  .crest-logo {
    width: 140px;
    height: auto;
  }

  .footer-crest img {
    width: 48px;
  }

  /* Section watermark logo */
  .panel h2::after {
    width: 100px;
    height: 100px;
    opacity: 0.05; /* softer on phone */
  }

  /* Hero illustration */
  .dome-illustration {
    object-fit: contain;
    height: auto;
  }

  /* Any generic img tag */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Ecosystem links layout */
  .ecosystem-links {
    grid-template-columns: 1fr;
  }
}
/* --- MOBILE TOPBAR FIXES --- */
@media (max-width: 600px) {

  /* Allow the topbar to wrap to a second line when needed */
  .topbar {
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  /* Brand section shrinks gracefully */
  .brand {
    flex: 1 1 100%;
    justify-content: center;
    margin-bottom: 6px;
  }

  /* Tabs go full width on mobile */
  .tabs {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    width: 100%;
  }

  /* Tab styling for small screens */
  .tab {
    min-width: unset;
    width: 100%;
    text-align: center;
    padding: 8px;
    font-size: 13px;
  }

}
