/* ============================================================
   QAZI MULTIVENTURES — Design System
   Palette:  white/light-blue base + brand blue, with a teal and
             coral accent tied directly to the "Be. Learn. Grow."
             philosophy (blue = Be, teal = Learn, coral = Grow).
   Type:     Plus Jakarta Sans (display) / Inter (body)
   Motion:   minimal — reveal-on-scroll + small hover shifts only
   ============================================================ */

:root {
  /* neutrals */
  --bg: #fbfcfe;
  --bg-alt: #f3f6fb;
  --bg-deep: #eef2f9;
  --surface: #ffffff;
  --border: #e3e8f0;
  --border-soft: #edf1f7;

  --ink: #1c2531;
  --text: #37424f;
  --text-muted: #64748b;
  --text-faint: #98a2b3;

  /* brand triad */
  --blue: #2f6fed;
  --blue-deep: #1e4fbe;
  --blue-glow: rgba(47, 111, 237, 0.12);
  --blue-glow-soft: rgba(47, 111, 237, 0.06);

  --teal: #0d9488;
  --teal-deep: #0b7a70;
  --teal-glow: rgba(13, 148, 136, 0.12);

  --coral: #ef6351;
  --coral-deep: #d84c39;
  --coral-glow: rgba(239, 99, 81, 0.12);

  /* 4th accent — introduced for The QAZI Method's 4-step framework
     (Question/Align/Zoom = existing triad; Impact needed its own color) */
  --violet: #7c5cd6;
  --violet-deep: #6647b8;
  --violet-glow: rgba(124, 92, 214, 0.12);

  /* radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* type */
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --shadow-sm: 0 6px 18px -10px rgba(28, 37, 49, 0.16);
  --shadow-md: 0 16px 32px -16px rgba(28, 37, 49, 0.18);
  --shadow-lg: 0 24px 48px -20px rgba(28, 37, 49, 0.22);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, var(--blue-glow-soft), transparent 45%),
    radial-gradient(
      circle at 100% 20%,
      rgba(13, 148, 136, 0.05),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(239, 99, 81, 0.04),
      transparent 35%
    );
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  transition: transform 0.2s var(--ease);
}
img:hover {
  transform: scale(1.04);
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.wrap-narrow {
  max-width: 780px;
}

.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-deep {
  background: var(--bg-deep);
}

.section-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag.center {
  justify-content: center;
}
.section-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 38px);
}
.section-title.center {
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 16.5px;
}
.section-sub.center {
  text-align: center;
}
.section-head {
  margin-bottom: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============ TRIAD MARK (signature element) ============ */
.triad-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.triad-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-style: normal;
}
.triad-dots i:nth-child(1) {
  background: var(--blue);
}
.triad-dots i:nth-child(2) {
  background: var(--teal);
}
.triad-dots i:nth-child(3) {
  background: var(--coral);
}

