:root {
  --color-bg: #0b1020;
  --color-bg-alt: #101628;
  --color-primary: #1f86ff;
  --color-primary-soft: rgba(31, 134, 255, 0.1);
  --color-text: #f5f7ff;
  --color-text-muted: #a4acc4;
  --color-border: #1e2740;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
  --max-width: 1080px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #182445 0, #050814 55%, #02030a 100%);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.9),
    rgba(5, 8, 20, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  background: #050814;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.brand-text-main {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #1f86ff, #1ad4ff);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(154, 218, 255, 0.6);
  background: radial-gradient(circle at 0 0, rgba(154, 218, 255, 0.28), transparent 55%);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 0 30px rgba(154, 218, 255, 0.2);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  display: block;
  margin: 4px 0;
}

/* Main content */

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.page-hero--single {
  max-width: 720px;
}

/* Offerings hero: single full-width column instead of 2-column grid */
.page-hero.offerings-wide {
  grid-template-columns: minmax(0, 1fr);
}

/* Remove the narrow max-width that page-hero--single sets */
.page-hero--single.offerings-wide {
  max-width: 100%;
}

.page-title-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.page-title span {
  background: linear-gradient(120deg, #1f86ff, #1ad4ff);
  -webkit-background-clip: text;
  color: transparent;
}

.page-subtitle {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(8, 20, 45, 0.92);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(159, 208, 255, 0.5);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffffff, #37ffb0);
  box-shadow: 0 0 12px #37ffb0;
}

.hero-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.hero-highlight-item {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(31, 134, 255, 0.25), #050814);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.hero-highlight-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.hero-highlight-value {
  font-size: 0.9rem;
}

/* Right hero card */

.hero-card {
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(154, 218, 255, 0.18), #050814);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.hero-card-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-card-role {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.hero-card-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hero-card-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 18, 45, 0.95);
  border: 1px solid rgba(152, 215, 255, 0.3);
}

.hero-card-footer {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-card-portrait {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(154, 218, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}


/* Sections */

.section {
  margin-top: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.6rem;
}

.section-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Cards & grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.card {
  background: rgba(7, 10, 25, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(31, 134, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.card-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

.card-body {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Logos grid for talks/media page */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  align-items: center;
}

.logo-grid-item {
  background: rgba(7, 10, 25, 0.96);
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.logo-grid-img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: saturate(1.1);
}

/* Talk list */

.talk-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.talk-item {
  background: rgba(7, 10, 25, 0.96);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 0.95rem 1.05rem 1.05rem;
  box-shadow: var(--shadow-soft);
}

/* Bigger icon to the left of each highlight */
.talk-item-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Reserve icon/logo space even if empty */
.talk-icon-wrapper {
  flex: 0 0 90px;     /* reserve fixed width column */
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
}

.talk-icon-img {
  height: 28px;               /* fixed small height */
  max-width: 90px;            /* prevent super-wide logos */
  width: auto;                /* keep proportions */
  object-fit: contain;
  filter: saturate(1.0);
}


.talk-content {
  flex: 1;
}


.talk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.talk-title {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.talk-context {
  font-size: 0.87rem;
}



/* Lists */

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.inline-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(13, 24, 50, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Customers page */

.timeline {
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
  margin-left: 0.9rem;
  padding-left: 1.35rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.3rem;
}

.timeline-bullet {
  position: absolute;
  left: -1.52rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffffff, #1f86ff);
  box-shadow: 0 0 10px rgba(31, 134, 255, 0.7);
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.form-card {
  background: rgba(7, 10, 25, 0.96);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 0.7rem;
  background: rgba(3, 7, 20, 0.96);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1f86ff;
  box-shadow: 0 0 0 1px rgba(31, 134, 255, 0.7);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(120deg, #1f86ff, #1ad4ff);
  color: #050814;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Contact meta */

.contact-meta-card {
  background: radial-gradient(circle at top left, rgba(31, 134, 255, 0.2), #050814);
  border-radius: 20px;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.contact-meta-row {
  margin-bottom: 0.85rem;
}

.contact-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.contact-meta-value {
  font-size: 0.9rem;
}

.contact-meta-value a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-meta-value a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 0 1.4rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Utility */

.muted {
  color: var(--color-text-muted);
}

/* Responsive */

@media (max-width: 768px) {
  .navbar {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 1.25rem;
    top: 3.2rem;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    background: rgba(4, 6, 16, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .hero-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .page-hero {
    margin-top: 0.5rem;
  }

  .hero-highlight {
    grid-template-columns: minmax(0, 1fr);
  }
}

.muted a {
  color: var(--color-primary);
  text-decoration: none;
}

.muted a:hover {
  text-decoration: underline;
}
