
/* RIKELL_ABOUT_V3
   Keeps the shared header intact.
   Only the About hero and body rhythm are adjusted.
*/

body.about-v3{
    background:#fff;
}

/* Keep the normal site header separate from the hero. */
body.about-v3 > header{
    /* RIKELL_ABOUT_HEADER_FIX_V1 */
    position:relative;
    top:auto;
    z-index:20;
    background:#fff;
    border-bottom:1px solid #dfe7ec;
}

body.about-v3 > header .nav-wrap{
    min-height:104px;
}

body.about-v3 > header nav a{
    color:#102539;
}

body.about-v3 > header nav a[aria-current="page"]{
    color:#0c5b86;
}

body.about-v3 > header .nav-contact{
    border-color:#a8bbc8;
}

/* Corporate About hero */
body.about-v3 .page-intro{
    position:relative;
    max-width:none;
    margin:0;
    padding:
        clamp(78px,8vw,126px)
        max(calc((100vw - 1120px)/2),48px)
        clamp(76px,8vw,118px);

    background:
      linear-gradient(
        105deg,
        rgba(9,54,84,.97) 0%,
        rgba(12,71,106,.94) 48%,
        rgba(66,132,166,.82) 100%
      ),
      url('/assets/architecture-sunlight.jpg')
      center 45% / cover no-repeat;

    color:#fff;
    overflow:hidden;
}

body.about-v3 .page-intro::after{
    content:"";
    position:absolute;
    right:-5%;
    top:-20%;
    width:46%;
    height:150%;
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,.02),
        rgba(255,255,255,.09)
      );
    transform:skewX(-8deg);
    pointer-events:none;
}

body.about-v3 .page-intro > *{
    position:relative;
    z-index:1;
    max-width:760px;
}

body.about-v3 .page-intro .eyebrow{
    color:#e2b46a;
    margin-bottom:24px;
}

body.about-v3 .page-intro h1{
    color:#fff;
    font-size:clamp(48px,6vw,82px);
    line-height:1.03;
    letter-spacing:-2.4px;
    margin:0 0 28px;
}

body.about-v3 .page-intro .lede{
    color:#d9eaf2;
    max-width:690px;
    font-size:clamp(18px,2vw,24px);
    line-height:1.55;
    margin:0;
}

/* Body rhythm */
body.about-v3 .editorial{
    padding-top:82px;
    padding-bottom:94px;
}

body.about-v3 .editorial aside{
    padding-top:4px;
}

body.about-v3 .editorial h2{
    margin-top:0;
}

body.about-v3 .editorial h2 + p{
    margin-top:22px;
}

body.about-v3 .editorial h2:not(:first-child){
    margin-top:48px;
}

/* Cross-brand links */
body.about-v3 .editorial a[href="https://rikell.press"],
body.about-v3 .editorial a[href="https://gipityandme.com"]{
    color:#0b638f;
    text-decoration:underline;
    text-decoration-color:#c59a55;
    text-underline-offset:4px;
    text-decoration-thickness:1px;
}

body.about-v3 .editorial a[href="https://rikell.press"]:hover,
body.about-v3 .editorial a[href="https://gipityandme.com"]:hover{
    color:#073f5e;
}

/* Slightly softer footer transition */
body.about-v3 footer{
    border-top:1px solid #e0e7eb;
}

@media(max-width:820px){
    body.about-v3 > header .nav-wrap{
        min-height:auto;
    }

    body.about-v3 .page-intro{
        padding:
            72px 24px
            66px;
        background:
          linear-gradient(
            145deg,
            rgba(9,54,84,.98),
            rgba(23,91,128,.91)
          ),
          url('/assets/architecture-sunlight.jpg')
          center / cover no-repeat;
    }

    body.about-v3 .page-intro h1{
        font-size:clamp(42px,11vw,58px);
        letter-spacing:-1.4px;
    }

    body.about-v3 .page-intro .lede{
        font-size:18px;
    }

    body.about-v3 .editorial{
        padding-top:58px;
        padding-bottom:68px;
    }
}


/* RIKELL_ABOUT_UNIFIED_TOP_V1
   Make the About header + hero read as one corporate blue system.
*/

/* Full-width blue corporate masthead */
body.about-v3 > header{
    position:relative;
    top:auto;
    z-index:20;
    background:
      linear-gradient(
        180deg,
        #0b3f63 0%,
        #0d4c72 100%
      ) !important;
    border-bottom:1px solid rgba(255,255,255,.16) !important;
    color:#fff;
}

body.about-v3 > header .nav-wrap{
    height:112px;
    min-height:112px;
}

/* Use the same light logo language as the homepage */
body.about-v3 > header .logo{
    position:relative;
    width:140px;
    flex-shrink:0;
}

body.about-v3 > header .logo img{
    width:140px;
    height:auto;
    opacity:0;
}

body.about-v3 > header .logo::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(
        120deg,
        #f9e5ba 4%,
        #fff2d6 32%,
        #ffffff 52%,
        #8cd6ed 88%
      );
    mask:url('/assets/rikell-original.png') center/contain no-repeat;
    -webkit-mask:url('/assets/rikell-original.png') center/contain no-repeat;
}

/* Light navigation on blue */
body.about-v3 > header nav a{
    color:#fff !important;
}

body.about-v3 > header nav a:not(.nav-contact)::after{
    background:#fff !important;
}

body.about-v3 > header nav a[aria-current="page"]{
    color:#cce8f4 !important;
}

body.about-v3 > header .nav-contact{
    color:#fff !important;
    border-color:rgba(255,255,255,.55) !important;
}

body.about-v3 > header .nav-contact:hover{
    background:rgba(255,255,255,.08);
}

/* Make hero genuinely full width and visually continuous with masthead */
body.about-v3 .page-intro{
    width:100%;
    max-width:none;
    margin:0;
    border-bottom:0;
    padding:
        clamp(82px,8vw,128px)
        max(calc((100vw - 1120px)/2),48px)
        clamp(82px,8vw,120px);

    background:
      linear-gradient(
        105deg,
        rgba(8,49,78,.985) 0%,
        rgba(11,69,104,.955) 46%,
        rgba(61,127,163,.84) 100%
      ),
      url('/assets/architecture-sunlight.jpg')
      center 45% / cover no-repeat;
}

/* Remove any visual seam between header and hero */
body.about-v3 > header + main .page-intro{
    margin-top:0;
}

/* Mobile follows the same merged blue system */
@media(max-width:900px){
    body.about-v3 > header .nav-wrap{
        height:95px;
        min-height:95px;
    }

    body.about-v3 > header .menu-toggle{
        color:#fff;
        border-color:rgba(255,255,255,.5);
    }

    body.about-v3 > header nav{
        top:95px;
        background:#124768;
        color:#fff;
        border-color:rgba(255,255,255,.18);
    }
}

@media(max-width:640px){
    body.about-v3 > header .nav-wrap{
        height:86px;
        min-height:86px;
    }

    body.about-v3 > header .logo,
    body.about-v3 > header .logo img{
        width:123px;
    }

    body.about-v3 > header nav{
        top:86px;
    }

    body.about-v3 .page-intro{
        width:100%;
        padding:64px 20px 68px;
    }
}
