/* ========================================
   PROFESSIONAL PAGE — Blueprint Aesthetic
   ======================================== */

:root {
  --pro-bg: #1e3a5f;
  --pro-blue: #2a5a8f;
  --pro-grid: #3a6a9f;
  --pro-line: #4a7abf;
  --pro-accent: #5dabff;
  --pro-accent-dim: #4a9aef;
  --pro-text: #e8f4ff;
  --pro-text-bright: #ffffff;
  --pro-text-dim: #a0c4e0;

  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
}

body {
  background: var(--pro-bg);
  color: var(--pro-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   BLUEPRINT BACKGROUND
   ======================================== */

.blueprint-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pro-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--pro-grid) 1px, transparent 1px);
  background-size: 50px 50px;
}

.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--pro-line) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 25px 25px;
}

/* ========================================
   PAGE CONTAINER
   ======================================== */

.page-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  background: rgba(30, 58, 95, 0.85);
}

/* ========================================
   TOP NAVIGATION
   ======================================== */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pro-line);
  margin-bottom: 3rem;
}

.back-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pro-accent);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--pro-text-bright);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

/* ========================================
   HEADER
   ======================================== */

.page-header {
  margin-bottom: 4rem;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-photo {
  flex-shrink: 0;
}

.header-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--pro-accent);
  border-radius: 4px;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.header-photo img:hover {
  filter: grayscale(0%);
}

.header-text {
  flex: 1;
}

.header-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pro-text-dim);
  margin-bottom: 0.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.1em;
  color: var(--pro-text-bright);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--pro-accent);
  letter-spacing: 0.05em;
}

/* ========================================
   CONTENT
   ======================================== */

.content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ========================================
   SPEC BLOCKS — Blueprint style boxes
   ======================================== */

.spec-block {
  background: rgba(20, 40, 70, 0.92);
  border: 1px solid var(--pro-line);
  padding: 1.5rem;
  position: relative;
}

.spec-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  width: 80px;
  height: 1px;
  background: var(--pro-accent);
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pro-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--pro-line);
}

.spec-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.spec-content p:last-child {
  margin-bottom: 0;
}

/* Summary block */
.summary-block {
  border-width: 2px;
}

.summary-block .spec-content p {
  font-size: 1.05rem;
}

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-line);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  width: 8px;
  height: 8px;
  background: var(--pro-accent);
  border-radius: 50%;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--pro-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-weight: 700;
  color: var(--pro-text-bright);
  margin-bottom: 0.1rem;
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--pro-text-dim);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--pro-text);
}

.timeline-highlights {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 1px dashed var(--pro-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight {
  font-size: 0.8rem;
}

.highlight-title {
  font-weight: 600;
  color: var(--pro-accent);
  display: block;
  margin-bottom: 0.1rem;
}

.highlight-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--pro-text-dim);
  display: block;
  margin-bottom: 0.25rem;
}

.highlight p {
  color: var(--pro-text);
  margin: 0;
}

/* ========================================
   SKILLS
   ======================================== */

.skill-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px dotted var(--pro-line);
  font-size: 0.85rem;
}

.skill-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skill-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pro-accent);
  letter-spacing: 0.05em;
}

.skill-value {
  color: var(--pro-text);
  text-align: right;
}

/* ========================================
   SERVICES
   ======================================== */

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.service-name {
  font-weight: 700;
  color: var(--pro-text-bright);
  margin-bottom: 0.25rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--pro-text);
}

/* ========================================
   STATS
   ======================================== */

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

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(25, 50, 85, 0.95);
  border: 1px dashed var(--pro-line);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--pro-accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--pro-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================================
   EDUCATION
   ======================================== */

.education-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.edu-degree {
  font-weight: 700;
  color: var(--pro-text-bright);
}

.edu-school {
  font-size: 0.9rem;
  color: var(--pro-text);
}

.edu-details {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pro-text-dim);
  margin-top: 0.25rem;
}

/* ========================================
   PHILOSOPHY
   ======================================== */

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

