/* css/experience.css - Experience Timeline */

/* Base & Hero */
.exp-hero-section {
  background: var(--paper);
  border-bottom: 1px solid var(--midnight);
  padding: 2rem 0 4rem;
}

.exp-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(9,13,22,0.15);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.exp-hero-breadcrumb .left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--midnight-muted);
}
.exp-hero-breadcrumb .left a:hover {
  color: var(--cobalt-light);
}
.exp-hero-breadcrumb .left .current {
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: var(--midnight);
}
.exp-hero-breadcrumb .right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
  padding: 0.25rem 0.5rem;
  color: var(--cobalt-light);
  font-weight: 600;
}
.exp-hero-breadcrumb .right .dot {
  width: 6px;
  height: 6px;
  background: #14b8a6; /* accent teal */
  border-radius: 50%;
}
.pulse { animation: pulse 2s infinite; }

.exp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-end;
}
@media(min-width:1024px) {
  .exp-hero-grid {
    grid-template-columns: 8fr 4fr;
  }
}

.eyebrow-line {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cobalt-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.eyebrow-line .line {
  width: 10px;
  height: 2px;
  background: var(--cobalt-light);
}

.heading-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.25rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--midnight);
  margin-bottom: 1.5rem;
}
.heading-h1 em {
  color: var(--cobalt-light);
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  font-style: italic;
  font-weight: 400;
}
.text-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(9,13,22,0.8);
  max-width: 600px;
}

.exp-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--midnight-muted);
}
.audit-card {
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
  padding: 1rem;
}
.audit-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(9,13,22,0.15);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.audit-top .highlight {
  color: #14b8a6;
}
.audit-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
}

/* Telemetry Grid */
.exp-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3.5rem;
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
}
@media(min-width:1024px) {
  .exp-telemetry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.telemetry-card {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--midnight);
  border-bottom: 1px solid var(--midnight);
}
.telemetry-card:nth-child(even) {
  border-right: none;
}
@media(min-width:1024px) {
  .telemetry-card {
    border-bottom: none;
  }
  .telemetry-card:nth-child(even) {
    border-right: 1px solid var(--midnight);
  }
  .telemetry-card:last-child {
    border-right: none;
  }
}

.tel-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--midnight-muted);
  margin-bottom: 0.5rem;
}
.tel-top .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-0 { background: #14b8a6; } /* teal */
.dot-1 { background: #f59e0b; } /* gold */
.dot-2 { background: #14b8a6; }
.dot-3 { background: var(--cobalt-light); }

.tel-value {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--midnight);
}
.tel-value .suffix {
  font-size: 1.5rem;
  font-weight: 400;
  margin-left: 2px;
}
.telemetry-card:nth-child(1) .tel-value .suffix { color: #14b8a6; }
.telemetry-card:nth-child(2) .tel-value { color: #f59e0b; }
.telemetry-card:nth-child(3) .tel-value .suffix { color: #14b8a6; }
.telemetry-card:nth-child(4) .tel-value { color: var(--cobalt-light); }

.tel-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--midnight);
  margin-top: 0.5rem;
}
.tel-sub {
  font-size: 0.8125rem;
  color: var(--midnight-muted);
  margin-top: 0.25rem;
}

/* Timeline Section (Light Mode to match Theme) */
.exp-timeline-section {
  background: var(--paper);
  padding: 6rem 0;
  border-bottom: 1px solid var(--midnight);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(9,13,22,0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
}
.timeline-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--cobalt-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.timeline-header .heading-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--midnight);
  line-height: 1.2;
}
.timeline-header .right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--midnight-muted);
}
.timeline-header .right .dot {
  width: 8px;
  height: 8px;
  background: var(--cobalt-light);
  border-radius: 50%;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.timeline-item {
  background: var(--paper-surface);
  border: 1px solid var(--midnight);
  transition: box-shadow 0.2s, transform 0.2s;
}
.timeline-item:hover {
  box-shadow: 4px 4px 0px 0px var(--midnight);
  transform: translateY(-2px);
}

.item-header {
  background: var(--paper-muted);
  border-bottom: 1px solid var(--midnight);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.item-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.record-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.25rem 0.5rem;
  background: var(--paper-surface);
  border: 1px solid var(--midnight);
  color: var(--cobalt-light);
  letter-spacing: 0.08em;
}
.active-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--cobalt-light);
  font-weight: 600;
}
.item-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--midnight-muted);
}

.item-body {
  padding: 2.5rem;
}
.item-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width:1024px) {
  .item-body-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.item-left .heading-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  color: var(--midnight);
  margin-bottom: 0.25rem;
}
.item-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cobalt-light);
}
.item-summary {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--midnight-muted);
  line-height: 1.65;
}

/* Stat Widgets */
.stat-widget {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
}
.w-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--midnight-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.w-top .val {
  color: var(--cobalt-light);
  font-weight: 600;
}
.w-bar {
  width: 100%;
  height: 6px;
  background: rgba(9,13,22,0.1);
}
.w-bar .fill {
  height: 100%;
  background: var(--cobalt-light);
}
.w-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--midnight-muted);
  margin-top: 0.25rem;
}
.stat-widget.gold .val { color: #f59e0b; }
.stat-widget.gold .w-bar .fill { background: #f59e0b; }

.quote-widget {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--paper-muted);
  border-left: 2px solid var(--cobalt-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--midnight-muted);
  font-style: italic;
  line-height: 1.6;
}

.item-right .mandates-header {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--midnight-muted);
  border-bottom: 1px solid var(--midnight);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.mandates-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.mandates-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.mandates-list .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cobalt-light);
  font-weight: 700;
}
.mandates-list p {
  font-size: 0.9375rem;
  color: var(--midnight);
  line-height: 1.65;
}
.mandates-list p strong {
  color: var(--midnight);
  font-weight: 700;
}

.item-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(9,13,22,0.15);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tax-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--midnight-muted);
  margin-right: 0.5rem;
}
.item-footer .tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.25rem 0.75rem;
  background: var(--paper-surface);
  border: 1px solid var(--midnight);
  color: var(--midnight);
  text-transform: uppercase;
}

/* Global Grid Section */
.exp-global-section {
  padding: 6rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--midnight);
}
.global-header {
  border-bottom: 1px solid rgba(9,13,22,0.15);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.global-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--cobalt-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.global-header .heading-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}

.timezone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--midnight);
  background: var(--paper-muted);
}
@media(min-width:768px) {
  .timezone-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.tz-card {
  padding: 1.25rem;
  border-right: 1px solid var(--midnight);
  border-bottom: 1px solid var(--midnight);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s;
}
.tz-card:hover {
  background: var(--paper);
}
.tz-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--midnight-muted);
  margin-bottom: 0.5rem;
}
.tz-top .dot {
  width: 8px;
  height: 8px;
  background: var(--cobalt-light);
  border-radius: 50%;
}
.tz-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--midnight);
}
.tz-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cobalt-light);
  margin-top: 0.25rem;
}
.tz-desc {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--midnight-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.protocol-bar {
  padding: 1.5rem;
  background: var(--paper-muted);
  border: 1px solid var(--midnight);
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
@media(min-width:768px) {
  .protocol-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.protocol-bar .p-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}
.protocol-bar .p-left span.material-symbols-outlined {
  color: var(--cobalt-light);
}
.protocol-bar .p-right {
  color: var(--midnight-muted);
}