.triad-rule {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--blue) 0 33%,
    var(--teal) 33% 66%,
    var(--coral) 66% 100%
  );
  margin: 0 0 20px;
}
.triad-rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    color 0.18s;
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 24px -6px var(--blue-glow);
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--coral);
  color: #ffffff;
}
.btn-coral:hover {
  background: var(--coral-deep);
  box-shadow: 0 10px 24px -6px var(--coral-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--blue);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ============ BADGES / PILLS ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue-deep);
  background: var(--blue-glow);
  border: 1px solid rgba(47, 111, 237, 0.22);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.pill-blue {
  color: var(--blue-deep);
  background: var(--blue-glow);
}
.pill-teal {
  color: var(--teal-deep);
  background: var(--teal-glow);
}
.pill-coral {
  color: var(--coral-deep);
  background: var(--coral-glow);
}
.pill-muted {
  color: var(--text-muted);
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

.badge-wip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: var(--coral-glow);
  border: 1px solid rgba(239, 99, 81, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-wip .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-coral 2s infinite;
}
@keyframes pulse-coral {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 99, 81, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 99, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 99, 81, 0);
  }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(28, 37, 49, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-mark .triad-dots {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 3px;
  box-shadow: 0 2px 6px rgba(28, 37, 49, 0.18);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.2;
}
.brand-name em {
  color: var(--blue);
  font-style: normal;
}
.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav a:hover {
  color: var(--blue);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}
.main-nav a.active {
  color: var(--ink);
  font-weight: 600;
}
.main-nav a.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.header-actions {
  display: flex;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO (home) ============ */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
}
.hero-lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
  margin: 20px 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-philosophy {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 37, 49, 0) 55%,
    rgba(20, 28, 40, 0.55) 100%
  );
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
  opacity: 0.55;
}
.hero-blob-1 {
  width: 220px;
  height: 220px;
  background: var(--teal);
  top: -40px;
  right: -30px;
  opacity: 0.18;
}
.hero-blob-2 {
  width: 180px;
  height: 180px;
  background: var(--coral);
  bottom: -30px;
  left: -30px;
  opacity: 0.16;
}
.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.hero-float-card .icon-chip {
  flex: none;
}
.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.hero-float-card span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============ INNER PAGE BANNER ============ */
.page-banner {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-banner-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.page-banner h1 {
  font-size: clamp(32px, 4vw, 46px);
}
.page-banner-lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 18px 0 0;
}
.page-banner-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.page-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner.no-photo .page-banner-inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.page-banner.no-photo {
  text-align: center;
}
.page-banner.no-photo .page-banner-lead {
  margin-left: auto;
  margin-right: auto;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.crumb a {
  color: var(--text-muted);
}
.crumb a:hover {
  color: var(--blue);
}

/* ============ ICON CHIPS ============ */
.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-chip svg {
  width: 24px;
  height: 24px;
}
.icon-chip-blue {
  background: var(--blue-glow);
  color: var(--blue);
}
.icon-chip-teal {
  background: var(--teal-glow);
  color: var(--teal);
}
.icon-chip-coral {
  background: var(--coral-glow);
  color: var(--coral);
}
.icon-chip-sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.icon-chip-sm svg {
  width: 19px;
  height: 19px;
}
.icon-chip-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}
.icon-chip-lg svg {
  width: 28px;
  height: 28px;
}

/* ============ CARDS ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* Philosophy (Be / Learn / Grow) cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.philosophy-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--blue);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.philosophy-card.learn {
  border-top-color: var(--teal);
}
.philosophy-card.grow {
  border-top-color: var(--coral);
}
.philosophy-word {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}
.philosophy-card.be .philosophy-word {
  color: var(--blue);
}
.philosophy-card.learn .philosophy-word {
  color: var(--teal);
}
.philosophy-card.grow .philosophy-word {
  color: var(--coral);
}
.philosophy-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Ecosystem preview cards */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.eco-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.eco-card h3 {
  font-size: 18px;
  margin-bottom: 2px;
}
.eco-card .eco-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.eco-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
  flex: 1;
}
.eco-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* Ecosystem detail sections (on ecosystem.html) */
.eco-detail {
  padding: 72px 0;
  scroll-margin-top: 96px;
}
.eco-detail:nth-child(even) {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.eco-detail-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}
.eco-detail.reverse .eco-detail-inner {
  direction: rtl;
}
.eco-detail.reverse .eco-detail-inner > * {
  direction: ltr;
}
.eco-detail-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.eco-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eco-offer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 26px;
}
.eco-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.eco-offer-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}
.eco-highlight {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.eco-highlight strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}
.eco-highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Ecosystem infographic (Our Ecosystem page) */
.eco-infographic {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.eco-infographic-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.eco-infographic-scroll svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 760px;
}
@media (max-width: 900px) {
  .eco-infographic-scroll svg {
    min-width: 920px;
  }
}
.eco-infographic-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
  padding: 10px 4px 0;
}
@media (max-width: 900px) {
  .eco-infographic-hint {
    display: flex;
  }
}

/* Sub-initiative cards nested inside each eco-detail section */
.eco-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.eco-sub-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.eco-sub-card h4 {
  font-size: 14.5px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  color: var(--ink);
}
.eco-sub-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.eco-sub-card.is-placeholder {
  background: transparent;
  border-style: dashed;
}
.eco-sub-card.is-placeholder p {
  color: var(--text-faint);
  font-style: italic;
}

