/* ==========================================================================
   PLOTD — Global Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  --void:      #080810;
  --slab:      #0e0e1a;
  --form:      #14141f;
  --blueprint: #23c0bc;
  --copper:    #B8722C;
  --steel:     #6E728A;
  --ivory:     #F4F1EB;
  --chalk:     rgba(244, 241, 235, 0.06);
  --chalk2:    rgba(244, 241, 235, 0.11);
  --bp-glow:   rgba(35, 192, 188, 0.14);
  --glass-bg:  rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Letter-spacing system */
  --ls-label:   0.12em;   /* small uppercase labels, tags, badges */
  --ls-nav:     0.06em;   /* nav links, footer, CTAs, profile links */
  --ls-btn:     0.04em;   /* buttons, mid-size uppercase */
  --ls-heading: -0.02em;  /* all headings and titles */
  --ls-logo:    0.1em;    /* logo wordmark only */
}

/* --------------------------------------------------------------------------
   Custom Fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Outreque';
  src: url('assets/outreque.woff2') format('woff2'),
       url('assets/outreque.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--ivory);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.overflow-hidden {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

section {
  padding: 96px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.s-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 18px;
  display: block;
}

.s-tag.copper { color: var(--copper); }
.s-tag.steel  { color: var(--steel); }

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: var(--ls-heading);
}

.section-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: var(--ls-heading);
}

.body-large {
  font-size: 18px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */

.btn-primary {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--blueprint);
  border: 1px solid rgba(35, 192, 188, 0.45);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  background: rgba(35, 192, 188, 0.05);
  backdrop-filter: blur(8px);
}

.btn-primary:hover {
  background: var(--blueprint);
  color: var(--void);
  box-shadow: 0 0 24px rgba(35, 192, 188, 0.35);
}

.cta-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: var(--ls-btn);
  color: var(--blueprint);
  transition: opacity 0.2s;
}

.cta-link:hover {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(8, 8, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--chalk);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.logo-wordmark {
  font-family: 'Outreque', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: var(--ls-logo);
  text-transform: uppercase;
  color: var(--ivory);
}

.wordmark-dot {
  color: var(--blueprint);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ivory);
}

.nav-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  color: var(--blueprint);
  text-decoration: none;
  border: 1px solid rgba(35, 192, 188, 0.4);
  padding: 9px 20px;
  border-radius: 8px;
  background: rgba(35, 192, 188, 0.04);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--blueprint);
  color: var(--void);
  box-shadow: 0 0 20px rgba(35, 192, 188, 0.3);
}

/* Hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--blueprint);
}

.mobile-menu .mobile-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: var(--ls-nav);
  color: var(--blueprint);
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  background: var(--slab);
  border-top: 1px solid var(--chalk);
  padding: 40px 56px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-email {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  color: var(--blueprint);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 0.75;
}

.footer-copy {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  color: var(--steel);
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   Dot Grid Background Texture
   -------------------------------------------------------------------------- */

.grid-bg {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(35, 192, 188, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(35, 192, 188, 0.1) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

/* --------------------------------------------------------------------------
   Pain Point Cards (S02)
   -------------------------------------------------------------------------- */

.pain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ivory);
  padding: 36px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  border-left: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  border-left-color: var(--blueprint);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pain-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: var(--ls-btn);
  margin-bottom: 12px;
  color: var(--ivory);
}

.pain-card-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Service Columns (S03)
   -------------------------------------------------------------------------- */

.service-col {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.service-col.primary  { border-top: 3px solid var(--blueprint); }
.service-col.secondary { border-top: 3px solid var(--copper); }

.service-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--ivory);
}

.service-list {
  list-style: none;
}

.service-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--steel);
  padding: 10px 0;
  border-bottom: 1px solid var(--chalk);
  transition: color 0.2s;
}

.service-item:hover {
  color: var(--ivory);
}

.service-item::before {
  content: "→ ";
  color: var(--blueprint);
}

.service-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: var(--ls-btn);
  color: var(--blueprint);
  text-transform: uppercase;
  margin-top: 28px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.service-price:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Process Steps (S04)
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(35, 192, 188, 0.3) 0,
    rgba(35, 192, 188, 0.3) 6px,
    transparent 6px,
    transparent 14px
  );
  pointer-events: none;
  z-index: 1;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 36px 32px;
}

.step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 14px;
}

.step-divider {
  height: 1px;
  background: var(--chalk);
  margin: 14px 0;
}

.step-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Stat Cards (S05)
   -------------------------------------------------------------------------- */

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 44px;
}

.stat-card:first-child  { border-bottom: 3px solid var(--blueprint); }
.stat-card:nth-child(2) { border-bottom: 3px solid var(--copper); }
.stat-card:last-child   { border-bottom: 3px solid var(--steel); }

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 80px;
  letter-spacing: var(--ls-heading);
  color: var(--blueprint);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.65;
}

