/* =========================================================
   Harrison IT — site styles
   Palette: 2026 trend colours (Transformative Teal, Cloud Dancer,
   Sage, Angora, Cocoa Powder, Lava Falls, Alexandrite, Mint)
   ========================================================= */

:root {
    /* Core */
    --c-teal-900: #0F3337;   /* Transformative Teal – deep (dark grounds) */
    --c-teal-800: #164347;
    --c-teal-700: #1D5155;
    --c-teal-600: #2B6266;
    --c-teal: #0B6E6E;       /* Transformative Teal – primary accent */
    --c-teal-hover: #095C5C;
    --c-teal-press: #084B4B;
    --c-cloud: #F0EEE9;      /* Cloud Dancer – page ground */
    --c-white: #FFFFFF;

    /* Neutrals */
    --c-angora: #E6DCCD;     /* borders */
    --c-angora-300: #D9CDBB;
    --c-angora-400: #CDBFAA;
    --c-angora-100: #EFE6D8; /* tags */
    --c-cocoa: #5C4537;      /* Cocoa Powder – body secondary */
    --c-cocoa-500: #6E5646;
    --c-cocoa-300: #B49A86;
    --c-ink: #0F3337;
    --c-ink-soft: #2E2A26;

    /* Sage */
    --c-sage: #9CAF88;
    --c-sage-100: #E2E9DA;
    --c-sage-200: #DCE4D2;
    --c-sage-400: #A9BC98;

    /* Accents */
    --c-lava: #F27D55;        /* Lava Falls */
    --c-alexandrite: #A47CC4; /* Alexandrite */
    --c-mint: #8FE3C0;        /* Mint */

    /* On-dark text */
    --c-on-dark: #F0EEE9;
    --c-on-dark-2: #CFE1DD;
    --c-on-dark-3: #A8C8C3;
    --c-on-dark-4: #95BAB4;
    --c-on-dark-5: #E8F2EF;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --radius: 16px;
    --shadow-lift: 0 18px 40px rgba(15, 51, 55, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; } /* clear the sticky header */

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-cloud);
}

a { color: var(--c-teal); }
a:hover { color: var(--c-teal-press); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--c-teal); color: var(--c-white);
    padding: 10px 16px; border-radius: 8px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--c-white); }

:focus-visible { outline: 3px solid var(--c-lava); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; }
.muted { margin: 0; color: var(--c-cocoa); }
.narrow { max-width: 400px; }
.small-muted { font-size: 14px; color: var(--c-cocoa-500); }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-teal); }
.label-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-cocoa-500); }
.mono-xs { font-family: var(--font-mono); font-size: 11px; color: var(--c-on-dark-4); }
.mono-sm { font-family: var(--font-mono); font-size: 14px; color: var(--c-cocoa-500); }

/* ---------- Links & buttons ---------- */
.link-underline { position: relative; display: inline-block; padding: 10px 2px; text-decoration: none; color: var(--c-ink-soft); }
.link-underline::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.link-underline:hover::after { transform: scaleX(1); }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 10px;
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--c-teal); color: var(--c-white); box-shadow: 0 6px 18px rgba(11, 110, 110, .28); }
.btn-primary:hover { background: var(--c-teal-hover); color: var(--c-white); box-shadow: 0 10px 26px rgba(11, 110, 110, .36); }

.btn-ghost { background: transparent; color: var(--c-on-dark); border: 1px solid rgba(240, 238, 233, .35); }
.btn-ghost:hover { color: var(--c-white); border-color: var(--c-on-dark); }

/* ---------- Header ---------- */
.site-header { background: var(--c-teal-900); border-bottom: 1px solid rgba(240, 238, 233, .08); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-on-dark); }
.brand:hover { color: var(--c-white); }
.brand-mark {
    width: 38px; height: 38px; border-radius: 9px; background: var(--c-teal);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--c-white);
    transition: transform .3s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links .link-underline { color: var(--c-on-dark-2); }
.nav-links .link-underline:hover { color: var(--c-white); }