/* Trust / feature cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.founder-frame {
  position: relative;
  aspect-ratio: 1/1.05;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    155deg,
    var(--blue-glow) 0%,
    var(--teal-glow) 55%,
    var(--coral-glow) 100%
  );
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-frame .founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.founder-frame .founder-photo:hover {
  transform: scale(1.04);
}
.founder-frame .founder-monogram {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--blue-deep);
  opacity: 0.85;
}
.founder-frame .founder-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.founder-frame .founder-caption svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--blue);
}
.founder-name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}
.founder-title {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 18px;
}

/* Founder photo as a modal trigger */
.founder-frame-trigger {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.founder-frame-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.founder-frame-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.founder-frame-hint svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.founder-frame-trigger:hover .founder-frame-hint,
.founder-frame-trigger:focus-visible .founder-frame-hint {
  opacity: 1;
  transform: translateY(0);
}
.founder-more-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.founder-more-btn svg {
  width: 16px;
  height: 16px;
}

/* ============ MODAL (generic — used by Meet the Founder; reusable
   for any future click-to-expand content) ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 37, 49, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s var(--ease);
}
.modal-overlay.is-open .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.modal-close:hover {
  color: var(--ink);
  border-color: var(--border);
  background: var(--bg-alt);
}
.modal-close svg {
  width: 18px;
  height: 18px;
}

/* Founder modal specifics */
.modal-panel-founder {
  max-width: 720px;
  padding: 0;
  overflow: hidden;
}
.modal-founder-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
}
.modal-founder-photo {
  min-height: 100%;
}
.modal-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-founder-body {
  padding: 40px 36px;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-founder-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
}
.modal-founder-body .founder-quote {
  font-size: 17px;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .modal-founder-grid {
    grid-template-columns: 1fr;
  }
  .modal-founder-photo {
    min-height: 220px;
  }
  .modal-founder-body {
    padding: 28px 22px;
    max-height: none;
    overflow-y: visible;
  }
}

/* ============ BLOG / INSIGHTS ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.blog-card:hover .blog-card-photo img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-faint);
}
.blog-card h3 {
  font-size: 17.5px;
  margin: 0;
  line-height: 1.35;
}
.blog-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.blog-card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.blog-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s;
}
.blog-card:hover .blog-card-link svg {
  transform: translateX(3px);
}

/* Single post */
.post-header {
  padding: 56px 0 40px;
  text-align: center;
}
.post-header .wrap {
  max-width: 760px;
}
.post-header h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 18px;
  flex-wrap: wrap;
}
.post-meta .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
}
.post-hero-photo {
  max-width: 980px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.post-hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/8;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  height: auto;
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.post-body h2 {
  font-size: 24px;
  margin-top: 1.6em;
}
.post-body p {
  margin: 0 0 1.4em;
}
.post-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--teal);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.post-body ul {
  margin: 0 0 1.4em;
  padding-left: 0;
}
.post-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
}
.post-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}
.post-author {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.post-author .founder-monogram-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--blue-glow), var(--teal-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-deep);
  flex: none;
  overflow: hidden;
}
.post-author .founder-monogram-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
}
.post-author span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.back-link:hover {
  color: var(--blue);
}
.back-link svg {
  width: 16px;
  height: 16px;
}

/* ============ QAZI METHOD — 3 step ============ */
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.method-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}
.method-step .step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
}
.method-step:nth-child(1) .step-num {
  color: var(--blue-deep);
  background: var(--blue-glow);
}
.method-step:nth-child(2) .step-num {
  color: var(--teal-deep);
  background: var(--teal-glow);
}
.method-step:nth-child(3) .step-num {
  color: var(--coral-deep);
  background: var(--coral-glow);
}
.method-arrow {
  display: none;
}
@media (min-width: 901px) {
  .method-steps {
    position: relative;
  }
}

.method-cta-band {
  margin-top: 56px;
  background: linear-gradient(
    135deg,
    var(--ink) 0%,
    #223047 55%,
    var(--blue-deep) 100%
  );
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.method-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(13, 148, 136, 0.35),
      transparent 45%
    ),
    radial-gradient(circle at 85% 80%, rgba(239, 99, 81, 0.28), transparent 40%);
}
.method-cta-band > * {
  position: relative;
  z-index: 1;
}
.method-cta-band h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 12px;
}
.method-cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 15.5px;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--blue);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  color: var(--blue);
  font-size: 20px;
  transition: transform 0.2s;
  flex: none;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--text-muted);
  padding-bottom: 20px;
  margin: 0;
  font-size: 15px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 14.5px;
  color: var(--text-muted);
}
.contact-info-item a:hover {
  color: var(--blue);
}