.stat-quote {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  color: var(--steel);
  text-align: center;
  max-width: 560px;
  margin: 56px auto 0;
}

/* --------------------------------------------------------------------------
   Work Cards (S06 & work.html)
   -------------------------------------------------------------------------- */

.work-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--glass-border);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(35, 192, 188, 0.1);
}

.work-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-thumb.bp { background: linear-gradient(135deg, #001a66, var(--blueprint)); }
.work-thumb.cp { background: linear-gradient(135deg, #3d2000, var(--copper)); }
.work-thumb.st { background: linear-gradient(135deg, #1a1c28, var(--steel)); }

.work-thumb-mark {
  opacity: 0.08;
}

.work-info {
  padding: 28px;
}

.work-category {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.work-card:nth-child(1) .work-category,
.work-card:nth-child(4) .work-category { color: var(--blueprint); }
.work-card:nth-child(2) .work-category,
.work-card:nth-child(5) .work-category { color: var(--copper); }
.work-card:nth-child(3) .work-category,
.work-card:nth-child(6) .work-category { color: var(--steel); }

.work-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 6px;
}

.work-type {
  font-size: 13px;
  font-weight: 400;
  color: var(--steel);
}

.work-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(244, 241, 235, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Pillar Cards (S07)
   -------------------------------------------------------------------------- */

.pillar-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.pillar-photo {
  height: 240px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.pillar-photo.justin { background: linear-gradient(135deg, #00174d, var(--blueprint)); }
.pillar-photo.ahmed { background: linear-gradient(135deg, #3d1e00, var(--copper)); }

.pillar-photo-mark {
  opacity: 0.1;
}

.pillar-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 4px;
}

.pillar-role {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--blueprint);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pillar-bio {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 24px;
}

.pillar-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  color: var(--blueprint);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 192, 188, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.pillar-link:hover {
  color: var(--ivory);
}

/* --------------------------------------------------------------------------
   CTA Strip
   -------------------------------------------------------------------------- */

.cta-strip {
  background: linear-gradient(135deg, #0d3030, #1a5555, var(--blueprint));
  padding: 96px 56px;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-strip-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 100px);
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  line-height: 0.95;
}

.cta-strip-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(244, 241, 235, 0.65);
  margin: 28px 0;
}

.cta-strip-email {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  text-decoration: none;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(244, 241, 235, 0.4);
  transition: border-color 0.2s;
}

.cta-strip-email:hover {
  border-bottom-color: var(--ivory);
}

.cta-strip-mark {
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0.06;
}

/* --------------------------------------------------------------------------
   Light Section (dark glass)
   -------------------------------------------------------------------------- */

.section-light {
  background: var(--slab);
  color: var(--ivory);
}

.section-light .s-tag         { color: var(--blueprint); }
.section-light .section-headline { color: var(--ivory); }
.section-light .body-large    { color: var(--steel); }
.section-light .transition-text { color: rgba(244, 241, 235, 0.35); }

/* --------------------------------------------------------------------------
   Page Hero
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--void);
  min-height: 60vh;
  padding-top: 160px;
  padding-bottom: 96px;
  display: flex;
  align-items: flex-end;
}

.page-hero .section-headline {
  margin-top: 20px;
  color: var(--ivory);
}

.page-hero .body-large {
  margin-top: 24px;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   Journey Hero Portrait
   -------------------------------------------------------------------------- */

.hero-portrait {
  height: 460px;
  background: linear-gradient(160deg, rgba(35,192,188,0.12) 0%, rgba(8,8,16,0.6) 50%, rgba(184,114,44,0.08) 100%);
  border: 1px solid rgba(35,192,188,0.18);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(35, 192, 188, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.portrait-initials {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 112px;
  color: rgba(35, 192, 188, 0.2);
  letter-spacing: -0.05em;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.portrait-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ivory);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.portrait-role-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--blueprint);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.portrait-location {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--ls-nav);
  color: var(--steel);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Pull Quote
   -------------------------------------------------------------------------- */

.pull-quote {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--ivory);
  line-height: 1.5;
  letter-spacing: var(--ls-heading);
  border-left: 3px solid var(--blueprint);
  padding-left: 32px;
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   Discipline Cards
   -------------------------------------------------------------------------- */

.discipline-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 40px 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.discipline-card:hover {
  border-color: rgba(35, 192, 188, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.discipline-card:first-child  { border-top: 3px solid var(--blueprint); }
.discipline-card:nth-child(2) { border-top: 3px solid var(--copper); }
.discipline-card:last-child   { border-top: 3px solid var(--steel); }

.discipline-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
  display: block;
}

.discipline-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 16px;
}

.discipline-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Timeline (journey.html)
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  padding: 0 0 0 80px;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blueprint), var(--blueprint), transparent);
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 32px 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-item:hover {
  border-color: rgba(35, 192, 188, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -56px;
  top: 36px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blueprint);
  border: 2px solid var(--void);
  box-shadow: 0 0 0 3px rgba(35, 192, 188, 0.2), 0 0 12px rgba(35, 192, 188, 0.4);
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--blueprint);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.timeline-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   Pillars Full Profile (pillars.html)
   -------------------------------------------------------------------------- */

.profile-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}

.profile-grid.mirrored {
  grid-template-columns: 1fr 400px;
}

.profile-photo-large {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.profile-photo-large.justin { background: linear-gradient(135deg, #00174d, var(--blueprint)); }
.profile-photo-large.ahmed { background: linear-gradient(135deg, #3d1e00, var(--copper)); }

.profile-photo-mark {
  opacity: 0.08;
}

.profile-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--void);
  margin-bottom: 4px;
}

.profile-role {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--blueprint);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.profile-divider {
  height: 1px;
  background: rgba(8, 8, 8, 0.12);
  margin-bottom: 32px;
}

.profile-section-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
  display: block;
}

.profile-bio {
  font-size: 15px;
  font-weight: 400;
  color: rgba(8, 8, 8, 0.65);
  line-height: 1.8;
  margin-bottom: 28px;
}

.skills-list {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(8, 8, 8, 0.55);
  line-height: 2;
  margin-bottom: 28px;
}

.profile-location {
  font-size: 14px;
  font-weight: 400;
  color: rgba(8, 8, 8, 0.5);
  line-height: 1.65;
  margin-bottom: 28px;
}

.profile-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--ls-nav);
  color: var(--blueprint);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 192, 188, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.profile-cta:hover {
  color: var(--void);
}

/* Dark profile overrides */
.profile-dark .profile-name        { color: var(--ivory); }
.profile-dark .profile-divider     { background: var(--chalk); }
.profile-dark .profile-section-label { color: var(--copper); }
.profile-dark .profile-bio         { color: var(--steel); }
.profile-dark .skills-list         { color: var(--steel); }
.profile-dark .profile-location    { color: var(--steel); }

/* Section-light profile override (section is now dark slab) */
.section-light .profile-name        { color: var(--ivory); }
.section-light .profile-divider     { background: var(--chalk); }
.section-light .profile-section-label { color: var(--copper); }
.section-light .profile-bio         { color: var(--steel); }
.section-light .skills-list         { color: var(--steel); }
.section-light .profile-location    { color: var(--steel); }
.section-light .profile-cta         { color: var(--blueprint); }
.section-light .profile-cta:hover   { color: var(--ivory); }

/* --------------------------------------------------------------------------
   How We Work (pillars.html)
   -------------------------------------------------------------------------- */

.how-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px 36px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.how-card:hover {
  border-color: rgba(35, 192, 188, 0.2);
}

.how-card-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.how-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 16px;
}

.how-card-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Case Study Format Explainer (work.html)
   -------------------------------------------------------------------------- */

.explainer-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 36px 32px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.explainer-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--ls-label);
  color: var(--blueprint);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.explainer-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: var(--ls-heading);
  color: var(--ivory);
  margin-bottom: 12px;
}

.explainer-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Transition Text
   -------------------------------------------------------------------------- */

.transition-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 20px;
  text-align: center;
  color: rgba(244, 241, 235, 0.35);
  max-width: 720px;
  margin: 56px auto 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  nav       { padding: 20px 32px; }
  footer    { padding: 40px 32px; }
  .wrap     { padding: 0 40px; }
  section   { padding: 80px 0; }
  .cta-strip { padding: 80px 40px; }

  .profile-grid                { grid-template-columns: 320px 1fr; gap: 48px; }
  .profile-grid.mirrored       { grid-template-columns: 1fr 320px; }
}

@media (max-width: 768px) {
  nav       { padding: 18px 24px; }
  .wrap     { padding: 0 24px; }
  section   { padding: 64px 0; }
  footer    { padding: 32px 24px; }
  .cta-strip { padding: 64px 24px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .process-grid         { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }

  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links  { flex-wrap: wrap; gap: 20px; }

  .profile-grid,
  .profile-grid.mirrored { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo-large   { height: 300px; }

  .timeline        { padding-left: 52px; }
  .timeline-line   { left: 8px; }
  .timeline-node   { left: -44px; }

  .hero-portrait   { height: 280px; }
  .pull-quote      { font-size: 18px; padding-left: 24px; }

  /* Journey hero two-column → single column */
  .journey-hero-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .wrap      { padding: 0 20px; }
  section    { padding: 56px 0; }
  .cta-strip { padding: 56px 20px; }
  footer     { padding: 28px 20px; }

  .stat-number   { font-size: 60px; }
  .mobile-menu a { font-size: 36px; }
}
