:root {
    --akahi-dark: #020035;
    --akahi-light: #DCDFEE;
    --akahi-mid: #878A99;
    --ink: #171827;
    --muted: #555d73;
    --line: #d9deeb;
    --panel: #f7f8fc;
    --shadow: 0 18px 46px rgba(2, 0, 53, .14);
}

* {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--ink);
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 104px;
    padding: 16px clamp(18px, 5vw, 72px);
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(2, 0, 53, .92), rgba(2, 0, 53, .78) 52%, rgba(2, 0, 53, .9)),
        url("../images/Akahi-lion.png") right clamp(24px, 6vw, 98px) center / 116px auto no-repeat,
        linear-gradient(rgba(2, 0, 53, .58), rgba(2, 0, 53, .58)),
        url("../images/Chat-tampa.png") center 36% / cover no-repeat,
        var(--akahi-dark);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: var(--akahi-light);
    content: "";
}

.site-header::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 48%);
    content: "";
}

.brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .26));
}

.brand img {
    display: block;
    width: min(302px, 58vw);
}

.site-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(220, 223, 238, .2);
    border-radius: 999px;
    background: rgba(2, 0, 53, .38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px rgba(0, 0, 0, .14);
    backdrop-filter: blur(10px);
}

.site-nav a {
    color: var(--akahi-light);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.25;
    padding: 11px 13px;
    border-radius: 999px;
    text-transform: uppercase;
    transition: color .22s ease, background-color .22s ease, transform .22s ease;
}

.site-nav a:hover,
.site-nav a:focus {
    background: rgba(220, 223, 238, .14);
    color: #fff;
    transform: translateY(-1px);
}

.nav-toggle {
    position: relative;
    z-index: 1;
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(220, 223, 238, .36);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--akahi-light);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: 680px;
    padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 96px);
    overflow: hidden;
    background: linear-gradient(110deg, rgba(2, 0, 53, .97), rgba(2, 0, 53, .86) 50%, rgba(2, 0, 53, .6)), url("../images/Pic-1.jpg") center / cover no-repeat;
    color: #fff;
}

.hero__content,
.hero__credential {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--akahi-mid);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow,
.cta .eyebrow {
    color: var(--akahi-light);
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    max-width: 930px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 5.85rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .98;
}

