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

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f3;
  --color-bg-dark: #0a0e17;
  --color-bg-hero: #0f172a;
  --color-text: #0a0a0a;
  --color-text-light: #4a4a4a;
  --color-text-inverse: #f0f0f0;
  --color-accent: #c9993a;
  --color-accent-hover: #b8882e;
  --color-accent-light: #faf5eb;
  --color-gold: #c9993a;
  --color-border: #ddd;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1180px;
  --nav-height: 72px;
}

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

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

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.nav-logo {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s !important;
  text-transform: uppercase !important;
}

.nav-cta:hover {
  background: var(--color-accent-hover) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  background: var(--color-bg-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-photo {
  display: flex;
  justify-content: center;
}

.hero-photo-img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(255,255,255,0.08);
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 153, 58, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.section:not(.section-dark) .btn-outline,
.section-alt .btn-outline {
  color: var(--color-text);
  border-color: var(--color-text);
}

.section:not(.section-dark) .btn-outline:hover,
.section-alt .btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

/* ── Sections ── */
.section {
  padding: 130px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section-dark .section-tag { color: var(--color-gold); }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.55); }

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

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 60px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}

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

.about-text strong {
  color: var(--color-text);
  font-weight: 700;
}

.about-stats {
  display: flex;
  gap: 52px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 3px solid var(--color-text);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 36px;
  border: none;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201, 153, 58, 0.2);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-link:hover { text-decoration: underline; }

/* ── Photo Break ── */
.photo-break {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.photo-break.photo-break-portrait img {
  object-position: center 15%;
}

.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 14, 23, 0.75) 0%, rgba(10, 14, 23, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.photo-break-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 400px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .photo-break { height: 280px; }
  .photo-break-overlay { padding: 28px; }
  .photo-break-text { font-size: 1.3rem; }
}

/* ── Credentials ── */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.credential-group h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--color-text);
  padding-bottom: 14px;
  border-bottom: 4px solid var(--color-accent);
  display: inline-block;
  letter-spacing: -0.02em;
}

.credential-group ul {
  list-style: none;
}

.credential-group li {
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.credential-group li strong {
  color: var(--color-text);
  font-weight: 700;
}

.credential-group li:last-child { border-bottom: none; }

/* ── Speaking Carousel ── */
.speaking-carousel-wrap {
  position: relative;
  margin-bottom: 72px;
  padding: 0 48px;
}

.speaking-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0;
}

.speaking-carousel::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.carousel-item-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s;
}

.carousel-item-img.portrait img {
  object-position: center 15%;
}

.carousel-item:hover img {
  transform: scale(1.04);
}

.carousel-caption {
  padding: 16px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

/* ── Timeline (Speaking) ── */
.timeline {
  max-width: 760px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent);
  min-width: 64px;
  padding-top: 3px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ── Publications ── */
.publications-list {
  max-width: 820px;
  margin: 0 auto 52px;
}

.pub-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.pub-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.pub-meta {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.pub-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 80px;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px;
  transition: border-color 0.3s, background 0.3s;
}

.contact-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.contact-card-wide {
  max-width: 820px;
  margin: -32px auto 80px;
}

/* ── Contact Form ── */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto 60px;
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #1a1a2e;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ── Form Success State ── */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.form-success-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

/* ── Social Links ── */
.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.social-links a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s, transform 0.2s;
}

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

/* ── Footer ── */
.footer {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo {
    max-width: 280px;
    margin: 0 auto;
  }
  .carousel-item { flex: 0 0 70%; min-width: 240px; }
  .carousel-btn { display: none; }
  .speaking-carousel-wrap { padding: 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
    border-bottom: none !important;
  }

  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-photo { order: -1; }
  .hero-photo-img { width: 220px; height: 220px; }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .section { padding: 90px 0; }
  .section-header { margin-bottom: 52px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .about-stats { gap: 28px; }
  .stat-number { font-size: 2rem; }

  .timeline-item { flex-direction: column; gap: 8px; }

  .carousel-item { flex: 0 0 80%; min-width: 220px; }

  .btn-submit { align-self: stretch; }
}

/* ── Animations ── */
@media (prefers-reduced-motion: no-preference) {
  .card, .timeline-item, .pub-item, .credential-group, .carousel-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .card.visible, .timeline-item.visible, .pub-item.visible, .credential-group.visible, .carousel-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
