/*
Theme Name: Danish Butt Legal
Theme URI: https://danishbutt.legal
Author: Danish Butt
Author URI: https://danishbutt.legal
Description: Dark luxury editorial block theme for a senior legal operations consultancy. Deep navy canvas, warm gold signal, Playfair Display + Plus Jakarta Sans.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: danishbuttlegalnew
Tags: full-site-editing, block-patterns, dark, one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, wide-blocks
*/

/* ── Floating pill navigation ───────────────────── */
.db-nav-outer {
  position: fixed !important;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  z-index: 1000;
  pointer-events: none;
  padding: 0 !important;
  margin: 0 !important;
}

.db-nav-pill {
  background: rgba(10, 15, 26, 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 100px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  pointer-events: all;
}

.db-nav-pill .wp-block-navigation__container a,
.db-nav-pill .wp-block-navigation-item__content {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.db-nav-pill .wp-block-navigation__container a:hover,
.db-nav-pill .wp-block-navigation-item__content:hover {
  color: #D4AF37 !important;
  opacity: 1;
}

.db-nav-pill .wp-block-site-title a {
  color: #D4AF37 !important;
  text-decoration: none !important;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
}

/* ── Hero section ───────────────────────────────── */
.db-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right,
      rgba(10, 15, 26, 1) 0%,
      rgba(10, 15, 26, 0.9) 35%,
      rgba(10, 15, 26, 0) 70%),
    url('https://danishbutt.legal/wp-content/uploads/2026/03/Danish-9.png') center right / cover no-repeat;
  padding: 0 10%;
}

.db-hero-content {
  max-width: 700px;
}

.db-hero-eyebrow {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 15px;
}

.db-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  color: #ffffff;
  margin: 0 0 30px 0;
}

.db-hero-subtext {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 300;
  border-left: 2px solid #D4AF37;
  padding-left: 20px;
  line-height: 1.6;
}

.db-btn-gold {
  display: inline-block;
  background: #D4AF37;
  color: #000000;
  padding: 22px 45px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  transition: background 0.3s;
}

.db-btn-gold:hover {
  background: #E8C84A;
  color: #000000;
}

/* ── Problem / White interruption ───────────────── */
.db-problem {
  background: #ffffff;
  color: #0A0F1A;
  padding: 140px 10%;
  text-align: center;
}

.db-problem h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
}

.db-problem b {
  color: #2563EB;
  font-weight: 900;
}

/* ── Bento methodology ──────────────────────────── */
.db-bento {
  padding: 120px 10%;
  background: #070b14;
}

.db-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
  margin-top: 60px;
}

.db-bento-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.4s, background 0.4s;
}

.db-bento-item:hover {
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.06);
}

.db-bento-num {
  color: #D4AF37;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.db-bento-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.db-bento-item p {
  color: #94a3b8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.db-bento-main {
  grid-column: span 8;
  grid-row: span 2;
  background: linear-gradient(45deg, #1e3a8a, #0a0f1a);
  justify-content: center;
}

.db-bento-main h3 { font-size: 2.5rem; }

.db-bento-tall {
  grid-column: span 4;
  grid-row: span 2;
  border-color: #D4AF37;
}

.db-bento-sm {
  grid-column: span 4;
  grid-row: span 1;
}

/* ── Quote / photo split ────────────────────────── */
.db-quote-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000000;
  min-height: 700px;
  align-items: stretch;
}

.db-quote-photo {
  background: url('https://danishbutt.legal/wp-content/uploads/2026/03/Danish-1.jpg') center / cover no-repeat;
  min-height: 600px;
}

.db-quote-text {
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.db-quote-text blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 30px 0;
  border: none;
  padding: 0;
  color: #ffffff;
  quotes: none;
}

.db-quote-attr {
  color: #D4AF37;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin: 0;
}

/* ── Lead magnet section ────────────────────────── */
.db-magnet {
  padding: 120px 10%;
  background:
    linear-gradient(rgba(10, 15, 26, 0.85), rgba(10, 15, 26, 0.85)),
    url('https://danishbutt.legal/wp-content/uploads/2026/03/Danish-5.jpg') center / cover no-repeat;
  text-align: center;
}

