:root {
  --bg-main: #020817;
  --bg-elevated: rgba(15, 23, 42, 0.95);
  --bg-soft: #020617;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --accent-strong: #0ea5e9;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --danger: #f97373;
  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --max-width: 1120px;
}

/* Reset / base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 40%, #000 100%);
  color: var(--text-main);
}

/* Layout helpers */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(
      ellipse at top left,
      rgba(56, 189, 248, 0.04),
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(56, 189, 248, 0.04),
      transparent 55%
    );
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.98),
    rgba(15, 23, 42, 0.92)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-mark {
  background: radial-gradient(circle at top left, #38bdf8, #0ea5e9);
  color: #0b1120;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text {
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Nav links */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: var(--text-main);
  font-size: 1.4rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

/* ensure hero content sits above animated layers */
.hero .container {
  position: relative;
  z-index: 1;
}


.hero-bg-layer {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at center right, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.06), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.7rem;
}

.hero-text h1 span {
  background: linear-gradient(to right, #38bdf8, #4ade80);
  background-clip: text;          /* ✅ Standard */
  -webkit-background-clip: text; /* ✅ Safari/Chrome */
  color: transparent;
}


.hero-subtitle {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.4rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.hero-meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.hero-meta-value {
  font-size: 0.9rem;
}

/* Hero panel */

.hero-panel {
  display: grid;
  gap: 1.5rem;
}

.hero-card {
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.26),
      rgba(30, 64, 175, 0.45)
    ),
    rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.hero-card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-list li::before {
  content: "• ";
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-align: left;
}

.stat-number {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #38bdf8, #0ea5e9);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-main);
  background: transparent;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* Section heading */

.section-heading {
  text-align: left;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}

.section-heading p {
  max-width: 32rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* Pills / chips */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.9);
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.chip {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
  padding: 1rem;
}

.chip h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.chip p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Cards grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top right,
    rgba(56, 189, 248, 0.22),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--accent-soft);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.28rem;
  font-size: 0.86rem;
  color: var(--text-main);
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.portfolio-thumb {
  height: 150px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

/* You can replace these with real images or gradients */
.portfolio-thumb-1 {
  background-image: linear-gradient(
    135deg,
    #0ea5e9,
    #22c55e
  );
}
.portfolio-thumb-2 {
  background-image: linear-gradient(
    135deg,
    #6366f1,
    #0ea5e9
  );
}
.portfolio-thumb-3 {
  background-image: linear-gradient(
    135deg,
    #f97316,
    #0ea5e9
  );
}

.portfolio-body {
  padding: 1rem 1rem 1.1rem;
}

.portfolio-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.portfolio-body p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.7rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-panel {
  display: grid;
  gap: 0.9rem;
}

.about-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.about-card-secondary {
  background: radial-gradient(
    circle at top right,
    rgba(56, 189, 248, 0.12),
    rgba(15, 23, 42, 0.98)
  );
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✔ ";
  color: #22c55e;
}

.bullet-list {
  list-style: disc;
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.contact-meta p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-meta a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
}

.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.field textarea {
  resize: vertical;
}

.form-footnote {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 2.5rem 0 1.7rem;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 0.6rem;
}

.footer-text {
  max-width: 20rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
}

.footer-columns h4 {
  margin: 0 0 0.3rem;
  font-size: 0.86rem;
}

.footer-columns ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.25rem;
}

.footer-columns a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-columns a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1.7rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Misc */

.link-inline {
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 4.25rem;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.6rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 4rem;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cards-grid,
  .portfolio-grid,
  .chips-grid {
    gap: 1rem;
  }
}

/* DIGITALBRIDGE PAGE
   -------------------------------------------------- */

.db-main {
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #000 100%);
}

/* Hero */

.db-hero {
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.db-hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at center right, rgba(37, 99, 235, 0.18), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.db-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.db-hero-text h1 {
  font-size: clamp(2.3rem, 3.1vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0.3rem 0 0.7rem;
}

.db-hero-text h1 span {
  display: block;
  background: linear-gradient(to right, #38bdf8, #4ade80);
  background-clip: text;          /* ✅ Standard */
  -webkit-background-clip: text; /* ✅ Safari/Chrome */
  color: transparent;
}


.db-hero-subtitle {
  max-width: 32rem;
  font-size: 0.97rem;
  color: var(--text-muted);
}

.db-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1.2rem;
}

.db-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.db-stat {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Right panel */

.db-hero-panel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.db-hero-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  background: radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.2),
      rgba(15, 23, 42, 0.98)
    );
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.db-hero-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.db-hero-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.db-hero-note {
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* DigitalBridge sections */

.db-section {
  position: relative;
}

.db-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.db-bullets {
  display: grid;
  gap: 0.6rem;
}

.db-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.96);
}

/* Columns */

.db-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}

.db-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.35rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

.db-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.db-card p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Process */

.db-process {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.db-steps {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  display: grid;
  gap: 0.4rem;
}

.db-highlight {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  background: radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.16),
      rgba(15, 23, 42, 0.98)
    );
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.db-mini {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* CTA */

.db-cta {
  text-align: center;
}

.db-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.db-cta-inner h2 {
  margin-bottom: 0.4rem;
}

.db-cta-inner p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.db-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* Nav button state */

.db-nav-btn {
  border-radius: 999px;
}

.db-nav-btn-active {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
}

/* Hero DigitalBridge button styling tweak */

.db-hero-btn {
  border-style: solid;
}

/* Responsive tweaks for DigitalBridge */

@media (max-width: 960px) {
  .db-hero-grid,
  .db-intro-grid,
  .db-process {
    grid-template-columns: minmax(0, 1fr);
  }

  .db-hero-panel {
    order: -1;
  }

  .db-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .db-hero {
    padding-top: 4.25rem;
  }

  .db-hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .db-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .db-cta-actions {
    flex-direction: column;
  }
}

/* DigitalBridge media section */

.db-media {
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.08),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.04),
      transparent 60%
    );
}

