/* Director profile pages (/rob-johnston/). Light editorial layout on the
   shared Capra tokens, built to read well on a phone first. */
.profile-main {
  background: var(--paper, #fbfaf6);
  color: var(--ink, #0e1b2c);
}

.profile-breadcrumb {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 0;
}

.profile-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--slate, #2d3540);
  font-size: 13px;
}

.profile-breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--brass, #a8835b);
  content: "/";
}

.profile-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
}

.profile-eyebrow {
  margin: 0 0 16px;
  color: var(--brass-deep, #806445);
  font-family: var(--f-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-hero h1 {
  margin: 0;
  color: var(--ink, #0e1b2c);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.profile-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--slate, #2d3540);
  font-size: 18px;
  line-height: 1.65;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.profile-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--ink, #0e1b2c);
  color: var(--paper, #fbfaf6);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.profile-primary:hover {
  background: #1c2c42;
}

.profile-secondary {
  color: var(--ink, #0e1b2c);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-primary:focus-visible,
.profile-secondary:focus-visible,
.profile-main a:focus-visible {
  outline: 2px solid var(--brass, #a8835b);
  outline-offset: 4px;
}

.profile-portrait {
  margin: 0;
}

.profile-portrait img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-left: auto;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline-strong, rgba(14, 27, 44, 0.2));
  list-style: none;
}

.profile-facts li {
  display: grid;
  gap: 4px;
  padding: 20px 24px 0 0;
}

.profile-facts strong {
  font-size: 18px;
  font-weight: 700;
}

.profile-facts span {
  color: var(--slate, #2d3540);
  font-size: 14px;
  line-height: 1.5;
}

.profile-section {
  padding: 72px 0;
  border-top: 1px solid var(--hairline, rgba(14, 27, 44, 0.12));
}

.profile-section--tint {
  background: var(--bone, #f4efe6);
}

.profile-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.profile-split {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 64px;
}

.profile-section h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.profile-timeline {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-timeline li {
  position: relative;
  padding-left: 28px;
}

.profile-timeline li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass, #a8835b);
  content: "";
}

.profile-timeline li:not(:last-child)::after {
  position: absolute;
  top: 24px;
  bottom: -24px;
  left: 3px;
  width: 1px;
  background: var(--hairline-strong, rgba(14, 27, 44, 0.2));
  content: "";
}

.profile-section h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-section p,
.profile-points li {
  margin: 8px 0 0;
  color: var(--slate, #2d3540);
  font-size: 16px;
  line-height: 1.7;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.profile-grid article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--hairline-strong, rgba(14, 27, 44, 0.2));
  border-radius: 8px;
  background: #fff;
}

.profile-grid article p {
  flex: 1;
}

.profile-grid a,
.profile-guides a {
  color: var(--ink, #0e1b2c);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brass, #a8835b);
  text-underline-offset: 4px;
}

.profile-grid a {
  margin-top: 20px;
}

.profile-points {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-points li {
  margin: 0;
}

.profile-points strong {
  color: var(--ink, #0e1b2c);
}

.profile-guides {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-strong, rgba(14, 27, 44, 0.2));
  list-style: none;
}

.profile-guides li {
  border-bottom: 1px solid var(--hairline-strong, rgba(14, 27, 44, 0.2));
}

.profile-guides a {
  display: block;
  padding: 16px 0;
  font-weight: 600;
  text-decoration: none;
}

.profile-guides a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brass, #a8835b);
}

.profile-page .page-closing {
  padding-top: 72px;
}

@media (max-width: 960px) {
  .profile-hero-inner,
  .profile-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-portrait img {
    max-width: 320px;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .profile-breadcrumb {
    width: calc(100% - 40px);
    padding-top: 88px;
  }

  .profile-hero,
  .profile-inner {
    width: calc(100% - 40px);
  }

  .profile-hero {
    padding: 24px 0 40px;
  }

  .profile-hero-inner {
    gap: 24px;
  }

  .profile-portrait {
    order: -1;
  }

  .profile-portrait img {
    width: 120px;
    border-radius: 50%;
  }

  .profile-lede {
    font-size: 16px;
  }

  .profile-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .profile-primary {
    justify-content: center;
  }

  .profile-secondary {
    text-align: center;
  }

  .profile-facts {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .profile-facts li {
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline, rgba(14, 27, 44, 0.12));
  }

  .profile-section {
    padding: 48px 0;
  }

  .profile-grid article {
    padding: 20px;
  }

  .profile-page .page-closing {
    padding-top: 40px;
  }
}

/* The shared mobile header is transparent over dark heroes. This page opens
   on paper, so give the header its solid ink background from the start. */
.profile-page .site-header,
.profile-page .site-header.is-scrolled,
.profile-page .home-mobile-contact-bar + .site-header:not(.menu-open) {
  background: var(--ink, #0e1b2c);
}
