/* Dr. Lurong Pan — clean, modern, "science meets soul" */

:root {
  --bg: #f6f2ea;
  --bg-alt: #eee6d8;
  --ink: #0b3444;
  --ink-soft: #2c5568;
  --muted: #5c7684;
  --accent: #629dc8;
  --accent-deep: #003448;
  --gold: #b98a4a;
  --white: #ffffff;
  --shadow-soft: 0 20px 50px -20px rgba(11, 52, 68, 0.18);
  --shadow-card: 0 12px 40px -18px rgba(11, 52, 68, 0.28);
  --radius: 20px;
  --radius-lg: 40px;
  --serif: "Roboto Slab", Georgia, serif;
  --display: "Sofia Sans", "Poppins", sans-serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f4ec 0%, #efe5d1 100%);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.75rem); font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); font-style: italic; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600; color: var(--gold); margin: 0 0 .8rem; }
.eyebrow.center { text-align: center; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.divider { width: 90px; margin: 2rem auto; opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-deep);
  color: var(--white);
  box-shadow:
    -6px -4px 12px rgba(255,255,255,0.6),
    4px 6px 14px rgba(121,175,197,0.45),
    inset -6px -8px 20px rgba(255,255,255,0.15);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--accent-deep);
  border: 2px solid var(--accent-deep);
}
.btn-outline:hover { background: var(--accent-deep); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,242,234,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,52,68,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.logo img { width: 56px; height: 56px; }
.nav-links { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(98,157,200,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(185,138,74,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 680px; margin: 0 auto 36px; font-size: 1.2rem; }

/* Sections */
.section { padding: 90px 0; position: relative; }

/* Future */
.future h2 { text-align: center; max-width: 900px; margin: 0 auto 60px; font-style: italic; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.two-col .q {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1.4;
}

/* About */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images { position: relative; height: 550px; }
.about-img-1 {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  border-radius: 20px 80px 20px 80px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  height: 400px;
}
.about-img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  border-radius: 80px 20px 80px 20px;
  box-shadow: var(--shadow-soft);
  border: 8px solid var(--bg-alt);
  object-fit: cover;
  height: 300px;
}
.about-text h2 { margin-bottom: 20px; }

/* Work cards */
.work h2 { margin-bottom: 60px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(98,157,200,0.1);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px -18px rgba(11,52,68,0.35); }
.card img { width: 72px; height: 72px; margin: 0 auto 20px; object-fit: contain; }
.card h3 { color: var(--accent-deep); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Soul */
.soul { background: linear-gradient(135deg, #003448 0%, #075975 100%); color: var(--white); }
.soul h2, .soul .eyebrow { color: var(--white); }
.soul .eyebrow { color: #f4d19c; }
.soul-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.soul-text p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.soul-img img {
  border-radius: 80px 20px 80px 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.soul .accent { color: #f4d19c; font-style: normal; font-weight: 600; }
.soul .btn-primary { background: var(--white); color: var(--accent-deep); }
.soul .btn-primary:hover { background: #f4d19c; color: var(--accent-deep); }

/* Testimonials */
.testimonials h2 { margin-bottom: 60px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial {
  background: var(--white);
  padding: 40px;
  border-radius: 0 60px 0 60px;
  box-shadow: var(--shadow-card);
  margin: 0;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px; left: 30px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}
.testi-head {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 16px;
  line-height: 1.3;
}
.testimonial > p { color: var(--muted); font-size: 0.98rem; }
.testimonial footer {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(11,52,68,0.08);
  align-items: center;
}
.testimonial footer img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.avatar-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.testimonial .name a { color: var(--accent); text-decoration: none; }
.testimonial .name a:hover { color: var(--accent-deep); text-decoration: underline; }
.testimonial .name { font-weight: 700; color: var(--accent); margin: 0 0 4px; font-size: 0.95rem; }
.testimonial .position { color: var(--ink-soft); font-size: 0.85rem; margin: 0; line-height: 1.4; }

/* Speaking & Media */
.speaking { background: var(--bg-alt); }
.media-lead { max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 50px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.media-grid .featured {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--accent-deep) 0%, #0a5a75 100%);
  color: #fff;
}
.media-grid .featured h3, .media-grid .featured .tag, .media-grid .featured .read { color: #fff; }
.media-grid .featured .tag { background: rgba(255,255,255,0.15); color: #f4d19c; }
.media-grid .featured h3 { font-size: 1.6rem; }
.media-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(98,157,200,0.12);
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px -18px rgba(11,52,68,0.35);
  color: var(--ink);
}
.media-card .tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(98,157,200,0.12);
  color: var(--accent-deep);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.media-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  color: var(--accent-deep);
  line-height: 1.35;
}
.media-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.media-card .read {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* Press / News */
.press h2 { margin-bottom: 16px; }
.year-label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin: 40px 0 20px;
  position: relative;
}
.year-label::before, .year-label::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 16px;
  opacity: 0.5;
}
.press-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  gap: 12px;
}
.press-list li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: 14px;
  color: var(--ink);
  border: 1px solid rgba(98,157,200,0.15);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  font-size: 0.98rem;
  line-height: 1.4;
}
.press-list li a:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px -12px rgba(11,52,68,0.2);
  color: var(--accent-deep);
}
.press-list .src {
  flex: 0 0 auto;
  min-width: 100px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.press-more {
  max-width: 900px;
  margin: 30px auto 0;
}
.press-more summary {
  cursor: pointer;
  text-align: center;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid var(--accent-deep);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  list-style: none;
  display: inline-block;
  margin: 0 auto;
  transition: background .2s, color .2s;
}
.press-more summary::-webkit-details-marker { display: none; }
.press-more summary:hover { background: var(--accent-deep); color: var(--white); }
.press-more[open] summary { margin-bottom: 30px; background: var(--accent-deep); color: var(--white); }
.press-more { text-align: center; }
.press-more[open] { text-align: initial; }

/* Publications */
.publications { background: var(--bg-alt); }
.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto 0;
}
.pub-card {
  display: block;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(98,157,200,0.12);
  transition: transform .25s, box-shadow .25s;
}
.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px -18px rgba(11,52,68,0.35);
  color: var(--ink);
}
.pub-card h3 { color: var(--accent-deep); margin-bottom: 10px; font-size: 1.4rem; }
.pub-card p { color: var(--muted); margin-bottom: 18px; }
.pub-card .read {
  font-family: var(--display);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/* CTA */
.cta { text-align: center; padding: 100px 0; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta .divider { margin: 0 auto 32px; }
.cta h2 { margin-bottom: 20px; }
.cta .lead { margin-bottom: 36px; }

/* Footer */
.site-footer {
  background: var(--accent-deep);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.9; width: 64px; height: 64px; margin: 0 auto 12px; }
.footer-brand p { margin: 0; font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-social a {
  color: rgba(255,255,255,0.85);
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 4px;
}
.footer-social a:hover { color: #f4d19c; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-nav a:hover { color: #f4d19c; }
.copyright { font-size: 0.82rem; opacity: 0.6; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid rgba(11,52,68,0.06); }
  .menu-toggle { display: flex; }
  .nav .btn { display: none; }

  .two-col, .about-inner, .soul-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards, .testimonial-grid, .pub-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .media-grid .featured { grid-column: span 1; }
  .press-list li a { flex-direction: column; gap: 6px; padding: 16px 20px; }
  .press-list .src { min-width: 0; }
  .year-label::before, .year-label::after { width: 30px; margin: 0 10px; }
  .about-images { height: auto; display: flex; flex-direction: column; gap: 20px; }
  .about-img-1, .about-img-2 {
    position: static;
    width: 100%;
    height: 320px;
  }
  .soul-img img { height: 380px; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }
}
@media (max-width: 500px) {
  .btn { padding: 14px 24px; font-size: 0.85rem; }
  .testimonial { padding: 28px 24px; border-radius: 0 40px 0 40px; }
  .card { padding: 32px 24px; }
}
