/* Distinct visual identities for the major Friends Group pages */

/* Homepage: cinematic group overview */
.page-home .executive-hero{min-height:790px;padding-top:120px;padding-bottom:155px;background-position:center 42%}
.page-home .executive-hero:before{background:linear-gradient(105deg,rgba(7,17,31,.99) 0,rgba(7,31,58,.94) 48%,rgba(15,79,145,.68) 100%),radial-gradient(circle at 76% 22%,rgba(228,195,131,.24),transparent 30%)}
.page-home .executive-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);align-items:end}
.page-home .executive-hero h1{max-width:900px;font-size:clamp(62px,7.3vw,108px)}
.page-home .group-command-panel{transform:translateY(42px);border-radius:36px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.055));box-shadow:0 48px 120px rgba(0,0,0,.34)}
.page-home .authority-strip{margin-top:-66px}
.page-home .authority-grid{border-radius:24px}
.page-home .company-showcase{display:grid;grid-template-columns:repeat(12,1fr);gap:24px}
.page-home .brand-company-card{grid-column:span 6;min-height:360px;padding:38px}
.page-home .brand-company-card:nth-child(1),.page-home .brand-company-card:nth-child(4){grid-column:span 7}
.page-home .brand-company-card:nth-child(2),.page-home .brand-company-card:nth-child(3){grid-column:span 5}
.page-home .brand-company-card h3{font-size:clamp(28px,3vw,42px)}
.page-home .founder-feature{padding-top:130px;padding-bottom:130px}
.page-home .founder-feature-grid{grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:90px}
.page-home .asset-stage{background:linear-gradient(180deg,#07111f,#0b2747);padding-top:130px}
.page-home .home-insights{background:linear-gradient(180deg,#fff,#f5f8fb)}
.page-home .credentials-band{margin:0 24px;border-radius:28px;overflow:hidden}

/* Companies: corporate directory */
.page-companies{background:#f3f6fa}
.page-companies .page-hero{min-height:520px;display:flex;align-items:flex-end;padding-bottom:95px;background-position:center 38%}
.page-companies .page-hero:before{background:linear-gradient(90deg,rgba(7,17,31,.99),rgba(8,38,72,.92) 58%,rgba(15,79,145,.62))}
.page-companies .page-hero h1{max-width:820px}
.page-companies .portfolio-page-intro{grid-template-columns:240px minmax(0,1fr);gap:70px;padding:58px 60px;background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(7,17,31,.11);margin-top:-54px;position:relative;z-index:4}
.page-companies .portfolio-page-intro .intro-index{font-size:11px;letter-spacing:.18em;border-right:1px solid rgba(7,17,31,.1);padding-right:30px}
.page-companies .soft{background:linear-gradient(145deg,#07111f,#0c315c);color:#fff}
.page-companies .soft .section-head h2,.page-companies .soft .section-head p{color:#fff}
.page-companies .soft .section-head p{opacity:.72}
.page-companies .company-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.page-companies .brand-company-card{min-height:430px;background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.055));border-color:rgba(255,255,255,.16);box-shadow:0 32px 70px rgba(0,0,0,.18);color:#fff}
.page-companies .brand-company-card h3,.page-companies .brand-company-card p,.page-companies .brand-company-card .company-meta{color:#fff}
.page-companies .brand-company-card p{opacity:.76}
.page-companies .brand-company-card .card-link{color:#e4c383}
.page-companies .group-architecture{grid-template-columns:repeat(3,1fr)}
.page-companies .architecture-card{background:#fff;border-top:4px solid #c99a46}

/* Official profile: formal business dossier */
.page-business-profile{background:#eee8dc}
.page-business-profile .page-hero{min-height:430px;padding:100px 0 85px;background-position:center 46%}
.page-business-profile .page-hero:before{background:linear-gradient(105deg,rgba(7,17,31,.98),rgba(12,39,71,.9))}
.page-business-profile .page-hero h1{max-width:760px;font-size:clamp(48px,5.5vw,76px)}
.page-business-profile .authority-strip{margin-top:-46px}
.page-business-profile .authority-grid{border-radius:12px;border-top:4px solid #c99a46}
.page-business-profile .editorial-grid{padding:58px 64px;background:#fff;border-radius:12px;box-shadow:0 28px 80px rgba(7,17,31,.09);align-items:start}
.page-business-profile .editorial-label{position:static;background:transparent;border-left:0;border-top:3px solid #c99a46;padding:24px 0 0}
.page-business-profile .soft{background:transparent}
.page-business-profile .company-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.page-business-profile .brand-company-card{border-radius:10px;box-shadow:none;border-left:5px solid #0f4f91;min-height:330px}
.page-business-profile .founder-feature{margin:0 24px;border-radius:22px}
.page-business-profile .asset-stage{background:#fff}
.page-business-profile .asset-card-premium{border-radius:12px}
.page-business-profile .credentials-band{background:#fff;color:#07111f;border-top:1px solid rgba(7,17,31,.1);border-bottom:1px solid rgba(7,17,31,.1)}
.page-business-profile .credentials-band h2{color:#07111f}
.page-business-profile .credentials-band p{color:#65758a}

/* Properties: visual portfolio */
.page-properties .page-hero{min-height:620px;display:flex;align-items:flex-end;padding-bottom:100px;background-position:center 52%}
.page-properties .page-hero:before{background:linear-gradient(100deg,rgba(7,17,31,.94),rgba(7,35,65,.72) 54%,rgba(15,79,145,.35))}
.page-properties .page-hero h1{max-width:760px}
.page-properties .portfolio-page-intro{grid-template-columns:210px minmax(0,1fr);padding-top:78px;padding-bottom:78px}
.page-properties .asset-stage{background:linear-gradient(160deg,#07111f,#0b2c52);padding-top:130px;padding-bottom:130px}
.page-properties .asset-stage .section-head h2,.page-properties .asset-stage .section-head p{color:#fff}
.page-properties .asset-stage .section-head p{opacity:.7}
.page-properties .asset-grid-premium{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.page-properties .asset-card-premium{border-radius:34px;min-height:680px}
.page-properties .asset-card-premium:nth-child(2){transform:translateY(60px)}
.page-properties .asset-card-premium img{height:440px}
.page-properties .group-architecture{margin-top:48px}
.page-properties .founder-feature{background:#f6f2e9;color:#07111f}
.page-properties .founder-feature .founder-copy h2,.page-properties .founder-feature .founder-copy p{color:#07111f}
.page-properties .founder-feature .founder-copy p{opacity:.72}

/* Founder: editorial biography */
.page-founder{background:#fbf7ef}
.page-founder .founder-story-hero{background:linear-gradient(135deg,#f2e8d6,#fbf8f1);color:#07111f;padding-top:120px;padding-bottom:110px}
.page-founder .founder-story-hero:before{background:radial-gradient(circle at 86% 25%,rgba(201,154,70,.22),transparent 32%),linear-gradient(135deg,rgba(255,255,255,.45),transparent)}
.page-founder .founder-story-hero:after{color:rgba(7,17,31,.035)}
.page-founder .founder-manifesto{background:#07111f;color:#fff;border-radius:4px;box-shadow:26px 26px 0 rgba(201,154,70,.18)}
.page-founder .story-timeline{position:relative;display:block;padding:30px 0}
.page-founder .story-timeline:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(#c99a46,#1d6fce)}
.page-founder .story-chapter{width:calc(50% - 46px);display:block;margin:0 0 54px;padding:34px;background:#fff;border:1px solid rgba(7,17,31,.09);border-radius:18px;box-shadow:0 20px 55px rgba(7,17,31,.08);position:relative}
.page-founder .story-chapter:nth-child(even){margin-left:calc(50% + 46px)}
.page-founder .story-chapter:after{content:"";position:absolute;top:38px;width:18px;height:18px;border-radius:50%;background:#c99a46;border:5px solid #fbf7ef;box-shadow:0 0 0 1px #c99a46}
.page-founder .story-chapter:nth-child(odd):after{right:-56px}.page-founder .story-chapter:nth-child(even):after{left:-56px}
.page-founder .story-year{display:inline-flex;padding:7px 10px;border-radius:999px;background:#07111f;color:#fff;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.page-founder .founder-feature{margin:0 24px;border-radius:28px}
.page-founder .company-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-founder .asset-stage{background:#fff}

/* Services: modular capabilities */
.page-services{background:#f8fafc}
.page-services .page-hero{min-height:500px;background-position:center 45%}
.page-services .page-hero:before{background:linear-gradient(115deg,rgba(7,17,31,.98),rgba(13,55,103,.86),rgba(201,154,70,.24))}
.page-services .portfolio-page-intro{padding:62px;background:#fff;border-radius:28px;margin-top:-38px;position:relative;z-index:4;box-shadow:0 24px 70px rgba(7,17,31,.1)}
.page-services .soft{background:#fff}
.page-services .company-showcase{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.page-services .brand-company-card{min-height:460px;padding:28px 24px;border-radius:16px;border-top:5px solid #0f4f91}
.page-services .brand-company-card:nth-child(even){border-top-color:#c99a46;background:#fbf7ef}
.page-services .brand-company-card h3{font-size:25px}
.page-services .group-architecture{grid-template-columns:repeat(3,1fr)}
.page-services .architecture-card{border-radius:30px;min-height:300px}

/* Verification: credential ledger */
.page-verification{background:#edf1f5}
.page-verification .page-hero{min-height:430px;padding:100px 0 80px;background:#07111f}
.page-verification .page-hero:before{background:linear-gradient(110deg,#07111f,#12365f)}
.page-verification .page-hero h1{max-width:720px}
.page-verification .portfolio-page-intro{background:#fff;padding:55px 60px;border-radius:8px;border-left:7px solid #c99a46;margin-top:-38px;position:relative;z-index:3;box-shadow:0 24px 65px rgba(7,17,31,.09)}
.page-verification .soft{background:transparent}
.page-verification .credential-ledger{display:grid;gap:18px}
.page-verification .credential-row{border-radius:8px;box-shadow:none;border:1px solid rgba(7,17,31,.13);border-left:6px solid #0f4f91;background:#fff}
.page-verification .credential-row:nth-child(even){border-left-color:#c99a46}
.page-verification .credential-main{padding:38px}.page-verification .credential-data{background:#f8fafc;padding:30px}
.page-verification .group-architecture{grid-template-columns:repeat(3,1fr)}
.page-verification .architecture-card{border-radius:8px;border-top:4px solid #c99a46}

/* About: editorial magazine */
.page-about{background:#fff}
.page-about .page-hero{min-height:560px;display:flex;align-items:center;background-position:center 42%}
.page-about .page-hero:before{background:linear-gradient(90deg,rgba(7,17,31,.96),rgba(12,43,79,.73),rgba(15,79,145,.36))}
.page-about .portfolio-page-intro{grid-template-columns:260px minmax(0,1fr);gap:80px;padding-top:95px;padding-bottom:95px}
.page-about .portfolio-page-intro h2{font-size:clamp(40px,5vw,68px);letter-spacing:-.055em}
.page-about .soft{background:#07111f;color:#fff}
.page-about .soft .section-head h2{color:#fff}
.page-about .architecture-card{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.14)}
.page-about .architecture-card h3,.page-about .architecture-card p{color:#fff}.page-about .architecture-card p{opacity:.72}
.page-about .founder-feature{background:#f6f2e9;color:#07111f}
.page-about .founder-feature h2,.page-about .founder-feature p{color:#07111f}
.page-about .editorial-grid{padding-top:20px;padding-bottom:20px}

/* Contact: compact service desk */
.page-contact{background:#f2f5f8}
.page-contact .page-hero{min-height:470px;padding:105px 0 120px;background-position:center 50%}
.page-contact .page-hero:before{background:linear-gradient(100deg,rgba(7,17,31,.98),rgba(12,43,79,.82),rgba(15,79,145,.5))}
.page-contact main>section:nth-of-type(2){padding-top:0}
.page-contact .contact-premium-grid{position:relative;z-index:4;margin-top:-70px;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 34px 90px rgba(7,17,31,.14);gap:0}
.page-contact .contact-office-panel,.page-contact .contact-form-panel{border-radius:0;box-shadow:none;border:0;padding:52px}
.page-contact .contact-office-panel{background:linear-gradient(150deg,#07111f,#0c315c)}
.page-contact .contact-form-panel{background:#fff}
.page-contact .credentials-band{margin-top:20px}

/* Individual entity pages */
.page-company-detail .company-hero,.page-property-detail .company-hero{min-height:540px;display:flex;align-items:flex-end;padding-bottom:90px}
.page-company-detail .portfolio-page-intro{border-left:5px solid #c99a46;padding-left:50px}
.page-company-detail .credential-row{border-radius:12px}
.page-property-detail .grid-2{align-items:stretch}
.page-property-detail .property-detail-image{border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(7,17,31,.14)}
.page-property-detail .property-detail-facts{grid-template-columns:repeat(3,1fr)}

@media(max-width:1100px){
  .page-home .company-showcase,.page-services .company-showcase{grid-template-columns:repeat(2,1fr)}
  .page-home .brand-company-card,.page-home .brand-company-card:nth-child(n){grid-column:auto}
  .page-services .brand-company-card{min-height:auto}
  .page-properties .asset-card-premium:nth-child(2){transform:none}
}

@media(max-width:900px){
  .page-home .executive-hero-grid{grid-template-columns:1fr}.page-home .group-command-panel{transform:none}
  .page-home .founder-feature-grid{grid-template-columns:1fr;gap:45px}
  .page-companies .portfolio-page-intro,.page-properties .portfolio-page-intro,.page-about .portfolio-page-intro{grid-template-columns:1fr;gap:28px;padding:38px}
  .page-companies .portfolio-page-intro .intro-index{border-right:0;border-bottom:1px solid rgba(7,17,31,.1);padding:0 0 18px}
  .page-companies .company-showcase,.page-business-profile .company-showcase,.page-properties .asset-grid-premium,.page-founder .company-showcase,.page-services .company-showcase{grid-template-columns:1fr 1fr}
  .page-founder .story-timeline:before{left:14px}.page-founder .story-chapter,.page-founder .story-chapter:nth-child(even){width:auto;margin-left:44px}.page-founder .story-chapter:nth-child(n):after{left:-40px;right:auto}
  .page-contact .contact-office-panel,.page-contact .contact-form-panel{padding:38px}
}

@media(max-width:640px){
  .page-home .executive-hero{min-height:auto;padding:88px 0 110px}.page-home .executive-hero h1{font-size:50px}.page-home .credentials-band,.page-founder .founder-feature,.page-business-profile .founder-feature{margin-left:12px;margin-right:12px;border-radius:20px}
  .page-home .company-showcase,.page-companies .company-showcase,.page-business-profile .company-showcase,.page-properties .asset-grid-premium,.page-founder .company-showcase,.page-services .company-showcase{grid-template-columns:1fr}
  .page-companies .page-hero,.page-properties .page-hero,.page-about .page-hero{min-height:440px;padding-bottom:70px}
  .page-companies .portfolio-page-intro,.page-services .portfolio-page-intro,.page-verification .portfolio-page-intro{margin-left:12px;margin-right:12px;padding:28px}
  .page-properties .asset-card-premium{min-height:auto}.page-properties .asset-card-premium img{height:310px}
  .page-founder .founder-manifesto{box-shadow:12px 12px 0 rgba(201,154,70,.18)}.page-founder .story-chapter{margin-left:36px;padding:25px}.page-founder .story-timeline:before{left:8px}.page-founder .story-chapter:nth-child(n):after{left:-37px}
  .page-contact .contact-premium-grid{margin-left:12px;margin-right:12px;border-radius:18px}.page-contact .contact-office-panel,.page-contact .contact-form-panel{padding:28px 22px}
  .page-property-detail .property-detail-facts{grid-template-columns:1fr}
}