.db-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: center;
}

.db-media-info h2 {
  margin-bottom: 0.5rem;
}

.db-media-info p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.db-media-frame {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
}

.db-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 1rem;
  overflow: hidden;
}

.db-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Title block under video */

.db-media-title {
  margin-top: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

/* Responsive for media section */

@media (max-width: 960px) {
  .db-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Two video frame layout */

.db-media-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 960px) {
  .db-media-frames {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* DIGITALBRIDGE GALLERY / SLIDESHOW
   -------------------------------------- */

.db-gallery {
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.06),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.03),
      transparent 60%
    );
}

.db-slider {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-top: 1rem;
}

.db-slides {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.db-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-slide.active {
  opacity: 1;
}

.db-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider controls */

.db-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.db-slide-prev {
  left: 0.7rem;
}

.db-slide-next {
  right: 0.7rem;
}

/* Dots */

.db-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.db-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.db-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}
/* ================================
   ACCENTURE-INSPIRED HOME THEME
   (HOME PAGE ONLY)
================================ */

/* Global tone */
body {
  background-color: #0f0f14;
  color: #e6e6eb;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

/* Header */
.site-header {
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links a {
  color: #e6e6eb;
}

.nav-links a:hover {
  color: #a855f7;
}

/* Hero */
.hero {
  background: radial-gradient(
      1000px 400px at 10% 10%,
      rgba(168, 85, 247, 0.15),
      transparent 60%
    ),
    radial-gradient(
      800px 300px at 90% 30%,
      rgba(56, 189, 248, 0.12),
      transparent 60%
    ),
    #0f0f14;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #b8b8c7;
  max-width: 640px;
}

/* Primary buttons */
.btn-primary {
  background: linear-gradient(90deg, #a855f7, #6366f1);
  border: none;
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Ghost buttons */
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e6e6eb;
}

/* Section backgrounds like Accenture */
.section {
  background-color: #0f0f14;
}

.section-alt {
  background-color: #14141b;
}

/* Section headings */
.section-heading h2,
.section-heading-inline h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.4px;
}

.section-heading p,
.section-heading-inline p {
  color: #b8b8c7;
}

/* Cards */
.card,
.db-card,
.about-card,
.portfolio-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.card h3,
.db-card h3,
.about-card h3 {
  color: #ffffff;
}

/* Icons on cards */
.card-icon {
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  color: #0f0f14;
  font-weight: 700;
}

/* Chips (Who we serve) */
.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip h3 {
  color: #fff;
}

.chip p {
  color: #b8b8c7;
}

/* Portfolio thumbnails */
.portfolio-thumb {
  background-color: #1b1b25;
}

/* Footer */
.footer {
  background: #0b0b10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-text,
.footer a,
.footer li {
  color: #b8b8c7;
}

.footer a:hover {
  color: #a855f7;
}
/* Animated hero glow */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 85, 247, 0.25), transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(56, 189, 248, 0.22), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: heroGlow 22s ease-in-out infinite alternate;
}

.hero::after {
  animation-duration: 32s;
  animation-direction: alternate-reverse;
  opacity: 0.7;
}

@keyframes heroGlow {
  0% {
    transform: translate3d(-3%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.07);
  }
}
/* Card hover polish */
.card,
.db-card,
.about-card,
.portfolio-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.card:hover,
.db-card:hover,
.about-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
}

/* Chip hover polish */
.chip {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

/* Button micro-animations */
.btn-primary {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(168, 85, 247, 0.6);
  opacity: 1;
}

.btn-ghost {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
/* WHAT WE DO – interactive cards */
#what-we-do .cards-grid .card {
  position: relative;
  overflow: hidden;
}

/* subtle animated gradient stripe */
#what-we-do .cards-grid .card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 140%;
  height: 140%;
  background: conic-gradient(
    from 180deg,
    rgba(168, 85, 247, 0.12),
    rgba(56, 189, 248, 0.18),
    transparent,
    rgba(56, 189, 248, 0.18),
    rgba(168, 85, 247, 0.12)
  );
  opacity: 0;
  transform: rotate(0deg) scale(1);
  transition:
    opacity 0.35s ease,
    transform 0.8s ease;
  pointer-events: none;
}

