:root {
  --bordeaux: #72243E;
  --teal: #0F6E56;
  --ink: #1d1d1b;
  --muted: #5f5a5c;
  --line: #e4dfe1;
  --white: #ffffff;
  --font-heading: Cambria, Georgia, "Times New Roman", serif;
  --font-body: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  --photo-h: min(72vh, 680px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: var(--bordeaux); }

/* Top bar — understated */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 1.6rem; height: 1.6rem; }

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.nav { display: flex; gap: 1.5rem; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--bordeaux); }

/* Hero — full-bleed photo, solid block beneath, rotated wordmark on the seam */

.hero { position: relative; overflow: hidden; }

.hero-photo { height: var(--photo-h); }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-block {
  background: var(--bordeaux);
  color: var(--white);
  min-height: 300px;
  padding: 3rem 2rem 3rem 9rem;
}

.hero-block .kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  opacity: 0.8;
}

.hero-block .subheading {
  margin: 0;
  max-width: 34rem;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.wordmark {
  position: absolute;
  left: 1.25rem;
  top: var(--photo-h);
  margin: 0;
  transform-origin: 0 0;
  transform: rotate(-90deg) translateX(-40%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* Sections: big label left, content right */

.section { padding: 5rem 1.5rem; }

.section-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2rem;
}

.section-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--bordeaux);
}

.section-body { max-width: 44rem; }

.lead {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.section--teal { background: var(--teal); color: var(--white); }
.section--teal .section-label { color: var(--white); }

.intro { margin: 0 0 1.5rem; color: var(--muted); }

/* Experience — LinkedIn-style entries */

.experience { list-style: none; margin: 0; padding: 0; }

.exp {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.exp:last-child { border-bottom: 1px solid var(--line); }

.exp-logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.exp-logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--bordeaux);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.exp-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.exp-org { margin: 0.1rem 0 0; }
.exp-org a { text-decoration: none; font-weight: 600; }
.exp-org a:hover { text-decoration: underline; }

.exp-dates { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.exp-dates:empty { display: none; }

.exp-text { margin: 0.75rem 0 0; }

/* Contact */

.contact {
  background: var(--bordeaux);
  color: var(--white);
  padding: 4.5rem 1.5rem;
}

.contact .section-inner { display: block; }

.contact h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
}

.button {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: var(--white);
  color: var(--bordeaux);
  text-decoration: none;
  font-weight: 700;
}

.button:hover { background: #f3e9ed; }

/* Footer */

.footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p { margin: 0.25rem 0; }
.footer a { color: var(--muted); }

.footer-mark { width: 1.75rem; height: 1.75rem; margin: 0 auto 0.75rem; }

/* Small screens */

@media (max-width: 780px) {
  :root { --photo-h: 62vh; }

  .nav { display: none; }

  .hero-photo img { object-position: 40% 10%; }

  .wordmark {
    left: 1.25rem;
    right: 1.25rem;
    transform: translateY(-55%);
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    white-space: normal;
  }

  .hero-block {
    min-height: 0;
    padding: 3.5rem 1.25rem 2.5rem;
  }

  .section { padding: 3.5rem 1.25rem; }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
