:root {
    --ink: #16130d;
    --muted: #625b4f;
    --paper: #fffaf0;
    --paper-strong: #ffffff;
    --amber: #f5b700;
    --amber-dark: #c37d00;
    --green: #1d7f57;
    --green-dark: #0d4c37;
    --clay: #c45f32;
    --line: rgba(22, 19, 13, 0.12);
    --shadow: 0 18px 55px rgba(34, 27, 16, 0.16);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px 40px;
    border-bottom: 1px solid rgba(255, 250, 240, 0.18);
    color: #fffaf0;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.nav-active {
    color: var(--ink);
    background: rgba(255, 250, 240, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 35px rgba(34, 27, 16, 0.12);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: rgba(245, 183, 0, 0.92);
    color: var(--ink);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1;
}

.brand strong {
    font-size: 18px;
}

.brand small {
    margin-top: 5px;
    color: currentColor;
    opacity: 0.72;
    font-size: 12px;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: currentColor;
    font-weight: 700;
    font-size: 14px;
}

.site-nav a {
    position: relative;
    padding: 8px 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    background: transparent;
    color: currentColor;
    cursor: pointer;
}

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

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 130px 40px 96px;
    overflow: hidden;
    color: #fffaf0;
}

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

.hero-media {
    background-image: url("https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=2200&q=85");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(12, 16, 11, 0.88) 0%, rgba(12, 16, 11, 0.68) 43%, rgba(12, 16, 11, 0.08) 100%),
        linear-gradient(180deg, rgba(12, 16, 11, 0.28) 0%, rgba(12, 16, 11, 0.22) 62%, rgba(255, 250, 240, 0.94) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--amber);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

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

h1 {
    margin: 0;
    max-width: 760px;
    font-size: 72px;
    line-height: 0.98;
}

h2 {
    margin: 0;
    font-size: 44px;
    line-height: 1.05;
}

h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.18;
}

p {
    line-height: 1.7;
}

.hero-copy {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 250, 240, 0.9);
    font-size: 20px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--amber);
    color: var(--ink);
    box-shadow: 0 15px 28px rgba(245, 183, 0, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: #ffd44c;
}

.button.secondary {
    color: #fffaf0;
    border-color: rgba(255, 250, 240, 0.48);
    background: rgba(255, 250, 240, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    border-color: #fffaf0;
    background: rgba(255, 250, 240, 0.16);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: -48px auto 0;
    width: min(1180px, calc(100% - 48px));
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow);
}

.proof-strip article {
    min-height: 150px;
    padding: 26px;
    background: var(--paper-strong);
}

.proof-strip strong {
    display: block;
    color: var(--green-dark);
    font-size: 40px;
    line-height: 1;
}

.proof-strip span {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 112px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading p:not(.eyebrow),
.split-content p,
.contact-copy p {
    color: var(--muted);
    font-size: 18px;
}

.issue-grid,
.workflow,
.economics-grid {
    display: grid;
    gap: 18px;
}

.issue-grid {
    grid-template-columns: repeat(3, 1fr);
}

.issue-card,
.workflow-step,
.economics-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: 0 14px 38px rgba(34, 27, 16, 0.08);
}

.issue-card,
.economics-card {
    padding: 28px;
}

.card-index {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--clay);
    font-weight: 900;
}

.issue-card p,
.workflow-step p,
.economics-card p,
.founder p {
    color: var(--muted);
}

.model-section {
    width: 100%;
    padding-left: max(24px, calc((100% - 1180px) / 2));
    padding-right: max(24px, calc((100% - 1180px) / 2));
    background: #1e362c;
    color: #fffaf0;
}

.model-section .section-heading p:not(.eyebrow) {
    color: rgba(255, 250, 240, 0.74);
}