#what-we-do .cards-grid .card:hover::before {
  opacity: 1;
  transform: rotate(8deg) scale(1.05);
}

/* icon & text motion */
#what-we-do .cards-grid .card .card-icon {
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

#what-we-do .cards-grid .card:hover .card-icon {
  transform: translateY(-4px) scale(1.02);
}

/* headline + list on hover */
#what-we-do .cards-grid .card h3 {
  transition: color 0.2s ease;
}

#what-we-do .cards-grid .card:hover h3 {
  color: #e9d5ff; /* light purple */
}

#what-we-do .cards-grid .card .card-list li {
  position: relative;
  padding-left: 0.5rem;
}

#what-we-do .cards-grid .card .card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.9);
}
/* INSIGHTS / CASE STUDIES – interactive tiles */
#insights .portfolio-card {
  position: relative;
  overflow: hidden;
}

/* zoom image on hover */
#insights .portfolio-card .portfolio-thumb {
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

#insights .portfolio-card:hover .portfolio-thumb {
  transform: scale(1.08);
  filter: brightness(1.15);
}

/* overlay panel that slides up */
#insights .portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.95),
    rgba(10, 10, 15, 0.6),
    transparent
  );
  opacity: 0;
  transform: translateY(14%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

#insights .portfolio-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* lift body content + show arrow CTA */
#insights .portfolio-card .portfolio-body {
  position: relative;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

#insights .portfolio-card:hover .portfolio-body {
  transform: translateY(-4px);
}

/* subtle arrow on hover */
#insights .portfolio-card .portfolio-body h3 {
  position: relative;
  padding-right: 1.2rem;
  transition: color 0.25s ease;
}

#insights .portfolio-card:hover .portfolio-body h3 {
  color: #e9d5ff;
}

#insights .portfolio-card .portfolio-body h3::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

#insights .portfolio-card:hover .portfolio-body h3::after {
  opacity: 1;
  transform: translateY(0);
}
/* Simple entrance animation on load */
.hero,
#what-we-do,
#who-we-serve,
#insights,
#about,
#contact {
  animation: fadeUp 0.7s ease-out;
  animation-fill-mode: both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FIX: Main section heading sizes on home page */
#what-we-do h2,
#who-we-serve h2,
#insights h2,
#about h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.4px;
}
/* FORCE these section titles to stay on ONE line */
#what-we-do h2,
#who-we-serve h2,
#insights h2,
#about h2 {
  white-space: nowrap;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem); /* Slightly smaller to fit one line */
  line-height: 0.8;
  letter-spacing: -0.3px;
}
/* DESKTOP: keep main section titles on a single line */
@media (min-width: 900px) {
  #what-we-do .section-heading h2,
  #who-we-serve .section-heading h2,
  #insights .section-heading-inline h2,
  #about .section-heading h2 {
    display: inline-block;
    white-space: nowrap;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.3px;
    max-width: none;
  }
}
/* FORCE NAV LAYOUT: Logo Left, Menu Right */
.site-header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.site-header .brand {
  margin-right: auto !important;
  text-align: left !important;
}

.site-header .nav-links {
  margin-left: auto !important;
  justify-content: flex-end !important;
  text-align: right !important;
}
/* Home page section titles – keep them neat on desktop */
@media (min-width: 900px) {
  main#home .section-heading h2,
  main#home .section-heading-inline h2 {
    display: inline-block;
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: -0.3px;
    white-space: nowrap;
    max-width: none;
  }
}
/* Make logo left and menu right */
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand {
  margin-right: auto;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
/* Force key section titles to stay neat and mostly on one line */
.section-title-single {
  display: inline-block;
  white-space: nowrap;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
/* FORCE entire nav (logo + menu) to the RIGHT */
.site-header .nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

/* Remove any auto-centering */
.site-header .brand {
  margin: 0;
  margin-right: 1.5rem;
}

.site-header .nav-links {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
/* DIGITALBRIDGE BUTTON – Flip + Bounce Effect */
.db-nav-btn {
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    background 0.25s ease;
  transform-style: preserve-3d;
}

/* Hover / focus animation */
.db-nav-btn:hover {
  transform: translateY(-2px) rotateX(8deg) scale(1.05);
  box-shadow: 0 14px 35px rgba(168, 85, 247, 0.6);
}

/* Click (bounce down) */
.db-nav-btn:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

/* Subtle glow pulse on idle */
@keyframes dbPulse {
  0% {
    box-shadow: 0 0 0 rgba(168, 85, 247, 0.0);
  }
  50% {
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
  }
  100% {
    box-shadow: 0 0 0 rgba(168, 85, 247, 0.0);
  }
}

/* Apply slow idle pulse */
.db-nav-btn {
  animation: dbPulse 4.5s ease-in-out infinite;
}
/* Floating Back Button for DigitalBridge page */
.db-back-btn {
  position: fixed;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 9999;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.55);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.db-back-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.75);
  opacity: 1;
}

.db-back-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 8px 18px rgba(168, 85, 247, 0.45);
}
