/* ============================================
   Tracie Myers — Personal Brand Hub v2
   Bold, warm, adventurous
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a1a2e;
  --navy-light: #252540;
  --forest: #2d5a27;
  --forest-light: #3d7a35;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --cream: #f5f0e8;
  --cream-dark: #ebe5db;
  --white: #ffffff;
  --text-light: #f5f0e8;
  --text-dark: #2a1a0e;
  --text-muted: #3a3a3a;
  --text-muted-dark: #9ca3af;
  --border-light: #e0dbd1;
  --border-dark: #2e2e45;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-height: 72px;
  --container-max: 1100px;
  --section-padding: 100px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(26, 31, 61, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  z-index: 100;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--gold);
}

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

.nav-links a {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition);
}

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

/* --- Hero (Homepage) --- */
.hero-dark {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-dark-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 28px;
  border: 3px solid var(--gold);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-dark h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.hero-tagline-secondary {
  font-size: 1rem;
  color: var(--text-muted-dark);
  font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

.hero-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-social a {
  color: var(--text-muted-dark);
  transition: color var(--transition), transform var(--transition);
}

.hero-social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bobble 2s ease-in-out infinite;
}

@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Branch Cards --- */
.branches {
  background: var(--cream);
  padding: 80px 0;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.branch-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 31, 61, 0.08);
  color: var(--text-dark);
}

.branch-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.branch-card:hover .branch-icon { transform: scale(1.05); transition: transform var(--transition); }

.branch-about .branch-icon { background: #dbeafe; color: #2563eb; }
.branch-blockchain .branch-icon { background: #d1fae5; color: var(--forest); }
.branch-travel .branch-icon { background: #fef3c7; color: #b45309; }
.branch-kaia .branch-icon { background: #fce7f3; color: #be185d; }
.branch-connect .branch-icon { background: #ede9fe; color: #7c3aed; }

.branch-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.branch-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.branch-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
}

.branch-card:hover .branch-link { color: var(--forest-light); }

/* --- Page Headers (Subpages) --- */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 64px;
  background: var(--navy);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding) 0;
}

.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--text-light); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* --- About Page --- */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}

.about-photo-wide {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.about-story p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-story p:first-of-type {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* --- Blockchain Page --- */
.role-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}

.role-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.role-company {
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.role-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.role-card ul { padding: 0; }

.role-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.role-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.skill-tag {
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.skill-tag:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: #d1fae5;
}

/* --- Travel Journal --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.journal-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 31, 61, 0.08);
}

.journal-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-body {
  padding: 24px;
}

.journal-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.journal-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.journal-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.journal-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.journal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.map-placeholder {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  margin-top: 48px;
}

.map-placeholder p {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

.map-placeholder h3 {
  color: var(--text-light);
  margin-bottom: 8px;
}

/* --- Kaia Page --- */
.kaia-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.kaia-photo-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kaia-bio h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.kaia-bio p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.kaia-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.kaia-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.kaia-gallery-item:hover {
  transform: translateY(-4px);
}

/* --- Connect Page --- */
.connect-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.connect-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
  font-style: italic;
}

.connect-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.connect-method {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  min-width: 320px;
  justify-content: center;
}

.connect-method:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.15);
  transform: translateY(-2px);
}

.connect-method svg { flex-shrink: 0; }

/* --- Work With Me — Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.08);
}

.service-card.premium {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, #faf7f0 100%);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #d1fae5;
  color: var(--forest);
}

.service-card.premium .service-icon {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card ul {
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.service-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 8px;
  border: 2px solid var(--forest);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.btn-service:hover {
  background: var(--forest);
  color: var(--white);
}

.service-card.premium .btn-service {
  border-color: var(--gold);
  color: var(--gold);
}

.service-card.premium .btn-service:hover {
  background: var(--gold);
  color: var(--navy);
}

/* --- Web3 Timeline --- */
.web3-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 48px;
}

.web3-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-entry {
  position: relative;
  margin-bottom: 36px;
}

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

.timeline-year {
  position: absolute;
  left: -48px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  z-index: 1;
}

.timeline-entry h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-entry p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Credential Badges --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.cert-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Credential Stats --- */
.cred-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 48px;
}

.cred-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.cred-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.cred-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Kaia Training Tracker --- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.training-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}

.training-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.training-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}

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

.training-item span:first-child { color: var(--text-dark); }

.training-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.status-mastered { background: #d1fae5; color: var(--forest); }
.status-learning { background: #fef3c7; color: #92400e; }
.status-introduced { background: #e5e7eb; color: var(--text-muted); }

/* --- Shared Photo Placeholder --- */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.photo-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  text-align: center;
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  :root { --section-padding: 72px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 105;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }

  .branch-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .kaia-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .kaia-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .connect-method {
    min-width: unset;
    width: 100%;
  }

  .hero-dark h1 { font-size: 2.25rem; }

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

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

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

  .parks-grid {
    grid-template-columns: 1fr !important;
  }

  .web3-timeline {
    padding-left: 40px;
  }

  .timeline-year {
    left: -40px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  :root { --section-padding: 56px; }

  .hero-dark {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-dark h1 { font-size: 1.875rem; }
  .hero-photo-circle { width: 100px; height: 100px; font-size: 1.75rem; }
  .scroll-indicator { display: none; }

  .kaia-gallery { grid-template-columns: 1fr; }
}