.model-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
    gap: 48px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.hub-diagram {
    position: relative;
    min-height: 540px;
    border: 1px solid rgba(255, 250, 240, 0.18);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(255, 250, 240, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 250, 240, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    overflow: hidden;
}

.hub-diagram::before,
.hub-diagram::after {
    content: "";
    position: absolute;
    inset: 92px;
    border: 1px solid rgba(245, 183, 0, 0.42);
    border-radius: 50%;
}

.hub-diagram::after {
    inset: 154px;
    border-color: rgba(255, 250, 240, 0.22);
}

.hub-node {
    position: absolute;
    display: grid;
    align-content: center;
    gap: 7px;
    width: 190px;
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255, 250, 240, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.hub-node strong {
    color: #fffaf0;
    font-size: 18px;
}

.hub-node span {
    color: rgba(255, 250, 240, 0.72);
    line-height: 1.42;
}

.hub-node.center {
    left: 50%;
    top: 50%;
    width: 230px;
    min-height: 150px;
    transform: translate(-50%, -50%);
    border-color: rgba(245, 183, 0, 0.72);
    background: rgba(245, 183, 0, 0.18);
}

.hub-node.customer {
    left: 8%;
    top: 12%;
}

.hub-node.operations {
    right: 8%;
    top: 14%;
}

.hub-node.execution {
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
}

.workflow {
    grid-template-columns: repeat(4, 1fr);
}

.workflow-step {
    padding: 26px;
}

.workflow-step span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--green);
    color: #fffaf0;
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    background: var(--paper-strong);
}

.split-section.reverse .split-image {
    order: 2;
}

.split-image {
    min-height: 520px;
    background-size: cover;
    background-position: center;
}

.customer-image {
    background-image: url("https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=1600&q=84");
}

.managed-image {
    background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=84");
}

.split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    padding: 72px;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--ink);
    font-weight: 750;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 5px;
    height: 9px;
    border: solid #fffaf0;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.metric-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7efd9;
}

.metric-grid strong {
    display: block;
    color: var(--green-dark);
    font-size: 30px;
}

.metric-grid span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 750;
}

.economics-section {
    padding-bottom: 80px;
}

.economics-grid {
    grid-template-columns: repeat(3, 1fr);
}

.economics-card h3 {
    color: var(--green-dark);
}

.team-section {
    padding-top: 32px;
}

.team-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
    padding: 44px;
    border-radius: var(--radius);
    background: #24170f;
    color: #fffaf0;
    box-shadow: var(--shadow);
}

.team-panel .eyebrow {
    color: #ffc857;
}

.founder {
    padding: 28px;
    border: 1px solid rgba(255, 250, 240, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.08);
}

.founder strong,
.founder span {
    display: block;
}

.founder strong {
    font-size: 28px;
}

.founder span {
    margin-top: 5px;
    color: #ffc857;
    font-weight: 850;
}

.founder p {
    color: rgba(255, 250, 240, 0.74);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
    gap: 48px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 96px 0 112px;
}

.email-link,
.phone-link {
    display: inline-flex;
    color: var(--green-dark);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.email-link {
    margin-top: 16px;
}

.phone-link {
    margin-top: 6px;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffdf8;
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(29, 127, 87, 0.14);
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--green-dark);
    font-weight: 800;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 32px 40px;
    border-top: 1px solid var(--line);
    background: #15100a;
    color: #fffaf0;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer span,
.site-footer p {
    color: rgba(255, 250, 240, 0.66);
}

.footer-links {
    display: flex;
    gap: 18px;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 980px) {
    .site-header {
        padding: 14px 24px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 76px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--paper-strong);
        color: var(--ink);
        box-shadow: var(--shadow);
    }

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

    .site-nav a {
        padding: 14px 12px;
    }

    .hero {
        min-height: 84vh;
        padding: 118px 24px 82px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 36px;
    }

    .proof-strip,
    .issue-grid,
    .model-layout,
    .workflow,
    .economics-grid,
    .team-panel,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .proof-strip article {
        min-height: auto;
    }

    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
    }

    .split-section.reverse .split-image {
        order: 0;
    }

    .split-content {
        max-width: none;
        padding: 56px 24px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .brand {
        min-width: 0;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 11px;
    }

    .hero {
        min-height: 82vh;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    .hero-copy,
    .section-heading p:not(.eyebrow),
    .split-content p,
    .contact-copy p {
        font-size: 16px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .proof-strip,
    .section,
    .contact-section {
        width: min(100% - 32px, 1180px);
    }

    .section {
        padding: 78px 0;
    }

    .hub-diagram {
        min-height: 560px;
    }

    .hub-node,
    .hub-node.center {
        width: calc(100% - 44px);
        min-height: auto;
        left: 22px;
        right: 22px;
        transform: none;
    }

    .hub-node.center {
        top: 32px;
    }

    .hub-node.customer {
        top: 180px;
    }

    .hub-node.operations {
        top: 310px;
    }

    .hub-node.execution {
        bottom: 32px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .team-panel,
    .contact-form {
        padding: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
