
/* ==========================================================
   RYTEHAND ABOUT PAGE
   Design system aligned with Rytehand homepage.
========================================================== */

.rha2-page {
    --a-primary: var(--rh-primary, #63C9E8);
    --a-primary-dark: var(--rh-primary-dark, #279FC9);
    --a-blue: var(--rh-blue, #174FA1);
    --a-blue-dark: var(--rh-blue-dark, #103C7D);
    --a-heading: var(--rh-heading, #173D66);
    --a-text: var(--rh-text, #42576B);
    --a-muted: var(--rh-muted, #71869A);
    --a-bg: var(--rh-background-light, #F5FAFD);
    --a-bg-blue: var(--rh-background-blue, #EAF7FC);
    --a-border: var(--rh-border, #DCEAF2);
    --a-shadow: var(--rh-shadow-md, 0 12px 35px rgba(23,79,161,.09));

    color: var(--a-text);
    background: #fff;
    font-family: var(--rh-font-body, Inter, sans-serif);
    overflow: clip;
}

.rha2-page * {
    box-sizing: border-box;
}

.rha2-page h1,
.rha2-page h2,
.rha2-page h3 {
    color: var(--a-heading);
    font-family: var(--rh-font-heading, Manrope, sans-serif);
}

.rha2-shell {
    width: min(1240px, calc(100% - 56px));
    margin-inline: auto;
}

.rha2-section {
    padding: 100px 0;
}

.rha2-page p {
    color: var(--a-muted);
    font-size: 14px;
    line-height: 1.9;
}

.rha2-page a {
    text-decoration: none;
}

.rha2-page .rha2-icon-svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Kicker and buttons */

.rha2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--a-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.65px;
    text-transform: uppercase;
}

.rha2-kicker-dot,
.rha2-live-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: var(--a-primary-dark);
    box-shadow: 0 0 0 5px rgba(99,201,232,.16);
}

.rha2-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.rha2-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 25px;
    color: #fff !important;
    background: var(--a-blue);
    border: 1px solid var(--a-blue);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 9px 22px rgba(23,79,161,.15);
    transition: .3s ease;
}

.rha2-button:hover {
    background: var(--a-blue-dark);
    border-color: var(--a-blue-dark);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(23,79,161,.2);
}

.rha2-button span {
    font-size: 18px;
}

.rha2-text-link {
    color: var(--a-blue);
    font-size: 12px;
    font-weight: 700;
}

.rha2-text-link span {
    margin-left: 5px;
    color: var(--a-primary-dark);
}

/* Hero */

.rha2-hero {
    position: relative;
    padding: 95px 0 75px;
    background: linear-gradient(
        115deg,
        #fff 0%,
        #F4FAFD 56%,
        #EAF7FC 100%
    );
}

.rha2-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -210px;
    border-radius: 50%;
    background: rgba(99,201,232,.12);
    filter: blur(2px);
    pointer-events: none;
}

.rha2-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(400px,.86fr);
    align-items: center;
    gap: 75px;
}

.rha2-hero-copy h1 {
    max-width: 700px;
    margin: 22px 0 20px;
    color: var(--a-heading);
    font-size: clamp(44px,5.2vw,68px);
    font-weight: 800;
    letter-spacing: -2.8px;
    line-height: 1.08;
}

.rha2-hero-copy h1 span,
.rha2-section-heading h2 span,
.rha2-intro-copy h2 span,
.rha2-difference-heading h2 span,
.rha2-mindset-copy h2 span,
.rha2-cta h2 span {
    color: var(--a-primary-dark);
}

.rha2-hero-copy > p {
    max-width: 610px;
    margin: 0;
    font-size: 15px;
    line-height: 1.95;
}

.rha2-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 22px;
    margin-top: 34px;
}

.rha2-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--a-muted);
    font-size: 10px;
    font-weight: 700;
}

.rha2-hero-proof svg {
    width: 15px !important;
    height: 15px !important;
    color: var(--a-primary-dark);
}

.rha2-hero-panel {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(39,159,201,.15);
    border-radius: 28px;
    box-shadow: 0 25px 65px rgba(23,79,161,.11);
}

.rha2-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--a-border);
    color: var(--a-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.rha2-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 27px 0 24px;
}

.rha2-panel-icon,
.rha2-icon-box,
.rha2-cap-icon,
.rha2-note-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--a-blue);
    background: #E8F7FC;
    border-radius: 14px;
}

