/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-muted: #F2F0EF;
  --accent: #ffffff;
  --font: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ===========================
   LAYOUT HELPERS
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-divider {
  width: 40px;
  height: 3px;
  background: var(--text);
  margin: 16px 0 48px;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-color: var(--border);
}

.nav-logo {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.nav-logo span {
  opacity: 0.6;
}

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

.nav-links li a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links li a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-divider {
  width: 40px;
  height: 3px;
  background: white;
  margin: 24px 0;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: white;
  color: black;
}

.hero-graphic {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.85;
}

.hero-image {
  width: 480px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 35%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 90%, rgba(255,255,255,0.25) 0%, transparent 100%);
}

/* ===========================
   SERVICES
   =========================== */
.services {
  background: var(--bg);
}

/* ---- Accordion ---- */
.services-accordion {
  border-top: 1px solid var(--border);
}

.acc-item {
  border-bottom: 1px solid var(--border);
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 40px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.acc-title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: opacity 0.25s ease;
}

.acc-item:not(.open) .acc-title {
  opacity: 0.35;
}

.acc-item:not(.open):hover .acc-title {
  opacity: 1;
}

.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-item.open .acc-panel {
  max-height: 320px;
}

.acc-panel-inner {
  padding: 0 0 44px 0;
}

.acc-panel-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 680px;
}

/* ===========================
   RESUME
   =========================== */
.resume {
  background: var(--surface);
}

.resume-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

.resume-block {
  margin-bottom: 44px;
}

.resume-block-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.resume-block > p {
  font-size: 0.85rem;
  color: #F2F0EF;
  line-height: 1.7;
}

.resume-entry {
  margin-bottom: 28px;
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-role {
  font-size: 0.95rem;
  font-weight: 700;
}

.resume-year {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.resume-company {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 4px 0 10px;
}

.resume-bullets {
  list-style: disc;
  padding-left: 18px;
}

.resume-bullets li {
  font-size: 0.8rem;
  color: #F2F0EF;
  line-height: 1.7;
  margin-bottom: 4px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-list li {
  font-size: 0.8rem;
  color: #F2F0EF;
  padding-left: 14px;
  position: relative;
}

.cert-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: #F2F0EF;
  text-transform: uppercase;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #F2F0EF;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.lang-level {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===========================
   VIDEO SECTION
   =========================== */
.video-section {
  background: var(--bg);
}

.video-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   STANDARDS
   =========================== */
.standards {
  background: var(--surface);
}

.standards-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.standards-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 24px;
}

.standards-sub {
  font-size: 0.88rem;
  color: #F2F0EF;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}

.standards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.standards-list li {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #F2F0EF;
  padding-left: 20px;
  position: relative;
}

.standards-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.standards-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: start;
}

.video-embed {
  width: 100%;
  max-width: 340px;
}

.video-iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border: none;
  border-radius: 12px;
  background: var(--surface-2);
}

.map-embed {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.campaign-map {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.campaign-map-caption {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  text-align: center;
  margin: 0;
}

.video-placeholder-hint {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.video-placeholder-hint code {
  font-family: monospace;
  opacity: 0.7;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 0.85rem;
  color: #F2F0EF;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 320px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.88rem;
  color: white;
  transition: opacity 0.2s;
}

a.contact-value:hover {
  opacity: 0.7;
}

.calendly-cta {
  margin-top: 8px;
}

.calendly-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.btn-calendly {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid white;
  background: none;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-calendly:hover {
  background: white;
  color: black;
}

/* Contact tabs */
.contact-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 12px 20px 12px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
  color: white;
  border-bottom-color: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: white;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-family: var(--font);
  resize: vertical;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #555;
}

.btn-submit {
  padding: 16px;
  background: white;
  color: black;
  border: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.85;
}

/* Calendly inline override for dark theme */
.calendly-inline-widget {
  border: 1px solid var(--border);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 24px;
}

.footer p {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .resume-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .standards-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-graphic {
    opacity: 0.2;
    right: 0;
  }

  .acc-trigger {
    padding: 28px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

}