/* ---------- Hero ---------- */
.hero { background: var(--c-teal-900); color: var(--c-on-dark); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.eyebrow-live { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--c-on-dark-3); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-lava); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 60px; line-height: 1.04; letter-spacing: -0.025em; }
.hero-lede { margin: 0; font-size: 19px; color: var(--c-on-dark-2); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Pipeline mock-up with 3D tilt */
.tilt { flex: 1 1 440px; min-width: 0; perspective: 1200px; }
.board {
    background: var(--c-teal-800); border: 1px solid rgba(240, 238, 233, .10); border-radius: 18px;
    padding: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .40);
    transform: rotateX(6deg) rotateY(-10deg); transform-style: preserve-3d;
    transition: transform .6s var(--ease-out);
}
.tilt:hover .board { transform: rotateX(0) rotateY(0); }
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.board-dots { display: flex; gap: 6px; }
.board-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--c-teal-600); }
.board-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board-col { display: flex; flex-direction: column; gap: 10px; }
.board-col-head {
    display: flex; align-items: center; justify-content: space-between; padding: 0 2px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-on-dark-4);
}
.swatch { width: 8px; height: 8px; border-radius: 2px; }
.deal {
    background: var(--c-teal-700); border: 1px solid rgba(240, 238, 233, .08); border-radius: 10px;
    padding: 12px; display: flex; flex-direction: column; gap: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.deal:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.deal-title { font-size: 13px; font-weight: 600; color: var(--c-on-dark-5); }
.deal-bar { display: block; height: 6px; border-radius: 3px; background: var(--c-teal-900); overflow: hidden; }
.deal-bar > span { display: block; height: 100%; background: var(--c-teal-600); border-radius: 3px; }
.board-chips { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.board-chips span { padding: 5px 9px; border-radius: 6px; background: var(--c-teal-700); }

/* ---------- Stack strip ---------- */
.stack { border-bottom: 1px solid var(--c-angora); }
.stack-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 32px; padding-bottom: 32px; }
.stack-inner .label-mono { margin-right: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; }
.pill-logo { width: 16px; height: 16px; flex: none; }
.pill {
    padding: 8px 14px; border: 1px solid var(--c-angora-300); border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--c-ink-soft); background: var(--c-white);
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.pill:hover { transform: translateY(-2px) scale(1.04); border-color: var(--c-teal); color: var(--c-teal); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-white { background: var(--c-white); border-top: 1px solid var(--c-angora); border-bottom: 1px solid var(--c-angora); }
.section-sage { background: var(--c-sage-200); }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head.wide { max-width: 720px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ---------- Service cards ---------- */
.card {
    background: var(--c-white); border: 1px solid var(--c-angora); border-radius: var(--radius);
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--c-sage-400); }
.service { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.service .muted { font-size: 16px; }
.service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.service-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.service-logos img {
    width: 28px; height: 28px; padding: 6px; box-sizing: content-box;
    background: var(--c-cloud); border: 1px solid var(--c-angora); border-radius: 10px;
    transition: transform .25s var(--ease-out);
}
.card:hover .service-logos img { transform: translateY(-2px); }
.service-icon {
    width: 52px; height: 52px; border-radius: 12px; background: var(--c-sage-100); color: var(--c-teal);
    display: flex; align-items: center; justify-content: center;
    transition: transform .4s var(--ease-out), background-color .3s ease, color .3s ease;
}
.card:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: var(--c-teal); color: var(--c-white); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.tag { font-family: var(--font-mono); font-size: 12px; color: var(--c-cocoa); background: var(--c-angora-100); padding: 4px 9px; border-radius: 6px; }

/* ---------- CRM tabs ---------- */
.crm { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.crm-tabs { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.tab {
    display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
    font: inherit; min-height: 56px; padding: 14px 18px; border-radius: 12px;
    background: var(--c-cloud); color: var(--c-ink); border: 1px solid var(--c-angora);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tab:hover { transform: translateX(4px); }
.tab[aria-selected="true"] { background: var(--c-teal); color: var(--c-white); border-color: var(--c-teal); }
.tab-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; opacity: .75; }
.tab-label { font-family: var(--font-display); font-weight: 600; font-size: 19px; }

.crm-panel {
    flex: 999 1 520px; min-width: 0; background: var(--c-teal-900); color: var(--c-on-dark);
    border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 22px;
    animation: panelIn .35s var(--ease-out);
}
.crm-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.crm-kicker { font-family: var(--font-mono); font-size: 13px; color: var(--c-lava); }
.crm-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.15; letter-spacing: -0.015em; }
.crm-body { margin: 0; color: var(--c-on-dark-2); max-width: 620px; }
.crm-points { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.crm-points li {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--c-teal-800); border: 1px solid rgba(240, 238, 233, .08); border-radius: 12px;
    padding: 14px 16px; font-size: 15px; color: var(--c-on-dark-5);
}
.crm-points svg { flex: none; margin-top: 3px; color: var(--c-mint); }

/* ---------- Private AI ---------- */
.section-dark { background: var(--c-teal-900); color: var(--c-on-dark); }
.kicker-on-dark { color: var(--c-mint); }
.private-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.private-ai-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.private-ai-lede { margin: 0; font-size: 18px; color: var(--c-on-dark-2); }
.private-ai-features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 28px; }
.private-ai-features li { display: flex; gap: 14px; align-items: flex-start; }
.private-ai-features li > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--c-on-dark-3); }
.private-ai-features strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-on-dark); }
.private-ai-icon {
    flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--c-teal-700); color: var(--c-mint);
    display: flex; align-items: center; justify-content: center;
}

