/* Home page — hero, sections, cards, contact */

section[id] { scroll-margin-top: 96px; }

/* BUTTONS — uppercase, letter-spaced */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid {
  background: var(--taupe);
  color: var(--paper);
  border: 1px solid var(--taupe);
}
.btn-solid:hover { background: var(--taupe-dark); border-color: var(--taupe-dark); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
}
.btn-ghost:hover { background: var(--paper); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
}
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* HERO — full-bleed photo with navy overlay */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(31, 42, 68, 0.94) 0%,
    rgba(31, 42, 68, 0.78) 38%,
    rgba(31, 42, 68, 0.30) 68%,
    rgba(31, 42, 68, 0.06) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
  width: 100%;
}
.hero .kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero .tagline {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin-bottom: 44px;
}
.hero .tagline strong { font-weight: 600; color: var(--paper); }
.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Staggered hero reveal — elements stay visible if animations don't run */
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero .tagline, .hero .cta-row {
    animation: rise 0.7s ease backwards;
  }
  .hero h1 { animation-delay: 0.12s; }
  .hero .tagline { animation-delay: 0.24s; }
  .hero .cta-row { animation-delay: 0.36s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
  }
}

/* SECTION SCAFFOLD — centered uppercase headings with taupe rule */
.section { padding: 100px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--taupe);
  margin: 20px auto 0;
}
.section-head .lede {
  max-width: 58ch;
  margin: 24px auto 0;
  font-size: 16px;
  color: var(--muted);
}

/* ADVISORY AREAS — cards */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.area {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-bottom: 3px solid var(--mist);
  padding: 40px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.area:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(31, 42, 68, 0.10);
  border-bottom-color: var(--taupe);
}
.area .num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--taupe);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 18px;
}
.area h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.45;
  color: var(--navy);
}
.area p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ABOUT — statement + portrait + text */
.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  grid-template-areas:
    "statement statement"
    "portrait text"
    "cta cta";
  /* keep the heading and button rows content-sized; the portrait row takes the rest */
  grid-template-rows: auto 1fr auto;
  column-gap: 72px;
  row-gap: 40px;
  align-items: start;
}

.about-grid .statement {
  grid-area: statement;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--navy);
}

.about-grid .statement em {
  font-style: normal;
  color: var(--taupe);
}

.about-grid .statement::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--taupe);
  margin-top: 24px;
}

.about-portrait {
  grid-area: portrait;
  margin: 0;
  width: 100%;
  max-width: 360px;
  /* stretch to the bottom of the text column so the image ends with the text */
  align-self: stretch;
  min-height: 0;
}

.about-portrait picture {
  display: block;
  height: 100%;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 25%;
}

.about-grid .text {
  grid-area: text;
}

.about-grid .text p {
  margin-bottom: 1.2em;
  max-width: 58ch;
  color: var(--ink);
  font-size: 15.5px;
}

.about-grid .text p:last-of-type {
  margin-bottom: 0;
}

.about-cta {
  grid-area: cta;
  justify-self: center;
}

/* CAREER LIST */
.career-list {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
}
.career-list li {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.career-list li:last-child { border-bottom: none; }
.career-list .where {
  color: var(--taupe);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 5px;
}
.career-list .what strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--navy);
}
.career-list .what span {
  color: var(--muted);
  font-size: 14px;
}

/* PUBLICATIONS */
.pub-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
}
.pub-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.pub-list li:first-child { border-top: 1px solid var(--rule); }
.pub-list em { font-style: italic; }

/* CONTACT — full-width navy band */
.contact {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 110px 0;
}
.contact h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 20px;
}
.contact h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--taupe);
  margin: 20px auto 0;
}
.contact .lede {
  max-width: 46ch;
  margin: 0 auto 40px;
  font-size: 16px;
  font-weight: 300;
  color: var(--mist);
}
.contact .meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact .meta span strong {
  color: var(--paper);
  font-weight: 600;
  margin-right: 8px;
}
.contact .meta .dot { color: var(--taupe); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .hero .photo { object-position: 77% 20%; }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(31, 42, 68, 0.88) 0%,
      rgba(31, 42, 68, 0.72) 100%);
  }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .areas-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "statement"
      "portrait"
      "text"
      "cta";
    grid-template-rows: auto;
    gap: 36px;
  }

  .about-portrait {
    max-width: 420px;
    align-self: start;
  }
  .about-portrait img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .career-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact { padding: 72px 0; }
  .contact .meta { flex-direction: column; gap: 10px; }
  .contact .meta .dot { display: none; }
}
