:root {
    --ink: #17202a;
    --muted: #5e6875;
    --line: #d9e0e7;
    --paper: #ffffff;
    --soft: #f4f7f9;
    --navy: #163f63;
    --deep: #0f2235;
    --teal: #1f7a78;
    --gold: #c8992b;
    --gold-dark: #8c6712;
    --shadow: 0 22px 60px rgba(15, 34, 53, 0.16);
    --font-sans: Arial, Helvetica, sans-serif;
    --font-display: "Manrope", Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-y: scroll;
}

body,
input,
textarea,
button {
    font-family: var(--font-sans);
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--teal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(200, 153, 43, 0.72);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 2000;
    padding: 8px 12px;
    color: var(--paper);
    background: var(--deep);
    transform: translateY(-120%);
}

.skip-link:focus {
    transform: translateY(16px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(217, 224, 231, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 34, 53, 0.08);
}

.site-header-inner,
.section-inner,
.proof-grid,
.site-footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 260px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--navy);
}

.site-nav .nav-cta {
    margin-left: 10px;
    color: var(--paper);
    background: var(--navy);
    border: 1px solid var(--navy);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    color: var(--paper);
    background: var(--teal);
    border-color: var(--teal);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding-top: 82px;
    color: var(--paper);
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("/images/hero.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 21, 34, 0.9) 0%, rgba(12, 35, 55, 0.78) 48%, rgba(12, 35, 55, 0.28) 100%),
        linear-gradient(0deg, rgba(8, 21, 34, 0.2), rgba(8, 21, 34, 0.2));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 84px 0 110px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.6;
    text-transform: uppercase;
}

.hero h1,
.section h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 760px;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(42px, 5.8vw, 72px);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero h1 span {
    display: block;
}

.hero-title-primary,
.hero-title-accent {
    white-space: nowrap;
}

.hero-title-accent {
    color: var(--gold);
}

.hero-intro {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 21px;
    line-height: 1.55;
}

.hero-intro a {
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button-primary,
.button-secondary,
.contact-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
}

.button-primary {
    color: var(--deep);
    background: var(--gold);
}

.button-primary:hover,
.button-primary:focus {
    color: var(--deep);
    background: #e1b547;
}

.button-secondary {
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus {
    color: var(--deep);
    background: var(--paper);
}

.proof-band {
    background: var(--deep);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    padding: 28px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--paper);
}

.proof-number {
    display: block;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.proof-label {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 108px;
}

.section-platform {
    background: var(--soft);
}

.section-platform .section-inner {
    width: min(1180px, calc(100% - 40px));
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(500px, 540px);
    justify-content: space-between;
    gap: 72px;
    align-items: center;
}

.section-copy {
    max-width: 560px;
}

.section h2 {
    color: var(--deep);
    font-size: clamp(30px, 3vw, 40px);
    text-wrap: balance;
}

.section p {
    margin: 22px 0 0;
    color: var(--muted);
}

.section .eyebrow {
    margin: 0 0 34px;
}

.platform-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: transparent;
}

.platform-grid {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(22, 63, 99, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 63, 99, 0.1) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 52%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 52%, transparent 72%);
}

.platform-visual::before,
.platform-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(22, 63, 99, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.platform-visual::before {
    width: 340px;
    height: 340px;
}

.platform-visual::after {
    width: 230px;
    height: 230px;
}

.platform-visual::before {
    animation: platform-pulse 7s ease-in-out infinite;
}

.platform-visual::after {
    animation: platform-pulse 7s ease-in-out infinite 1.2s;
}

.platform-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 360px;
    background: linear-gradient(180deg, transparent, rgba(31, 122, 120, 0.42), transparent);
    transform-origin: center;
}

.platform-line-one {
    transform: translate(-50%, -50%) rotate(90deg);
}

.platform-line-two {
    transform: translate(-50%, -50%) rotate(32deg);
}

.platform-line-three {
    transform: translate(-50%, -50%) rotate(-36deg);
}

.platform-line-four {
    transform: translate(-50%, -50%) rotate(62deg);
}

.platform-core,
.platform-node {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.platform-core {
    left: 50%;
    top: 50%;
    width: 190px;
    height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--paper);
    background: var(--deep);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 24px 58px rgba(15, 34, 53, 0.28);
    transform: translate(-50%, -50%);
    animation: platform-core-float 8s ease-in-out infinite;
}

.platform-core-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    color: var(--gold);
}

.platform-core-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-core strong {
    display: block;
    font-size: 18px;
    line-height: 1.15;
}

.platform-core em {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}