.philosophy-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px dotted var(--pro-line);
}

.philosophy-list li:last-child {
  border-bottom: none;
}

.philosophy-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--pro-accent);
  font-family: var(--font-mono);
}

/* ========================================
   CTA BLOCK
   ======================================== */

.cta-block {
  text-align: center;
  border-width: 2px;
  border-color: var(--pro-accent-dim);
}

.cta-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--pro-text-bright);
  margin-bottom: 1.5rem;
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--pro-accent);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--pro-accent);
  transition: all 0.2s;
}

.cta-btn:hover {
  background: var(--pro-accent);
  color: var(--pro-bg);
}

/* ========================================
   FOOTER
   ======================================== */

.page-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pro-line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--pro-text-dim);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ========================================
   CONSULTANT-FOCUSED ELEMENTS
   ======================================== */

/* Lead text - larger intro */
.lead-text {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--pro-text-bright);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Section intro text */
.section-intro {
  font-size: 1rem;
  color: var(--pro-text);
  margin-bottom: 1.75rem;
  font-style: italic;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(25, 50, 85, 0.95);
  border: 1px solid var(--pro-line);
  padding: 1.5rem;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--pro-accent);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--pro-accent);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--pro-text-bright);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--pro-text);
  margin: 0;
  line-height: 1.7;
}

/* Case Studies */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.case-study {
  background: rgba(25, 50, 85, 0.95);
  border: 1px solid var(--pro-line);
  padding: 1.75rem;
  position: relative;
}

.case-study::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 4px;
  height: calc(100% + 2px);
  background: linear-gradient(to bottom, var(--pro-accent), var(--pro-accent-dim));
}

.case-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--pro-line);
}

.case-challenge {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--pro-text-bright);
  margin-bottom: 0.25rem;
}

.case-context {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--pro-accent);
  letter-spacing: 0.1em;
}

.case-body {
  font-size: 0.95rem;
  line-height: 1.75;
}

.case-body p {
  margin-bottom: 1rem;
}

.case-body p:last-child {
  margin-bottom: 0;
}

.case-body strong {
  color: var(--pro-text-bright);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Large Stats Grid */
.stats-grid.large {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-grid.large .stat-item {
  padding: 1.5rem 1rem;
}

.stats-grid.large .stat-value {
  font-size: 2.5rem;
}

/* Expertise List */
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expertise-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.expertise-name {
  font-weight: 700;
  color: var(--pro-text-bright);
  margin-bottom: 0.35rem;
}

.expertise-desc {
  font-size: 0.9rem;
  color: var(--pro-text);
  line-height: 1.6;
}

/* Credential List */
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credential-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.credential-title {
  font-weight: 700;
  color: var(--pro-text-bright);
  margin-bottom: 0.25rem;
}

.credential-org {
  font-size: 0.9rem;
  color: var(--pro-text);
  line-height: 1.5;
}

/* Working Style */
.working-style {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.style-item {
  padding-left: 1rem;
  border-left: 2px solid var(--pro-accent-dim);
}

.style-name {
  font-weight: 700;
  color: var(--pro-text-bright);
  margin-bottom: 0.25rem;
}

.style-desc {
  font-size: 0.9rem;
  color: var(--pro-text);
  line-height: 1.6;
}

/* CTA Enhancements */
.cta-subtext {
  font-size: 1.05rem;
  color: var(--pro-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-btn.primary {
  background: var(--pro-accent);
  color: var(--pro-bg);
  border-color: var(--pro-accent);
}

.cta-btn.primary:hover {
  background: var(--pro-text-bright);
  border-color: var(--pro-text-bright);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }

  .top-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .header-photo img {
    width: 140px;
    height: 140px;
  }

  .skill-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .skill-value {
    text-align: left;
  }

  .footer-grid {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .lead-text {
    font-size: 1.15rem;
    line-height: 1.55;
  }

  .case-body {
    font-size: 0.95rem;
  }

  .service-card p,
  .expertise-desc,
  .style-desc,
  .credential-org {
    font-size: 0.9rem;
  }
}