.contact-social {
  display: flex;
  gap: 10px;
}
.contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.18s;
}
.contact-social a:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.contact-social svg {
  width: 19px;
  height: 19px;
}

.map-frame {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 16/10;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--surface);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 6px;
}
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 18px;
}
.form-note svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--text-faint);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-visible {
  display: block;
}
.form-success .icon-chip {
  margin: 0 auto 18px;
}
.form-success h3 {
  margin-bottom: 10px;
}
.form-success p {
  color: var(--text-muted);
}
.form-card.is-submitted .form-fields {
  display: none;
}

/* ============ CTA BAND (final section, reused across pages) ============ */
.cta-section {
  text-align: center;
}
.cta-inner {
  max-width: 660px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 40px);
}
.cta-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}
.contact-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 64px;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand {
  margin-bottom: 14px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.18s;
}
.footer-social a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a {
  color: var(--blue);
  font-weight: 600;
}

/* ============ FLOATING WHATSAPP ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  z-index: 70;
  transition: transform 0.2s;
}
.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  color: #fff;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* ============ REVEAL ANIMATION (minimal) ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ MISC ============ */
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 56px 0;
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.stat-strip .stat-num.teal {
  color: var(--teal);
}
.stat-strip .stat-num.coral {
  color: var(--coral);
}
.stat-strip .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.disclosure-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}
.disclosure-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--text-faint);
  margin-top: 1px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-inner,
  .page-banner-inner,
  .founder-grid,
  .eco-detail-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .eco-detail.reverse .eco-detail-inner {
    direction: ltr;
  }
  .hero-visual,
  .page-banner-photo {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .founder-frame {
    max-width: 340px;
    margin: 0 auto;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .philosophy-grid,
  .trust-grid,
  .eco-grid,
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4,
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .header-actions {
    display: none;
  }
  
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .section {
    padding: 64px 0;
  }
  .grid-3,
  .philosophy-grid,
  .trust-grid,
  .eco-grid,
  .method-steps,
  .grid-4,
  .stat-strip,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .contact-buttons {
    flex-direction: column;
    width: 100%;
  }
  .contact-buttons .btn {
    width: 100%;
  }
  .method-cta-band {
    padding: 32px 24px;
  }
  .form-card {
    padding: 26px;
  }
  .post-body {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WORDPRESS THEME ADDITIONS
   Added during static -> WordPress theme conversion.
   Edit freely — same rules as the rest of this file.
   ============================================================ */

/* Logo (replaces the old "QM" letter-mark with the real logo image) */
.brand-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.brand-logo-wrap .triad-dots {
  position: absolute;
  bottom: -5px;
  right: -9px;
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 3px;
  box-shadow: 0 2px 6px rgba(28, 37, 49, 0.18);
}
.footer-brand .brand-logo-img {
  height: 34px;
}

/* Blog card filter — WordPress-rendered cards get their category
   from PHP (get_the_category) instead of a hardcoded data-category
   attribute, everything else about the filter JS is unchanged. */

/* ============================================================
   FOUNDER'S LETTER MODAL
   Reuses the generic .modal-overlay / .modal-panel / .modal-close
   system already defined above (see "MODAL (generic)") — only the
   letter-specific inner layout is new.
   ============================================================ */
.modal-panel-letter {
  max-width: 900px;
  padding: 0;
}
.modal-letter-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
}
.modal-letter-photo {
  min-height: 100%;
  background: var(--bg-deep);
}
.modal-letter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-letter-body {
  padding: 44px 44px 30px;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-letter-body .section-tag {
  margin-bottom: 4px;
}
.modal-letter-body h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 18px;
}
.modal-letter-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--text);
}
.modal-letter-body .letter-greeting {
  font-weight: 700;
  color: var(--ink);
}
.letter-modal-footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.letter-optout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.letter-optout input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
  flex: none;
}
.letter-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .modal-letter-grid {
    grid-template-columns: 1fr;
  }
  .modal-letter-photo {
    min-height: 200px;
  }
  .modal-letter-body {
    padding: 30px 24px 26px;
    max-height: none;
    overflow-y: visible;
  }
  .letter-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .letter-modal-actions {
    flex-direction: column;
  }
  .letter-modal-actions .btn {
    width: 100%;
  }
}