.airgap {
    flex: 1 1 380px; min-width: 0; background: var(--c-teal-800); border: 1px solid rgba(240, 238, 233, .10);
    border-radius: 18px; padding: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .40);
    display: flex; flex-direction: column; gap: 16px;
}
.airgap .board-top { margin-bottom: 0; }
.airgap-status {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
    background: var(--c-teal-700); font-family: var(--font-mono); font-size: 13px; color: var(--c-on-dark-5);
}
.airgap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-lava); animation: pulse 2.4s ease-in-out infinite; }
.airgap-log { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--c-on-dark-3); }
.airgap-log span { padding: 10px 12px; border-radius: 8px; background: var(--c-teal-900); overflow-wrap: anywhere; }
.airgap-log b { font-weight: 500; color: var(--c-mint); margin-right: 6px; }
.airgap-meter { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(240, 238, 233, .10); }
.airgap-zero { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--c-mint); }

/* ---------- Process ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--c-angora-300); }
.step { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.step .h3 { font-size: 22px; }
.step .muted { font-size: 16px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--c-cocoa-300); transition: transform .3s ease, color .3s ease; }
.step:hover .step-num { transform: translateX(8px); color: var(--c-teal); }

/* ---------- Plans ---------- */
.plans { max-width: 720px; }
.plan {
    background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-angora-300); border-radius: var(--radius);
    padding: 32px; display: flex; flex-direction: column; gap: 14px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.plan .label-mono { color: inherit; opacity: .8; }
.plan-featured { background: var(--c-teal-900); color: var(--c-on-dark); border-color: var(--c-teal-900); }
.plan-title { font-size: 26px; }
.plan-body { margin: 0; font-size: 16px; opacity: .85; }
.plan-pricing { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.plan-price { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.plan-price-note { font-size: 15px; opacity: .75; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.contact-email { font-weight: 600; font-size: 18px; color: var(--c-teal); }

.contact-form {
    flex: 1 1 480px; min-width: 0; background: var(--c-white); border: 1px solid var(--c-angora); border-radius: 18px;
    padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-content: start;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-ink-soft); }
.field-full { grid-column: 1 / -1; }
.input {
    width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--c-angora-400); border-radius: 10px;
    font: inherit; font-weight: 400; font-size: 16px; background: var(--c-white); color: var(--c-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { resize: vertical; }
.input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(11, 110, 110, .18); }
.input.input-validation-error { border-color: #B3401A; }
.field-error, .form-error-summary { font-weight: 500; font-size: 13px; color: #B3401A; }
.form-error-summary ul { margin: 0; padding-left: 18px; }
.form-error-summary.validation-summary-valid { display: none; }
.form-status {
    grid-column: 1 / -1; padding: 12px 16px; border-radius: 10px;
    background: var(--c-sage-100); color: var(--c-teal-900); font-weight: 500; font-size: 15px;
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-teal-900); color: var(--c-on-dark-3); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; }
.footer-note { flex-basis: 100%; font-size: 12px; color: var(--c-on-dark-4); }
.footer-note a { color: inherit; }
.footer-brand { font-family: var(--font-display); font-weight: 600; color: var(--c-on-dark); font-size: 17px; }

/* ---------- Scroll reveal (enabled by site.js) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--ease-out); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .nav-links { display: none; }
    .hero-title { font-size: 40px; }
    .h2 { font-size: 32px; }
    .hero-inner { padding-top: 56px; padding-bottom: 72px; }
    .section { padding: 72px 0; }
    .crm-panel { padding: 28px; }
}
@media (max-width: 480px) {
    .board-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .board-col:last-child { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .board { transform: none; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}
