/* Homepage: the approved executive layout, independent of legacy hero styles. */
.home-page {
  --home-gold: #d8ae61;
  --home-navy: #061e2e;
  --home-dock-height: 72px;
  background: #fff;
}
.home-page .topbar {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  min-height: 0;
  padding: 12px max(32px, calc((100vw - 1240px) / 2));
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #e9e9e6;
}
.home-page .topbar .brand {
  width: 190px;
  height: 62px;
  min-width: 0;
  flex: 0 0 auto;
}
.home-page .topbar .site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-page .topbar .executive-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  overflow: visible;
}
.home-page .executive-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #d9dfe4;
  border-radius: 7px;
  background: #f4f5f6;
  color: #092638;
  font: 600 13px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.home-page .executive-nav a:hover { background: #e8edf0; border-color: #a4b1bb; }
.home-page .executive-nav a.active { background: var(--home-navy); border-color: var(--home-navy); color: #fff; }
.home-page .executive-nav a.executive-login { background: #e5bd74; border-color: #d8ac5e; color: #092638; }
.home-page .executive-nav a.executive-login:hover { background: #edca8c; }
.executive-login svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.home-skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 14px 20px; background: white; color: #061e2e; transform: translateY(-160%); }
.home-skip-link:focus { transform: translateY(0); }
.home-page :where(a, button, select, input):focus-visible { outline: 3px solid #a47525; outline-offset: 4px; }
.executive-hero {
  position: relative;
  isolation: isolate;
  order: 1;
  padding: 48px 32px 34px;
  color: #fff;
  background: radial-gradient(ellipse at 60% 8%, #113449 0, transparent 60%), #061e2e;
  overflow: hidden;
}
.executive-hero::before, .executive-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgb(216 174 97 / 20%);
  border-radius: 50%;
}
.executive-hero::before { width: 1100px; height: 460px; bottom: -370px; left: -160px; transform: rotate(18deg); box-shadow: 0 28px 0 0 #061e2e, 0 29px 0 0 rgb(216 174 97 / 12%); }
.executive-hero::after { width: 650px; height: 440px; right: -540px; bottom: -290px; }
.executive-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 34px 48px;
  width: min(100%, 1200px);
  margin: 0 auto;
}
.executive-copy { min-width: 0; padding: 8px 0; }
.executive-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #e4bb73;
  font: 600 10px/1.6 var(--sans);
  letter-spacing: .16em;
}
.executive-eyebrow::before { content: ""; flex: 0 0 36px; height: 1px; background: var(--home-gold); }
.executive-copy h1 { margin: 0; font: 400 clamp(44px, 4.7vw, 70px)/1.04 var(--serif); letter-spacing: -.04em; }
.executive-copy h1 em { color: #e0b567; font-weight: 400; }
.executive-description { max-width: 460px; margin: 26px 0 0; color: #edf1f5; font: 400 17px/1.7 var(--sans); }
.executive-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 26px; }
.executive-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid #e1b86e;
  border-radius: 5px;
  background: linear-gradient(110deg, #d2a65a, #e6bd76);
  color: #071e30;
  font: 700 15px/1.45 var(--sans);
  text-decoration: none;
  transition: background .18s ease;
}
.executive-cta:hover { background: #efcc8a; }
.executive-cta span { font: 400 25px/1 var(--sans); }
.executive-secondary { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 2px; margin-left: 24px; border-bottom: 1px solid #7b909d; color: #fff; font: 400 14px/1.5 var(--sans); text-decoration: none; }
.executive-secondary span { color: var(--home-gold); font-size: 22px; line-height: 1; }
.executive-secondary:hover { color: #e9c58a; border-color: #e9c58a; }
.executive-portrait { width: 100%; min-width: 0; margin: 0; }
.executive-portrait > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #e2b56a;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 16%);
}
.executive-portrait figcaption { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 4px; margin-top: 14px; color: #edf1f4; font: 400 12px/1.6 var(--sans); text-align: center; }
.executive-portrait figcaption::before { content: ""; width: 32px; height: 1px; margin-right: 8px; background: var(--home-gold); }
.executive-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; margin: 0; padding: 8px 0 0; list-style: none; }
.executive-values li { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 24px; color: #e9eff3; font: 400 14px/1.5 var(--sans); }
.executive-values li + li { border-left: 1px solid #71818b; }
.executive-values svg { width: 36px; height: 36px; flex: 0 0 36px; fill: none; stroke: var(--home-gold); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.home-dock { display: none; }
.home-page main > section[id] { scroll-margin-top: 20px; }

@media (min-width: 821px) and (max-width: 1100px) {
  .home-page .topbar { padding-inline: 28px; gap: 18px; }
  .home-page .topbar .brand { width: 170px; }
  .home-page .executive-nav a { padding-inline: 14px; }
  .executive-hero { padding: 36px 28px 28px; }
  .executive-layout { gap: 28px 32px; }
  .executive-eyebrow { letter-spacing: .08em; font-size: 9px; gap: 10px; }
  .executive-eyebrow::before { flex-basis: 24px; }
  .executive-copy h1 { font-size: clamp(42px, 4.7vw, 52px); }
  .executive-description { font-size: 16px; margin-top: 22px; }
  .executive-portrait > img { aspect-ratio: .92; }
  .executive-values li { gap: 16px; padding-inline: 12px; font-size: 13px; }
}
@media (min-width: 821px) and (max-height: 850px) {
  .executive-hero { padding-block: 32px 26px; }
  .executive-layout { row-gap: 24px; }
  .executive-portrait > img { height: clamp(340px, calc(100svh - 340px), 470px); aspect-ratio: auto; }
}
@media (max-width: 820px) {
  .home-page { padding-bottom: calc(var(--home-dock-height) + env(safe-area-inset-bottom, 0px)); }
  .home-page .topbar { height: 72px; min-height: 72px; padding: 6px 20px; gap: 0; }
  .home-page .topbar .brand { width: 170px; height: 58px; }
  .home-page .topbar .executive-nav { display: none !important; }
  .executive-hero { padding: 30px 20px 26px; }
  .executive-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 560px; }
  .executive-copy { padding: 0; }
  .executive-eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .055em; gap: 10px; }
  .executive-eyebrow::before { flex-basis: 28px; }
  .executive-copy h1 { font-size: clamp(40px, 11.5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
  .executive-description { margin-top: 20px; font-size: 15px; line-height: 1.65; max-width: 480px; }
  .executive-actions { align-items: center; margin-top: 22px; gap: 6px; }
  .executive-cta { width: 100%; min-height: 54px; padding: 13px 20px; gap: 12px; justify-content: center; font-size: 14px; }
  .executive-cta span { margin-left: auto; }
  .executive-secondary { margin-left: 0; font-size: 13px; }
  .executive-portrait > img { aspect-ratio: 1.5; border-radius: 8px; }
  .executive-portrait figcaption { font-size: 11px; margin-top: 12px; }
  .executive-portrait figcaption span, .executive-values { display: none; }
  .home-dock {
    position: fixed;
    z-index: 100;
    bottom: 0;
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    height: calc(var(--home-dock-height) + env(safe-area-inset-bottom, 0px));
    padding: 6px max(10px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    background: #fffefb;
    border-top: 1px solid #e9e3d9;
    box-shadow: 0 -4px 24px rgb(6 30 46 / 10%);
  }
  .home-dock a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-width: 0; min-height: 56px; padding: 4px; color: #102e46; text-decoration: none; border-radius: 10px; font: 600 11px/1.25 var(--sans); }
  .home-dock svg { width: 26px; height: 26px; padding: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .home-dock a.active { color: #80521b; background: #fbefdc; }
  .home-dock a:hover { background: #f6f1e7; }
  .home-page main > section[id] { scroll-margin-top: 16px; }
  .home-page .chapter-taubate-feature { width: auto; }
}
@media (max-width: 360px) {
  .executive-hero { padding-inline: 16px; }
  .executive-copy h1 { font-size: 38px; }
  .executive-eyebrow { font-size: 8px; gap: 8px; }
  .executive-eyebrow::before { flex-basis: 18px; }
  .executive-cta { font-size: 13px; padding-inline: 14px; }
}
@media (max-width: 720px) {
  .home-page .company-grid .partner-card:not(.partner-card-featured) { grid-template-columns: clamp(72px, 22vw, 88px) minmax(0, 1fr); }
  .home-page .company-grid .partner-card > * { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page a { transition: none; }
}
