body, h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: #1a1a1a; color: #e0e0e0; line-height: 1.8; }
a { color: #f0c099; }
a:hover { color: #fff; }
img { max-width: 100%; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 20; padding: 8px 16px; background: #fff; color: #111; }
.skip-link:focus { top: 8px; }
.site-header { position: fixed; top: 0; width: 100%; z-index: 10; background: #2d2d2d; box-shadow: 0 2px 8px #0008; }
.navigation { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; gap: 20px; }
.brand-switch { display: flex; align-items: center; flex-shrink: 0; gap: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 42px; }
.planetes-brand img { height: 38px; }
.brand:hover { opacity: .8; }
.desktop-links { display: flex; align-items: center; }
.desktop-links a, .mobile-menu summary { color: #e0e0e0; text-decoration: none; font-size: 13px; letter-spacing: .04em; padding: 22px 10px; }
.desktop-links a:hover, .mobile-menu summary:hover { background: #555; color: #fff; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-links { position: absolute; right: 0; top: 100%; width: 240px; max-height: calc(100vh - 68px); overflow-y: auto; background: #2d2d2d; box-shadow: 0 4px 12px #0009; }
.mobile-links a { display: block; padding: 9px 18px; color: #eee; text-decoration: none; }
.mobile-links a:hover { background: #555; }
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 120px 6% 80px; background: linear-gradient(90deg, rgba(0,0,0,.83), rgba(0,0,0,.38)), url("planetes/images/paranal_vlti_sunset.jpg") center/cover; }
.hero-content { max-width: 780px; }
.eyebrow, .paper-year { color: #ffc79f; font-size: 13px; font-weight: bold; letter-spacing: .15em; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.14; color: #fff; margin: 20px 0; }
.hero-intro { max-width: 680px; font-size: 19px; line-height: 1.65; }
.hero-credit { position: absolute; bottom: 12px; left: 6%; color: #ddd; font-size: 11px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.w3-button { background: #404040; color: #f4f4f4; white-space: normal; text-align: center; }
.w3-button:hover { background: #555 !important; color: #fff !important; }
.action-primary { background: #a64c27; }
.action-secondary { border: 1px solid #bbb; }
.section { padding: 90px 24px; }
.section-alt { background: #242424; }
.content { max-width: 1200px; margin: auto; }
.narrow { max-width: 1000px; }
.section-title { text-align: center; font-size: 25px; letter-spacing: .04em; margin: 0 0 12px; }
.section-lead { text-align: center; font-size: 19px; color: #d3d3d3; margin: 0 auto 48px; max-width: 850px; }
.intro-copy { max-width: 950px; margin: 0 auto; text-align: center; }
.feature-grid, .paper-grid, .resource-grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.feature { text-align: center; padding: 10px 24px; }
.feature .fa { color: #e9a47d; font-size: 36px; }
h3 { font-size: 20px; line-height: 1.4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split p:first-child { margin-top: 0; }
figure { margin: 0; }
figure img { width: 100%; display: block; border-radius: 3px; }
.figure-light { background: #fff; }
figcaption { font-size: 13px; line-height: 1.5; color: #c1c1c1; margin-top: 10px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.paper-grid { grid-template-columns: repeat(4, 1fr); }
.paper-card, .resource-grid article { background: #2d2d2d; border: 1px solid #404040; padding: 24px; }
.paper-card { display: flex; flex-direction: column; }
.paper-card h3 { margin-top: 0; }
.paper-card a { margin-top: auto; }
.paper-year { margin: 0 0 14px; }
.bibliography-jump { margin: 40px 0; }
.bibliography { max-width: 1000px; margin: 60px auto 0; scroll-margin-top: 80px; }
.bibliography > p { text-align: center; }
.bibliography h4 { color: #ffc79f; font-size: 19px; margin: 32px 0 8px; }
.publication-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #444; }
.publication-list li { padding: 12px 0; border-bottom: 1px solid #444; }
.publication-list span { display: block; color: #c1c1c1; font-size: 14px; }
.project-panel { display: flex; align-items: center; gap: 40px; background: #2d2d2d; border: 1px solid #404040; padding: 30px; }
.project-panel img { width: 180px; height: auto; flex-shrink: 0; }
.resource-grid { grid-template-columns: repeat(3, 1fr); }
.resource-grid h3 { margin-top: 0; }
.conduct-frame { display: block; width: 100%; min-height: 600px; border: 1px solid #555; background: #fff; }
.site-footer { text-align: center; padding: 48px 24px; background: #111; }
@media (max-width: 1100px) {
  .desktop-links { display: none; }
  .mobile-menu { display: block; }
  .paper-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .navigation { padding: 0 16px; }
  .brand-switch { gap: 6px; }
  .brand img { height: 36px; }
  .planetes-brand img { height: 32px; }
  .hero { min-height: 80vh; padding: 110px 24px 70px; }
  .hero-intro { font-size: 17px; }
  .section { padding: 64px 20px; }
  .section-lead { margin-bottom: 32px; }
  .feature-grid, .split, .two-columns, .paper-grid, .resource-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature { padding: 8px; }
  .project-panel { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .project-panel img { width: 150px; }
  .conduct-frame { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