.db-magnet-card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.db-magnet-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.db-magnet-card p {
  color: #94a3b8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

/* ── Inner page hero ────────────────────────────── */
.db-page-hero {
  background: #0A0F1A;
  padding: 180px 10% 120px;
  text-align: center;
}

.db-page-eyebrow {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.db-page-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 28px 0;
}

.db-page-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.db-page-rule {
  width: 60px;
  height: 2px;
  background: #D4AF37;
  margin: 36px auto 0;
}

/* ── Generic content sections ───────────────────── */
.db-section {
  padding: 120px 10%;
  background: #0A0F1A;
}

.db-section-alt {
  background: #070B14;
}

.db-section-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.db-section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  max-width: 700px;
}

.db-section-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 16px 0;
  max-width: 620px;
}

/* ── Card grid ──────────────────────────────────── */
.db-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.db-card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.db-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: border-color 0.3s, background 0.3s;
}

.db-card:hover {
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.06);
}

.db-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.db-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.db-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* ── About split ────────────────────────────────── */
.db-about-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  padding: 120px 10%;
  background: #070B14;
}

.db-about-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: url('https://danishbutt.legal/wp-content/uploads/2026/03/Danish-1.jpg') center top / cover no-repeat;
}

.db-about-bio h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 28px 0;
}

.db-about-bio p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.75;
  margin: 0 0 16px 0;
}

.db-about-bio p strong {
  color: #ffffff;
  font-weight: 700;
}

/* ── Career timeline ────────────────────────────── */
.db-timeline {
  padding: 80px 10% 120px;
  background: #0A0F1A;
}

.db-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.db-timeline-item {
  padding: 40px 30px 40px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.db-timeline-item:not(:first-child) {
  padding-left: 30px;
}

.db-timeline-item:last-child {
  border-right: none;
}

.db-timeline-dot {
  width: 8px;
  height: 8px;
  background: #D4AF37;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 0;
}

.db-timeline-item:not(:first-child) .db-timeline-dot {
  left: 30px;
}

.db-timeline-years {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  margin-top: 16px;
}

.db-timeline-firm {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.db-timeline-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ── Tools cards ────────────────────────────────── */
.db-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.db-tool-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, background 0.3s;
}

.db-tool-card:hover {
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.06);
}

.db-tool-card-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.db-tool-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.db-tool-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.db-tool-card a.db-btn-gold {
  align-self: flex-start;
  padding: 16px 32px;
  font-size: 0.75rem;
}

/* ── Speaking topics ────────────────────────────── */
.db-speaking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.db-speaking-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px 40px;
  transition: border-color 0.3s, background 0.3s;
}

.db-speaking-item:hover {
  border-color: #D4AF37;
  background: rgba(255, 255, 255, 0.06);
}

.db-speaking-item-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.db-speaking-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.db-speaking-item p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* ── Contact section ────────────────────────────── */
.db-contact {
  padding: 120px 10%;
  background: #070B14;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.db-contact-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 28px 0;
}

.db-contact-left p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.db-contact-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.db-contact-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.db-contact-item-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.db-contact-item-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #ffffff;
  margin: 0;
}

.db-contact-item-value a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.db-contact-item-value a:hover {
  color: #D4AF37;
}

/* ── Responsive (< 900px) ───────────────────────── */
@media (max-width: 900px) {
  .db-nav-outer {
    top: 10px;
    width: 95%;
  }

  .db-nav-pill {
    border-radius: 20px !important;
  }

  .db-hero {
    background-position: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 80px;
    height: auto;
    min-height: 100vh;
  }

  .db-hero-content {
    background: rgba(10, 15, 26, 0.6);
    padding: 30px;
    border-radius: 10px;
  }

  .db-hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .db-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .db-bento-main,
  .db-bento-tall,
  .db-bento-sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }

  .db-quote-split {
    grid-template-columns: 1fr;
  }

  .db-quote-photo {
    min-height: 400px;
  }

  .db-quote-text {
    padding: 60px 30px;
  }

  .db-magnet-card {
    padding: 40px 30px;
  }

  .db-page-hero {
    padding: 140px 5% 80px;
  }

  .db-section {
    padding: 80px 5%;
  }

  .db-card-grid,
  .db-card-grid-2,
  .db-tools-grid,
  .db-speaking-grid {
    grid-template-columns: 1fr;
  }

  .db-about-split {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 5%;
  }

  .db-about-photo {
    aspect-ratio: 4/3;
  }

  .db-timeline {
    padding: 60px 5% 80px;
  }

  .db-timeline-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .db-timeline-item,
  .db-timeline-item:not(:first-child) {
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .db-timeline-item:last-child {
    border-bottom: none;
  }

  .db-timeline-dot {
    display: none;
  }

  .db-contact {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 5%;
  }
}
