/* Stage 5 historical homepage structure; isolated from the shared site styles. */
.stage5-home-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(640px,calc(100svh - 52px),780px);overflow:hidden;background:#151b1b;color:#fff}
.stage5-home-hero .page-hero__bg,.stage5-home-hero .page-hero__bg picture{position:absolute;inset:0;width:100%;height:100%;display:block}
.stage5-home-hero .page-hero__bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.stage5-home-hero .page-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,18,18,.88) 0%,rgba(13,18,18,.70) 40%,rgba(13,18,18,.25) 100%);z-index:0}
.stage5-home-hero .page-hero__pattern{position:absolute;inset:0;z-index:0;opacity:.10;background:repeating-linear-gradient(135deg,transparent 0,transparent 21px,rgba(255,255,255,.22) 22px,transparent 23px)}
.stage5-home-hero .page-hero__inner{position:relative;z-index:1;width:min(100%,1280px);margin:0 auto;padding:108px 40px 90px}
.stage5-home-hero .page-hero__home-content{max-width:660px}
.stage5-home-hero .page-hero__title{max-width:650px;margin:0 0 20px;color:#fff;font:700 clamp(38px,3.5vw,48px)/1.08 var(--font-sans,Arial,sans-serif);letter-spacing:-.025em}
.stage5-home-hero .page-hero__desc{max-width:590px;margin:0 0 28px;color:rgba(255,255,255,.92);font:400 18px/1.6 var(--font-sans,Arial,sans-serif)}
.stage5-home-hero .page-hero__actions{display:flex;flex-wrap:wrap;gap:12px}
.stage5-home-hero .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:7px;text-decoration:none;font:600 15px/1.2 var(--font-sans,Arial,sans-serif);transition:background .15s ease,color .15s ease}
.stage5-home-hero .btn--primary{background:#287a4d;color:#fff;border:1px solid #287a4d}
.stage5-home-hero .btn--primary:hover{background:#1e623d}
.stage5-home-hero .btn--ghost{background:rgba(18,22,21,.28);color:#fff;border:1px solid rgba(255,255,255,.72)}
.stage5-home-hero .btn--ghost:hover{background:rgba(255,255,255,.12)}
.stage5-hero-photo-note{position:absolute;z-index:2;right:18px;bottom:14px;max-width:calc(100% - 36px);padding:6px 10px;border-radius:4px;background:rgba(16,22,21,.78);color:#fff;font:500 11px/1.35 var(--font-sans,Arial,sans-serif)}
.stage5-categories-section{padding:56px 24px 64px;background:#fff}
.stage5-categories-section .category-cards{width:min(100%,1280px);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.stage5-categories-section .category-card{position:relative;isolation:isolate;display:block;min-height:264px;aspect-ratio:1.55;overflow:hidden;border-radius:10px;background:#262b29;color:#fff;text-decoration:none}
.stage5-categories-section .category-card__bg,.stage5-categories-section .category-card__bg picture,.stage5-categories-section .category-card__bg-img{position:absolute;inset:0;width:100%;height:100%;display:block}
.stage5-categories-section .category-card__bg-img{object-fit:cover;object-position:center}
.stage5-categories-section .category-card__overlay{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(9,14,13,.04) 22%,rgba(9,14,13,.78) 100%)}
.stage5-categories-section .category-card__body{position:absolute;z-index:1;left:22px;right:22px;bottom:20px}
.stage5-categories-section .category-card__title{display:block;color:#fff;font:700 23px/1.2 var(--font-sans,Arial,sans-serif)}
.stage5-category-photo-note{position:absolute;z-index:2;top:12px;right:12px;padding:5px 8px;border-radius:4px;background:rgba(255,248,230,.94);color:#59401d;font:600 10px/1.2 var(--font-sans,Arial,sans-serif)}
.stage5-about{max-width:1280px;margin:0 auto;padding:68px 40px;border-top:1px solid var(--c-gray-200,#e5e7e5)}
.stage5-about-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.stage5-about h2{margin:0 0 20px;color:var(--c-gray-900,#202522);font:700 30px/1.2 var(--font-sans,Arial,sans-serif)}
.stage5-about p{margin:0;color:var(--c-gray-700,#525a55);font:400 15.5px/1.7 var(--font-sans,Arial,sans-serif)}
.stage5-about-media{position:relative;aspect-ratio:4/3;width:100%;overflow:hidden;border-radius:var(--r-md,8px);background:#e9e9e4}
.stage5-about-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.stage5-about-caption{position:absolute;z-index:1;left:10px;right:10px;bottom:10px;padding:7px 10px;border-radius:4px;background:rgba(16,22,21,.82);color:#fff;text-align:center;font:500 11px/1.35 var(--font-sans,Arial,sans-serif)}
.stage5-cta-photo{position:relative;isolation:isolate;overflow:hidden;padding:68px 40px;background:#17201c;color:#fff}
.stage5-cta-bg,.stage5-cta-bg picture,.stage5-cta-bg .cta-form__bg-img{position:absolute;inset:0;width:100%;height:100%;display:block}
.stage5-cta-bg .cta-form__bg-img{object-fit:cover;object-position:center 50%}
.stage5-cta-photo .cta-form__overlay{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(10,16,14,.80),rgba(10,16,14,.68) 50%,rgba(10,16,14,.74))}
.stage5-cta-photo .stage5-cta-pattern{position:absolute;inset:0;z-index:0;opacity:.12;background:repeating-linear-gradient(45deg,transparent 0,transparent 20px,rgba(255,255,255,.35) 21px,transparent 22px)}
.stage5-cta-photo .local-cta{position:relative;z-index:1;width:min(100%,1280px);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.stage5-cta-photo .local-cta h2{margin:0 0 14px;color:#fff;font:700 32px/1.2 var(--font-sans,Arial,sans-serif)}
.stage5-cta-photo .local-cta>div:first-child>a{color:#fff}
.stage5-cta-photo form{background:#fff}
.stage5-cta-photo input:disabled,.stage5-cta-photo textarea:disabled,.stage5-cta-photo button:disabled{opacity:.72;cursor:not-allowed}
.stage5-cta-photo .local-form-note{margin:0;padding:10px 12px;border-radius:5px;background:#f2f5f2;color:#4b5950;font:400 12px/1.4 var(--font-sans,Arial,sans-serif)}
.stage5-candidate-badge{display:inline-block;margin:0 0 13px;padding:6px 9px;border:1px solid rgba(255,255,255,.45);border-radius:4px;background:rgba(20,26,23,.65);color:#fff;font:600 11px/1.3 var(--font-sans,Arial,sans-serif)}
@media(max-width:900px){
  .stage5-home-hero{min-height:670px}
  .stage5-home-hero .page-hero__inner{padding:90px 28px 78px}
  .stage5-home-hero .page-hero__title{font-size:42px}
  .stage5-categories-section .category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stage5-categories-section .category-card{min-height:235px}
  .stage5-cta-photo{padding:58px 28px}
  .stage5-cta-photo .local-cta{gap:32px}
}
@media(max-width:640px){
  .stage5-home-hero{min-height:690px;align-items:flex-start}
  .stage5-home-hero .page-hero__bg-img{object-position:center}
  .stage5-home-hero .page-hero__overlay{background:linear-gradient(180deg,rgba(10,15,14,.64) 0%,rgba(10,15,14,.76) 52%,rgba(10,15,14,.88) 100%)}
  .stage5-home-hero .page-hero__inner{padding:42px 20px 70px}
  .stage5-home-hero .page-hero__title{max-width:100%;font-size:34px;line-height:1.1}
  .stage5-home-hero .page-hero__desc{font-size:16px;line-height:1.5}
  .stage5-home-hero .page-hero__actions{align-items:stretch;flex-direction:column}
  .stage5-home-hero .btn{width:100%;min-height:46px}
  .stage5-hero-photo-note{left:12px;right:12px;bottom:10px;text-align:center;font-size:10px}
  .stage5-categories-section{padding:32px 16px 42px}
  .stage5-categories-section .category-cards{grid-template-columns:1fr;gap:14px}
  .stage5-categories-section .category-card{min-height:218px;aspect-ratio:auto}
  .stage5-categories-section .category-card__body{left:17px;right:17px;bottom:16px}
  .stage5-categories-section .category-card__title{font-size:21px}
  .stage5-about{padding:50px 16px}
  .stage5-about-grid{grid-template-columns:1fr;gap:24px}
  .stage5-about h2{font-size:27px}
  .stage5-cta-photo{padding:48px 16px}
  .stage5-cta-photo .local-cta{grid-template-columns:1fr;gap:24px}
  .stage5-cta-photo form{padding:20px!important}
}

@media(min-width:901px){
  .stage5-home-hero .page-hero__inner{transform:translateY(-96px)}
  .stage5-home-hero .page-hero__title{font-size:clamp(42px,3.2vw,46px);line-height:1.05}
}
@media(max-width:640px){
  .stage5-home-hero .page-hero__inner{padding-top:50px}
}