/* Header/footer triggers that reopen the Founder's Letter modal */
.footer-founder-letter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.footer-founder-letter-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.footer-founder-letter-btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ============================================================
   THE QAZI METHOD — page-specific components
   ============================================================ */

/* 4th accent (violet) applied to the existing icon-chip / pill system */
.icon-chip-violet {
  background: var(--violet-glow);
  color: var(--violet);
}
.pill-violet {
  color: var(--violet-deep);
  background: var(--violet-glow);
}

/* "Evolving framework" badge — same shape as .badge-wip but blue,
   since this page is no longer a "coming soon" placeholder. */
.badge-evolving {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-glow);
  border: 1px solid rgba(47, 111, 237, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-evolving .pulse-dot-blue {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-blue 2s infinite;
}
@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 111, 237, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(47, 111, 237, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 111, 237, 0);
  }
}

/* "At a Glance" flow diagram — Q -> A -> Z -> I circles + arrows */
.qazi-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 36px;
}
.qazi-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 230px;
}
.qazi-flow-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.qazi-flow-circle-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}
.qazi-flow-circle-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.qazi-flow-circle-coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
}
.qazi-flow-circle-violet {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
}
.qazi-flow-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.qazi-flow-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.qazi-flow-arrow {
  flex: none;
  color: var(--text-faint);
  width: 20px;
  height: 20px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .qazi-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .qazi-flow-step {
    max-width: none;
    flex-direction: row;
    text-align: left;
    gap: 18px;
  }
  .qazi-flow-circle {
    margin-bottom: 0;
  }
  .qazi-flow-arrow {
    display: none;
  }
}

/* Reflect / Learn / Adapt / Question Again cycle strip */
.qazi-cycle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 14px 26px;
  margin: 0 auto 28px;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
}
.qazi-cycle-bar svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
}
.qazi-cycle-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  text-align: center;
}
.qazi-cycle-text .sep {
  color: var(--text-faint);
  font-weight: 500;
  padding: 0 6px;
}

/* Inspir-action band */
.qazi-inspir-band {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--blue-glow), var(--teal-glow));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  max-width: 820px;
  margin: 0 auto;
}
.qazi-inspir-band .icon-chip {
  flex: none;
}
.qazi-inspir-band p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
}
.qazi-inspir-band strong {
  font-family: var(--font-display);
  color: var(--ink);
}
@media (max-width: 600px) {
  .qazi-inspir-band {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* Detailed Q / A / Z / I breakdown — stacked rows so the full copy
   (as provided) reads as continuous prose, not chopped into cards */
.qazi-detail-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 36px 0;
}
.qazi-detail-row + .qazi-detail-row {
  border-top: 1px solid var(--border-soft);
}
.qazi-detail-row .icon-chip-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
}
.qazi-detail-title {
  font-size: 22px;
  margin-bottom: 12px;
}
.qazi-detail-row p {
  color: var(--text-muted);
  font-size: 15.5px;
}
.qazi-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.qazi-punchline {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  color: var(--ink) !important;
}
@media (max-width: 600px) {
  .qazi-detail-row {
    grid-template-columns: 1fr;
  }
}

/* Response-type pills ("From Thought to Action") */
.qazi-response-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

/* Reusable pull-quote (not scoped to .post-body, unlike the blog
   blockquote style it borrows from) */
.pull-quote {
  margin: 8px 0 28px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--teal);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

/* "Reflection Is Part of the Method" — text + photo block
   (same visual language as .eco-detail-inner, kept separate so it
   isn't affected by .eco-detail's :nth-child alternating background,
   which is meant for a repeated series, not a one-off section) */
.reflection-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}
.reflection-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.reflection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placed after the base rule above on purpose — CSS cascades by source
   order for equal-specificity selectors, and .reflection-block's base
   rule lives here (later in the file than the shared 1000px breakpoint
   near "RESPONSIVE"), so a stack/order override needs to come after it
   too, or the base rule silently wins regardless of viewport. */
@media (max-width: 1000px) {
  .reflection-block {
    grid-template-columns: 1fr;
  }
  .reflection-photo {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
}