.rha2-panel-icon {
    width: 54px;
    height: 54px;
}

.rha2-panel-heading small {
    color: var(--a-primary-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rha2-panel-heading h2 {
    margin: 7px 0 0;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.6px;
}

.rha2-capability-list {
    display: grid;
    gap: 10px;
}

.rha2-capability-list > div {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 13px;
    background: #F7FBFD;
    border: 1px solid #EDF4F8;
    border-radius: 15px;
    transition: .25s ease;
}

.rha2-capability-list > div:hover {
    background: #EFF9FD;
    transform: translateX(3px);
}

.rha2-cap-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.rha2-cap-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.rha2-capability-list b,
.rha2-capability-list small {
    display: block;
}

.rha2-capability-list b {
    color: var(--a-heading);
    font-size: 12px;
}

.rha2-capability-list small {
    margin-top: 3px;
    color: var(--a-muted);
    font-size: 10px;
}

.rha2-capability-list em {
    color: #9AB1C1;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.rha2-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: 22px;
    color: var(--a-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.rha2-panel-footer i {
    width: 18px;
    height: 1px;
    background: var(--a-primary);
}

/* Shared section headings */

.rha2-section-heading {
    max-width: 740px;
    margin-bottom: 42px;
}

.rha2-section-heading h2,
.rha2-intro-copy h2,
.rha2-difference-heading h2,
.rha2-mindset-copy h2 {
    margin: 17px 0 15px;
    font-size: clamp(34px,4vw,51px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.8px;
}

.rha2-section-heading > p {
    max-width: 600px;
    margin: 0;
}

/* Who we are */

.rha2-intro {
    background: #fff;
}

.rha2-intro-grid {
    display: grid;
    grid-template-columns: 170px minmax(0,1fr) 265px;
    align-items: start;
    gap: 45px;
}

.rha2-section-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 7px;
}

.rha2-section-label > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--a-blue);
    background: #E8F7FC;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.rha2-section-label b {
    color: var(--a-heading);
    font-size: 10px;
    letter-spacing: 1px;
}

.rha2-section-label small {
    color: var(--a-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rha2-intro-copy h2 {
    max-width: 650px;
}

.rha2-intro-copy p {
    max-width: 700px;
    margin: 0 0 14px;
}

.rha2-intro-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
    padding: 26px;
    background: linear-gradient(145deg,#F2FAFD,#E5F5FB);
    border: 1px solid #DCEFF6;
    border-radius: 22px;
    box-shadow: var(--a-shadow);
}

.rha2-note-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
}

.rha2-intro-note strong {
    color: var(--a-heading);
    font-family: var(--rh-font-heading,Manrope,sans-serif);
    font-size: 18px;
    line-height: 1.5;
}

.rha2-intro-note small {
    margin-top: auto;
    padding-top: 22px;
    color: var(--a-primary-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

/* Mission and vision */

.rha2-purpose {
    background: var(--a-bg);
}

.rha2-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.rha2-purpose-card {
    position: relative;
    min-height: 300px;
    padding: 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--a-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(23,79,161,.045);
    transition: .3s ease;
}

.rha2-purpose-card:hover,
.rha2-feature-card:hover,
.rha2-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(23,79,161,.11);
}

.rha2-purpose-card-blue {
    background: linear-gradient(145deg,#F0FAFD,#E6F6FB);
}

.rha2-card-top {
    display: flex;
    justify-content: space-between;
    color: var(--a-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rha2-card-top span:last-child {
    color: var(--a-primary-dark);
}

.rha2-icon-box {
    width: 54px;
    height: 54px;
    margin: 27px 0 19px;
    border-radius: 15px;
}

.rha2-purpose-card h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 22px;
}

.rha2-purpose-card p {
    position: relative;
    max-width: 520px;
    margin: 0;
}

.rha2-card-watermark {
    position: absolute;
    right: 25px;
    bottom: 8px;
    color: rgba(23,79,161,.045);
    font-family: var(--rh-font-heading,Manrope,sans-serif);
    font-size: 45px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Rytehand difference */

.rha2-difference {
    background: #fff;
}

.rha2-difference-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 38px;
}

.rha2-difference-heading h2 {
    max-width: 650px;
    margin-bottom: 0;
}

.rha2-difference-heading > p {
    max-width: 390px;
    margin: 0 0 5px;
}

.rha2-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.rha2-feature-card {
    position: relative;
    min-height: 300px;
    padding: 29px;
    background: #fff;
    border: 1px solid var(--a-border);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(23,79,161,.045);
    transition: .3s ease;
}

.rha2-feature-card:nth-child(2) {
    background: #F7FCFE;
}

.rha2-feature-number {
    position: absolute;
    top: 27px;
    right: 28px;
    color: var(--a-primary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rha2-feature-card .rha2-icon-box {
    margin: 8px 0 25px;
}

.rha2-feature-card h3 {
    margin: 0 0 11px;
    font-size: 18px;
    line-height: 1.35;
}

.rha2-feature-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.85;
}

/* Mindset */

.rha2-mindset {
    background: var(--a-bg-blue);
}

.rha2-mindset-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 70px;
}

.rha2-mindset-card {
    min-height: 355px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    background: #fff;
    border: 1px solid #D9EDF5;
    border-radius: 25px;
    box-shadow: var(--a-shadow);
}

.rha2-mindset-statement {
    margin: 35px 0;
    color: var(--a-heading);
    font-family: var(--rh-font-heading,Manrope,sans-serif);
    font-size: clamp(29px,3.5vw,43px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.rha2-mindset-statement span {
    color: var(--a-primary-dark);
}

.rha2-mindset-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--a-border);
}

.rha2-mindset-bottom .rha2-icon-box {
    width: 44px;
    height: 44px;
    margin: 0;
}

.rha2-mindset-bottom b {
    color: var(--a-heading);
    font-size: 12px;
}

.rha2-mindset-copy h2 {
    margin-top: 17px;
}

.rha2-mindset-copy p {
    margin: 0 0 14px;
}

.rha2-quote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 17px 19px;
    background: #fff;
    border: 1px solid #DDEEF5;
    border-radius: 14px;
}

.rha2-quote svg {
    width: 19px !important;
    height: 19px !important;
    color: var(--a-primary-dark);
}

.rha2-quote strong {
    color: var(--a-heading);
    font-size: 12px;
}

/* Values */

.rha2-values {
    background: #fff;
}

.rha2-values-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
}

.rha2-value-card {
    min-height: 265px;
    padding: 25px 22px;
    background: #fff;
    border: 1px solid var(--a-border);
    border-radius: 20px;
    box-shadow: 0 7px 24px rgba(23,79,161,.04);
    transition: .3s ease;
}

.rha2-value-card:nth-child(even) {
    background: #F8FCFE;
}

.rha2-value-index {
    color: var(--a-primary-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.rha2-value-card .rha2-icon-box {
    width: 48px;
    height: 48px;
    margin: 24px 0 18px;
    border-radius: 13px;
}

.rha2-value-card h3 {
    margin: 0 0 9px;
    font-size: 17px;
}

.rha2-value-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.8;
}

/* Final CTA */

.rha2-cta {
    padding: 78px 0;
    background: linear-gradient(
        110deg,
        #103C7D,
        #174FA1 65%,
        #1C6FA9
    );
}

.rha2-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.rha2-kicker-light {
    color: #B9EAF8;
}

.rha2-cta h2 {
    max-width: 720px;
    margin: 18px 0 13px;
    color: #fff;
    font-size: clamp(34px,4.2vw,52px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.7px;
}

.rha2-cta p {
    max-width: 680px;
    margin: 0;
    color: #D8EAF4;
}

.rha2-button-light {
    flex: 0 0 auto;
    color: var(--a-blue) !important;
    background: #fff;
    border-color: #fff;
    box-shadow: none;
}

.rha2-button-light:hover {
    color: #fff !important;
    background: var(--a-primary-dark);
    border-color: var(--a-primary-dark);
}

/* Scroll reveal */

.rha2-page .rha-reveal {
    opacity: 1;
    transform: none;
}

.rha2-page.rh-reveal-enabled .rha-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.2,.7,.2,1);
}

.rha2-page.rh-reveal-enabled .rha-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */

@media (max-width: 1024px) {

    .rha2-hero-grid {
        gap: 38px;
        grid-template-columns: minmax(0,1fr) minmax(340px,.9fr);
    }

    .rha2-intro-grid {
        grid-template-columns: 130px minmax(0,1fr);
        gap: 30px;
    }

    .rha2-intro-note {
        grid-column: 2;
        min-height: auto;
    }

    .rha2-intro-note .rha2-note-icon {
        margin-bottom: 15px;
    }

    .rha2-mindset-grid {
        gap: 38px;
    }

    .rha2-values-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* Smaller tablets */

@media (max-width: 780px) {

    .rha2-section {
        padding: 76px 0;
    }

    .rha2-hero-grid {
        grid-template-columns: 1fr;
    }

    .rha2-hero-copy {
        max-width: 700px;
    }

    .rha2-hero-panel {
        max-width: 650px;
    }

    .rha2-difference-heading {
        display: block;
    }

    .rha2-difference-heading > p {
        max-width: 650px;
        margin-top: 18px;
    }

    .rha2-feature-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .rha2-mindset-grid {
        grid-template-columns: 1fr;
    }

    .rha2-mindset-card {
        min-height: 300px;
    }
}

/* Mobile */

@media (max-width: 560px) {

    .rha2-shell {
        width: calc(100% - 36px);
    }

    .rha2-section {
        padding: 62px 0;
    }

    .rha2-hero {
        padding: 62px 0 55px;
    }

    .rha2-hero-copy h1 {
        font-size: clamp(39px,11vw,55px);
        letter-spacing: -2px;
    }

    .rha2-hero-copy > p {
        font-size: 13px;
    }

    .rha2-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .rha2-hero-proof {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .rha2-hero-panel {
        padding: 21px;
        border-radius: 21px;
    }

    .rha2-panel-heading h2 {
        font-size: 20px;
    }

    .rha2-panel-footer {
        font-size: 7px;
        letter-spacing: .8px;
    }

    .rha2-intro-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .rha2-intro-note {
        grid-column: auto;
    }

    .rha2-section-heading h2,
    .rha2-intro-copy h2,
    .rha2-difference-heading h2,
    .rha2-mindset-copy h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .rha2-purpose-grid,
    .rha2-feature-grid {
        grid-template-columns: 1fr;
    }

    .rha2-purpose-card {
        min-height: 275px;
        padding: 27px;
    }

    .rha2-feature-card {
        min-height: auto;
        padding: 26px;
    }

    .rha2-values-grid {
        grid-template-columns: 1fr;
    }

    .rha2-value-card {
        min-height: auto;
    }

    .rha2-mindset-card {
        min-height: 280px;
        padding: 25px;
    }

    .rha2-cta {
        padding: 62px 0;
    }

    .rha2-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 27px;
    }

    .rha2-cta h2 {
        font-size: 36px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .rha2-page *,
    .rha2-page *::before,
    .rha2-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .rha2-page.rh-reveal-enabled .rha-reveal {
        opacity: 1;
        transform: none;
    }
}