.platform-node {
    width: 118px;
    height: 118px;
    left: 50%;
    top: 50%;
    flex-direction: column;
    gap: 8px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(22, 63, 99, 0.14);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(15, 34, 53, 0.12);
    animation: platform-node-float 7s ease-in-out infinite;
    transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y)));
}

.platform-node i {
    color: var(--teal);
    font-size: 34px;
}

.platform-node span {
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.node-client {
    --orbit-x: -156px;
    --orbit-y: -125px;
    animation-delay: -0.8s;
}

.node-calendar {
    --orbit-x: 156px;
    --orbit-y: -125px;
    animation-delay: -1.6s;
}

.node-payment {
    --orbit-x: -195px;
    --orbit-y: 45px;
    animation-delay: -2.4s;
}

.node-growth {
    --orbit-x: 87px;
    --orbit-y: 180px;
    animation-delay: -3.2s;
}

.node-ops {
    --orbit-x: -87px;
    --orbit-y: 180px;
    animation-delay: -4s;
}

.node-staff {
    --orbit-x: 0px;
    --orbit-y: -200px;
    animation-delay: -4.8s;
}

.node-venues {
    --orbit-x: 195px;
    --orbit-y: 45px;
    animation-delay: -5.6s;
}

@keyframes platform-pulse {
    0%,
    100% {
        opacity: 0.58;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.045);
    }
}

@keyframes platform-core-float {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 8px));
    }
}

@keyframes platform-node-float {
    0%,
    100% {
        transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y)));
    }

    50% {
        transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y) - 8px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-visual::before,
    .platform-visual::after,
    .platform-core,
    .platform-node {
        animation: none;
    }
}

.section-story {
    background: var(--paper);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 40px;
}

.story-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
    margin-top: 38px;
}

.story-grid:first-of-type {
    margin-top: 0;
}

.story-grid-reverse {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.story-grid-reverse .story-image {
    order: 2;
}

.story-image {
    margin: 0;
    position: sticky;
    top: 112px;
}

.story-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.story-copy {
    border-left: 3px solid var(--gold);
    padding-left: 30px;
}

.story-copy p:first-child {
    margin-top: 0;
}

.section-leadership {
    color: var(--paper);
    background: var(--deep);
}

.leadership-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
}

.leadership-heading h2,
.section-leadership .eyebrow {
    color: var(--paper);
}

.section-leadership .eyebrow {
    color: var(--gold);
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.founder-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.founder-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.founder-card h3 {
    margin: 0;
    color: var(--paper);
    font-size: 24px;
    line-height: 1.2;
}

.founder-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.founder-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.founder-social-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.founder-social-link i {
    font-size: 28px;
    line-height: 1;
}

.section-contact {
    background:
        linear-gradient(90deg, rgba(244, 247, 249, 0.96), rgba(244, 247, 249, 0.9)),
        url("/images/background.jpg");
    background-position: center;
    background-size: cover;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
    gap: 70px;
    align-items: start;
}

.contact-intro address {
    margin-top: 34px;
    color: var(--ink);
    font-style: normal;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 10px;
    padding: 34px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.contact-form label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contactform {
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px;
    padding: 12px 13px;
    border: 1px solid #c8d2dc;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    border-radius: 0;
}

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

.contactform:focus {
    outline: 3px solid rgba(31, 122, 120, 0.18);
    border-color: var(--teal);
}

.contact-submit {
    width: 100%;
    margin-top: 8px;
    color: var(--paper);
    background: var(--navy);
}

.contact-submit:hover,
.contact-submit:focus {
    background: var(--teal);
}

.site-footer {
    background: #111820;
}

.site-footer-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer-link {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer-link:hover,
.site-footer-link:focus {
    color: var(--gold);
}

#popupbackdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1199;
    background: rgba(15, 34, 53, 0.72);
}

#popupdiv {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#popupbox {
    position: relative;
    display: none;
    width: min(420px, 100%);
    padding: 34px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
}

#popupbox h2 {
    margin: 0 0 12px;
    color: var(--deep);
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.1;
}

#popupcontent {
    color: var(--muted);
}