.hero__lead {
    max-width: 780px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.04rem, 1.45vw, 1.34rem);
    line-height: 1.75;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.button--primary {
    background: var(--akahi-light);
    border-color: var(--akahi-light);
    color: var(--akahi-dark);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.button--secondary {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(220, 223, 238, .7);
    color: #fff;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.button--primary:hover,
.button--primary:focus {
    background: #fff;
    border-color: #fff;
}

.button--secondary:hover,
.button--secondary:focus {
    background: var(--akahi-mid);
    border-color: var(--akahi-mid);
}

.hero__credential {
    align-self: end;
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(220, 223, 238, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
}

.hero__credential img {
    width: 118px;
    border-radius: 6px;
    background: #fff;
}

.hero__credential p {
    margin: 0;
    color: #fff;
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    font-weight: 800;
    line-height: 1.55;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: #c8ccda;
}

.trust-strip span {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 18px 22px;
    background: #fff;
    color: var(--akahi-dark);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
}

.section {
    padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 96px);
}

.section--light {
    background: var(--panel);
}

.section--dark {
    background: linear-gradient(135deg, rgba(2, 0, 53, .98), rgba(2, 0, 53, .91)), url("../images/Pic-3.jpg") center / cover no-repeat;
    color: #fff;
}

.section-heading {
    max-width: 890px;
    margin-bottom: clamp(28px, 4vw, 52px);
}

h2 {
    margin: 0;
    color: var(--akahi-dark);
    font-size: clamp(2rem, 3.6vw, 3.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.section--dark h2,
.cta h2 {
    color: #fff;
}

.section-heading p:not(.eyebrow),
.er-section p,
.cta p {
    max-width: 840px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

.section--dark .section-heading p:not(.eyebrow),
.cta p {
    color: rgba(255, 255, 255, .78);
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
    min-width: 0;
    min-height: 250px;
    padding: clamp(22px, 2.8vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(2, 0, 53, .06);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(2, 0, 53, .3);
    box-shadow: var(--shadow);
}

.card--dark {
    border-color: rgba(220, 223, 238, .24);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.card h3 {
    margin: 0 0 14px;
    color: var(--akahi-dark);
    font-size: clamp(1.08rem, 1.4vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
}

.card--dark h3 {
    color: #fff;
}

.card p {
    margin: 0;
    color: #545b70;
    font-size: .98rem;
    line-height: 1.72;
}

.card--dark p {
    color: rgba(255, 255, 255, .78);
}

.er-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    background: #fff;
}

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

.point-grid div {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.point-grid strong,
.point-grid span {
    display: block;
}

.point-grid strong {
    margin-bottom: 8px;
    color: var(--akahi-dark);
    font-weight: 800;
}

.point-grid span {
    color: var(--muted);
    line-height: 1.65;
}

.cta {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: clamp(56px, 7vw, 92px) clamp(20px, 6vw, 96px);
    background: var(--akahi-dark);
    color: #fff;
}

.cta .button {
    flex: 0 0 auto;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
    gap: 32px;
    padding: 46px clamp(20px, 6vw, 96px);
    background: #010024;
    color: rgba(255, 255, 255, .78);
}

.site-footer img {
    width: min(230px, 70vw);
    margin-bottom: 16px;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-content: start;
    justify-content: flex-end;
}

.site-footer a {
    color: var(--akahi-light);
    font-weight: 700;
}

.subhero {
    padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 96px) clamp(54px, 7vw, 86px);
    background: linear-gradient(120deg, rgba(2, 0, 53, .97), rgba(2, 0, 53, .82)), url("../images/Pic-3.jpg") center / cover no-repeat;
    color: #fff;
}

.subhero h1 {
    max-width: 980px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.subhero p {
    max-width: 850px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1.04rem, 1.6vw, 1.28rem);
    line-height: 1.75;
}

.content-section {
    padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 96px);
    background: #fff;
}

.content-section--light {
    background: var(--panel);
}

.content-section--dark {
    background: var(--akahi-dark);
    color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.content-copy {
    max-width: 850px;
}

.content-copy h2,
.content-section h2 {
    margin-bottom: 18px;
}

.content-copy p,
.content-section p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.82;
}

.content-section--dark p,
.content-section--dark li {
    color: rgba(255, 255, 255, .78);
}

.content-section--dark h2,
.content-section--dark h3 {
    color: #fff;
}

.list {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.list li + li {
    margin-top: 8px;
}

.split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.split-list li {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

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

.feature-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(2, 0, 53, .06);
}

.feature-card h3 {
    margin: 0 0 12px;
    color: var(--akahi-dark);
    font-size: 1.18rem;
    line-height: 1.25;
}

.feature-card p {
    margin: 0;
}

.image-card {
    overflow: hidden;
    padding: 0;
}

.image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-card--crop-text img {
    aspect-ratio: 2.2 / 1;
    object-position: center top;
}

.image-card__body {
    padding: 24px;
}

.portrait-card img {
    aspect-ratio: 4 / 4.5;
    object-position: center top;
}

.credential-card {
    display: grid;
    gap: 18px;
}

.credential-card img {
    width: 130px;
    border-radius: 6px;
}

.image-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.image-strip img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(2, 0, 53, .12);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 24px;
}

.contact-box {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(2, 0, 53, .06);
}

.contact-box a {
    color: var(--akahi-dark);
    font-weight: 800;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: var(--akahi-dark);
    font-weight: 800;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.form-grid textarea {
    min-height: 150px;
    resize: vertical;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .card-grid--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .site-header {
        min-height: 86px;
        background:
            linear-gradient(90deg, rgba(2, 0, 53, .94), rgba(2, 0, 53, .82)),
            url("../images/Akahi-lion.png") right 72px center / 92px auto no-repeat,
            linear-gradient(rgba(2, 0, 53, .62), rgba(2, 0, 53, .62)),
            url("../images/Chat-tampa.png") center 34% / cover no-repeat,
            var(--akahi-dark);
    }

    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(220, 223, 238, .22);
        border-radius: 8px;
        background:
            linear-gradient(rgba(2, 0, 53, .94), rgba(2, 0, 53, .94)),
            url("../images/Chat-tampa.png") center 46% / cover no-repeat,
            var(--akahi-dark);
        box-shadow: 0 20px 46px rgba(0, 0, 0, .28);
        backdrop-filter: none;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 10px;
        border-radius: 6px;
        border-bottom: 1px solid rgba(220, 223, 238, .12);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero,
    .er-section,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 68px;
        padding-bottom: 56px;
    }

    .hero__credential {
        align-self: start;
        max-width: 560px;
    }

    .trust-strip,
    .card-grid--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        display: block;
    }

    .cta .button {
        margin-top: 26px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .content-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 600px) {
    .site-header,
    .hero,
    .section,
    .cta,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand img {
        width: min(232px, 64vw);
    }

    .hero {
        padding-top: 54px;
    }

    h1 {
        font-size: clamp(2.05rem, 12vw, 3rem);
        line-height: 1.04;
    }

    h2 {
        font-size: clamp(1.78rem, 9vw, 2.45rem);
        line-height: 1.12;
    }

    .hero__lead,
    .section-heading p:not(.eyebrow),
    .er-section p,
    .cta p {
        font-size: 1rem;
        line-height: 1.78;
    }

    .button-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .button {
        width: 100%;
        min-height: 54px;
        padding: 14px 18px;
        white-space: normal;
    }

    .trust-strip,
    .card-grid--five,
    .point-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip span {
        min-height: 64px;
        padding: 16px 18px;
    }

    .card {
        min-height: 0;
        padding: 22px;
    }

    .service-grid,
    .split-list,
    .image-strip {
        grid-template-columns: 1fr;
    }

    .hero__credential,
    .point-grid div,
    .feature-card,
    .contact-box {
        padding: 20px;
    }

    .hero__credential img {
        width: 94px;
    }
}

@media (max-width: 380px) {
    .site-header,
    .hero,
    .section,
    .cta,
    .site-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .brand img {
        width: min(204px, 62vw);
    }

    .card,
    .hero__credential,
    .point-grid div {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
