* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -0.02em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.nav-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.85rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.nav-links a:hover { border-color: #000; }

/* ---------- Intro ---------- */
.intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 40px 96px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
}
.intro h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
}
.intro-line {
  margin: 0 0 36px;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
.intro-actions { display: flex; align-items: center; gap: 28px; }
.intro-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 20%;
  border-radius: 0 120px 0 0;
}

.btn-dark {
  display: inline-block;
  padding: 14px 26px;
  font-size: 0.85rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #000;
  transition: background 0.2s, color 0.2s;
}
.btn-dark:hover { background: #fff; color: #000; }

.link-arrow {
  font-size: 0.85rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow span { display: inline-block; transition: transform 0.2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats {
  background: #000;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px max(40px, calc((100% - 1280px) / 2));
}
.stat strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat span { font-size: 0.85rem; line-height: 1.5; opacity: 0.65; }

/* ---------- Experience timeline ---------- */
.timeline { max-width: 1280px; margin: 0 auto; }
.role {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid #ddd;
}
.role:last-child { border-bottom: 1px solid #ddd; }
.role-meta h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 600; }
.role-meta p { margin: 0; font-size: 0.85rem; color: #666; }
.role-body { margin: 0; font-size: 1rem; line-height: 1.7; color: #222; max-width: 720px; }
mark {
  background: none;
  color: #000;
  font-weight: 500;
  box-shadow: inset 0 -0.45em 0 #e8e8e8;
}

/* ---------- Highlights ---------- */
.highlights { padding-top: 0; }
.feature {
  max-width: 1280px;
  margin: 0 auto 112px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature:last-child { margin-bottom: 0; }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.feature-num { margin: 0 0 12px; font-size: 0.75rem; letter-spacing: 0.16em; color: #888; }
.feature-text h3 { margin: 0 0 20px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.feature-text p { margin: 0 0 16px; line-height: 1.7; color: #222; }
.feature-text .note { font-style: italic; color: #666; font-size: 0.9rem; }
.feature-text .link-arrow { display: inline-block; margin-top: 12px; }

.bmw-collage {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 3 / 2.1;
}
.bmw-collage .tall { grid-row: 1 / 3; }

.manor-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.manor-strip img { aspect-ratio: 5 / 3; }

.porsche-pair {
  display: grid;
  grid-template-columns: 0.568fr 2.537fr;  /* proportional to each image's width/height so both share one height */
  gap: 8px;
}
.porsche-pair img { height: auto; }

/* ---------- Sections ---------- */
.section { padding: 112px 40px 128px; }
.section.dark  { background: #000; color: #fff; }
.section.light { background: #fff; color: #000; }

.section-head {
  max-width: 1280px;
  margin: 0 auto 56px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}
.section-head p { margin: 0; font-size: 1rem; opacity: 0.65; }

/* ---------- Card grid ---------- */
.grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.card-img {
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #222;
}
.light .card-img { background: #f2f2f2; }
.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-pub {
  margin: 18px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.card h3 {
  margin: 18px 0 14px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
}
.card-pub + h3 { margin-top: 8px; }

.card-cta {
  margin-top: auto;
  font-size: 0.8rem;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.card-cta span { display: inline-block; transition: transform 0.2s; }
.card:hover .card-cta span { transform: translateX(4px); }

.card:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 112px 24px 48px;
}
.footer h2 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
}
.footer-email {
  display: inline-block;
  margin: -12px 0 40px;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.footer-email:hover { border-color: #fff; }
.footer-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn-solid { background: #fff; color: #000; }
.btn-solid:hover { background: transparent; color: #fff; }
.copyright { margin: 96px 0 0; font-size: 0.75rem; opacity: 0.5; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro-photo { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 88px; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .nav { padding: 0 16px; height: 56px; }
  .nav-name { font-size: 0.85rem; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.8rem; }
  .hide-sm { display: none; }
  .intro { padding: 48px 16px 56px; }
  .intro-photo img { aspect-ratio: 1 / 1; border-radius: 0 80px 0 0; }
  .stats { padding: 48px 16px; gap: 28px 20px; }
  .role { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .intro-line { font-size: 1rem; }
  .section { padding: 72px 16px 88px; }
  .section-head { margin-bottom: 36px; }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .footer { padding: 80px 16px 40px; }
}