#close_popup {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--paper);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media screen and (max-width: 1100px) {
    .site-header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 220px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 18px;
        border-top: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 22px 40px rgba(15, 34, 53, 0.12);
    }

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

    .site-nav a,
    .site-nav .nav-cta {
        margin: 0;
        padding: 14px 4px;
        border: 0;
        color: var(--ink);
        background: transparent;
    }

    .site-nav .nav-cta:hover,
    .site-nav .nav-cta:focus {
        color: var(--teal);
        background: transparent;
    }

    .hero {
        min-height: 680px;
        padding-top: 72px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 21, 34, 0.92) 0%, rgba(12, 35, 55, 0.78) 100%);
    }

    .proof-grid,
    .founder-grid,
    .split-layout,
    .contact-layout,
    .story-grid,
    .story-grid-reverse {
        grid-template-columns: 1fr;
    }

    .split-layout {
        gap: 36px;
    }

    .contact-layout {
        gap: 48px;
    }

    .story-grid,
    .story-grid-reverse {
        gap: 42px;
    }

    .proof-grid {
        border-left: 0;
    }

    .proof-item {
        min-height: 126px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .story-grid-reverse .story-image {
        order: 0;
    }

    .story-image {
        position: static;
        max-width: 430px;
    }

    .platform-visual {
        display: block;
        position: relative;
        width: 100%;
        max-width: 560px;
        min-height: 520px;
        margin: 18px auto 0;
        overflow: hidden;
    }

    .platform-core,
    .platform-node {
        position: absolute;
    }

    .node-client {
        --orbit-x: -141px;
        --orbit-y: -112px;
    }

    .node-calendar {
        --orbit-x: 141px;
        --orbit-y: -112px;
    }

    .node-payment {
        --orbit-x: -175px;
        --orbit-y: 39px;
    }

    .node-growth {
        --orbit-x: 76px;
        --orbit-y: 162px;
    }

    .node-ops {
        --orbit-x: -76px;
        --orbit-y: 162px;
    }

    .node-staff {
        --orbit-x: 0px;
        --orbit-y: -180px;
    }

    .node-venues {
        --orbit-x: 175px;
        --orbit-y: 39px;
    }
}

@media screen and (max-width: 700px) {
    .site-header-inner,
    .section-inner,
    .proof-grid,
    .site-footer-inner,
    .hero-inner {
        width: min(100% - 28px, 1180px);
    }

    .brand img {
        width: 190px;
    }

    .hero {
        min-height: 640px;
    }

    .hero-inner {
        padding: 70px 0 76px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-title-primary,
    .hero-title-accent {
        white-space: normal;
    }

    .hero-intro {
        font-size: 18px;
    }

    .hero-actions {
        display: grid;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .section {
        padding: 56px 0;
        scroll-margin-top: 92px;
    }

    .split-layout {
        gap: 24px;
    }

    .contact-layout {
        gap: 40px;
    }

    .story-grid,
    .story-grid-reverse {
        gap: 36px;
    }

    .section h2 {
        font-size: 30px;
    }

    .proof-number {
        font-size: 30px;
    }

    .story-copy {
        padding-left: 20px;
    }

    .leadership-heading {
        display: block;
    }

    .founder-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
    }

    .founder-card img {
        width: 104px;
        height: 104px;
    }

    .founder-card h3 {
        font-size: 20px;
    }

    .contact-form {
        padding: 22px;
    }

    .platform-visual {
        max-width: 360px;
        min-height: 390px;
        margin-top: 30px;
    }

    .platform-visual::before {
        width: 248px;
        height: 248px;
    }

    .platform-visual::after {
        width: 172px;
        height: 172px;
    }

    .platform-line {
        height: 260px;
    }

    .platform-core {
        width: 132px;
        height: 132px;
        padding: 16px;
    }

    .platform-core-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 7px;
    }

    .platform-core strong {
        font-size: 15px;
    }

    .platform-core em {
        font-size: 10px;
        margin-top: 6px;
    }

    .platform-node {
        width: 78px;
        height: 78px;
        gap: 5px;
    }

    .platform-node i {
        font-size: 21px;
    }

    .platform-node span {
        font-size: 9px;
    }

    .node-client {
        --orbit-x: -101px;
        --orbit-y: -81px;
    }

    .node-calendar {
        --orbit-x: 101px;
        --orbit-y: -81px;
    }

    .node-payment {
        --orbit-x: -126px;
        --orbit-y: 28px;
    }

    .node-growth {
        --orbit-x: 55px;
        --orbit-y: 117px;
    }

    .node-ops {
        --orbit-x: -55px;
        --orbit-y: 117px;
    }

    .node-staff {
        --orbit-x: 0px;
        --orbit-y: -130px;
    }

    .node-venues {
        --orbit-x: 126px;
        --orbit-y: 28px;
    }

    .site-footer-inner {
        display: block;
        padding: 22px 0;
    }

    .site-footer nav {
        margin-top: 8px;
    }
}

@media screen and (max-width: 420px) {
    .brand img {
        width: 168px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .founder-card {
        grid-template-columns: 1fr;
    }
}
