/* =====================================================
   BOLD EDITORIAL LOOK (loads after style.css)
   To go back to the earlier look, delete the editorial.css <link> line in each .html file.
   ===================================================== */

:root { --radius: 2px; }

/* ---------- Layout ---------- */
.narrow { width: min(980px, 92%); }
.section { padding: 6rem 0; }

/* ---------- Navigation: small caps, tighter ---------- */
.nav nav a { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.74rem; font-weight: 600; }
.nav nav .dd-menu a { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.logo { letter-spacing: -0.01em; }

/* ---------- Hero: giant name that slides up line by line ---------- */
.hero { padding: 6.5rem 0 6rem; }
.hero h1 {
  font-size: clamp(3.4rem, 9vw, 7.2rem); line-height: 0.95; letter-spacing: -0.025em;
  margin: 0.6rem 0 1.6rem; animation: none;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; animation: lineup 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes lineup { from { transform: translateY(110%); } to { transform: none; } }
.lead { font-size: 1.2rem; }

.hero-photo {
  border: 0; border-radius: 2px;
  box-shadow: 14px 14px 0 var(--gold);
  animation: rise 0.9s 0.25s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---------- Scrolling ticker under the hero ---------- */
.marquee { background: var(--gold); color: var(--navy); overflow: hidden; white-space: nowrap; padding: 0.9rem 0; }
.marquee-track { display: inline-flex; animation: ticker 32s linear infinite; }
.marquee-track span {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em;
  padding: 0 1.4rem;
}
.marquee-track span::after { content: "\2726"; margin-left: 2.8rem; opacity: 0.6; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings: big serif with a number above ---------- */
main { counter-reset: sec; }
.section h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 2rem;
}
.section h2::before {
  counter-increment: sec; content: "0" counter(sec);
  display: block; margin-bottom: 0.9rem;
  font: 600 0.8rem "Inter", sans-serif; letter-spacing: 0.22em; color: var(--gold-dark);
}
.section h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 1.1rem; }
.contact h2::after { margin-left: auto; margin-right: auto; }

/* About reads like a magazine opening */
#about p:first-of-type { font-family: "Source Serif 4", Georgia, serif; font-size: 1.5rem; line-height: 1.5; color: var(--navy); }

/* ---------- Experience: big rows that fill navy on hover ---------- */
.section-intro { margin-top: 0; }
.exp-grid { gap: 0; border-bottom: 1px solid var(--navy); margin-top: 2rem; }
.exp-card {
  background: transparent; border: 0; border-top: 1px solid var(--navy); border-radius: 0;
  padding: 1.8rem 0.5rem;
  transition: background 0.3s, padding 0.3s;
}
.exp-card:hover { transform: none; box-shadow: none; background: var(--navy); padding-left: 1.6rem; padding-right: 1.6rem; }
.exp-card h3 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 0.35rem; transition: color 0.3s; }
.exp-card p { transition: color 0.3s; }
.exp-card:hover h3, .exp-card:hover h3 span { color: #fff; }
.exp-card:hover p { color: #c9cfdd; }
.exp-card:hover .when { color: var(--gold); }
.exp-card.current .when::before { content: "\25CF  "; color: var(--gold-dark); }
.exp-card:hover.current .when::before { color: var(--gold); }
.exp-card .arrow { font-size: 2rem; color: var(--gold-dark); }
.exp-card:hover .arrow { color: var(--gold); transform: translateX(10px); }

/* ---------- Squarer, calmer cards ---------- */
.research-card { border-radius: 2px; }
.card, .module { border-radius: 2px; }
.edu-item { border-top-width: 4px; }
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }

/* ---------- Company pages ---------- */
.journey-hero { padding: 5rem 0 4.5rem; }
.journey-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -0.025em; }
.jsection h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.015em; }

/* ---------- Phones ---------- */
@media (max-width: 800px) {
  .section { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 3.5rem; }
  .hero h1 .line { text-align: center; }
  .hero-photo { box-shadow: 10px 10px 0 var(--gold); }
  .marquee-track span { font-size: 1rem; }
  #about p:first-of-type { font-size: 1.25rem; }
  .exp-card:hover { padding-left: 0.5rem; padding-right: 0.5rem; }
}
