/**
 * D.W. Jackson Systems & Automation — main stylesheet
 * Brand: navy #0F141D, gold #C29F47, cream #F9F6EE, canvas #F4F6F8
 * Font: Plus Jakarta Sans
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors inspired directly by your heraldic crest */
    --brand-gold: #C29F47;
    --brand-gold-hover: #A88632;
    --brand-navy: #0F141D;          /* Deep corporate navy instead of basic black */
    --brand-cream: #F9F6EE;         /* Rich champagne cream for a premium alternate strip */
    --brand-canvas: #F4F6F8;        /* Sleek Slate Silk light gray background */
    --brand-red: #E62117;           /* Video play button */
    --text-dark: #0F141D;
    --text-light: #FFFFFF;
    --text-muted: #5C6A7F;
    --border-light: #EBEFF5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--brand-canvas);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Anchor targets sit below the sticky header */
section[id],
main[id] {
    scroll-margin-top: 96px;
}

/* --- SCROLL REVEAL (IntersectionObserver, see main.js) --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

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

/* --- HEADER & NAVIGATION (sticky, compact lockup) --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(244, 246, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    border-bottom: 1px solid rgba(15, 20, 29, 0.06);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-lockup img {
    height: 56px;
    width: auto;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--brand-navy);
}

.brand-tag {
    font-weight: 600;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-gold);
}

.horizontal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.horizontal-nav a.nav-pill {
    display: inline-block;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid rgba(15, 20, 29, 0.15); /* Framed buttons rather than plain text links */
    border-radius: 50px;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
}

.horizontal-nav a.nav-pill:hover {
    color: #FFFFFF;
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(194, 159, 71, 0.2);
}

/* --- HERO SECTION & INTRO STYLING --- */
.hero-intro-shield {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px 100px 40px;
    text-align: center;
}

/* Subtle radial gold glow + faint grid texture behind the hero */
.hero-intro-shield::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(620px 320px at 50% 0%, rgba(194, 159, 71, 0.16), transparent 70%),
        linear-gradient(rgba(15, 20, 29, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 20, 29, 0.035) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 20px;
}

.hero-intro-shield h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-gold);
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.hero-lead-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-action-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- THE STORY, AS ONE ANIMATED OFFICE SCENE --- */
.story-section {
    width: 100%;
    background-color: var(--brand-navy);
    /* Blueprint grid taken from the demo-video hero cards, measured from the
       frames: 160px x 135px cells, 1px lines, white at ~6% (the measured
       +14 brightness lift over the navy). Lines fall at the end of each cell,
       matching the video's phase (lines at 160, 320, ... px). */
    background-image:
        repeating-linear-gradient(90deg, transparent 0 159px, rgba(255, 255, 255, 0.06) 159px 160px),
        repeating-linear-gradient(0deg, transparent 0 134px, rgba(255, 255, 255, 0.06) 134px 135px);
    background-size: 160px 135px;
    color: var(--text-light);
    padding: 110px 20px 120px;
    border-bottom: 1px solid rgba(194, 159, 71, 0.35);
    position: relative;
    overflow: hidden;
}

/* Whisper of a radial glow for depth. The video frames measure flat navy
   (no glow above ~1%), so this is kept to white 3% — a depth cue, not a
   feature — and it drifts almost imperceptibly (see glow-drift). */
.story-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 50% 28%, rgba(255, 255, 255, 0.03), transparent 70%);
    pointer-events: none;
    animation: glow-drift 24s ease-in-out infinite alternate;
}

@keyframes glow-drift {
    from { transform: translate3d(0, -18px, 0); }
    to { transform: translate3d(0, 18px, 0); }
}

/* Headline lines: stacked in one box, crossfading per scene. The site's
   voice, not a character's — no quote marks. */
.story-lines {
    position: relative;
    max-width: 920px;
    min-height: 150px;
    margin: 0 auto 30px;
    text-align: center;
    z-index: 1;
}

.story-line {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.story-line.active {
    opacity: 1;
    transform: translateY(0);
}

.story-line .highlight-gold {
    color: var(--brand-gold);
}

/* Stage frame: same aspect ratio as the SVG viewBox, so this box maps
   exactly onto the SVG coordinate space and %-positioned bubbles track
   the figures at every width. */
.stage-wrap {
    position: relative;
    aspect-ratio: 960 / 540;
    max-width: 960px;
    margin: 0 auto;
    z-index: 1;
}

.stage {
    display: block;
    width: 100%;
    height: auto;
}

/* Scene 4 zooms the whole stage toward the boss's face. */
#zoomLayer {
    transition: transform 1.5s ease-in-out;
    transform-box: view-box;
    transform-origin: 700px 255px;
}

.stage[data-scene="4"] #zoomLayer {
    transform: scale(2.1);
}

/* --- The office set --- */
.set {
    stroke: #F9F6EE;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.set .desk-top {
    fill: rgba(255, 255, 255, 0.10);
}

.set .monitor {
    fill: rgba(255, 255, 255, 0.06);
}

.set .chart {
    stroke: var(--brand-gold);
    stroke-width: 2;
}

.set .keys {
    fill: rgba(249, 246, 238, 0.45);
    stroke: none;
}

/* --- Characters: stick men, cream strokes, gold tie --- */
.char {
    stroke: #F9F6EE;
    stroke-width: 3.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translate(var(--x, 0px), 0);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.char .head {
    fill: rgba(255, 255, 255, 0.05);
}

.char .torso {
    stroke-width: 4;
}

.char .dot {
    fill: #F9F6EE;
    stroke: none;
}

.char .tie {
    stroke: var(--brand-gold);
}

.char .tie-knot {
    fill: var(--brand-gold);
    stroke: none;
}

.char .sweat {
    fill: #9FC3E8;
    stroke: none;
    display: none;
}

/* Faces: only the .on face shows; JS swaps them per scene and beat. */
.face {
    display: none;
}

.face.on {
    display: block;
}

/* Character positions per scene (x = centre of the figure). */
.boss { --x: 640px; }
.stage[data-scene="2"] .boss { --x: 640px; }
.stage[data-scene="3"] .boss,
.stage[data-scene="4"] .boss { --x: 700px; }

.emp-1 { --x: 230px; --run-dist: 320px; --run-dur: 2.8s; }
.emp-2 { --x: 550px; --run-dist: 310px; --run-dur: 3.2s; }
.emp-3 { --x: 860px; --run-dist: -310px; --run-dur: 2.6s; }

/* Only the one employee is on stage in scene 3; nobody but the boss in 4. */
.stage[data-scene="3"] .emp-1,
.stage[data-scene="3"] .emp-3 { opacity: 0; }
.stage[data-scene="4"] .emp { opacity: 0; }

/* --- Arms: pivot at the shoulder (top centre of each arm's box) --- */
.arm {
    transform-box: fill-box;
    transform-origin: 50% 0%;
    transition: transform 0.5s ease;
}

/* Scene 1: fast typing bob at the keyboards. */
.stage.playing[data-scene="1"] .emp .arm {
    animation: type-bob 0.22s ease-in-out infinite alternate;
}

.stage.playing[data-scene="1"] .emp .arm-r {
    animation-delay: 0.11s;
}

@keyframes type-bob {
    from { transform: rotate(-7deg); }
    to { transform: rotate(7deg); }
}

/* Scene 2: running — the whole figure shuttles between desks, legs in a
   scissor pose, arms swinging, sweat showing. */
.emp .legs-run { display: none; }

.stage[data-scene="2"] .emp .legs-run { display: block; }
.stage[data-scene="2"] .emp .legs-stand { display: none; }
.stage[data-scene="2"] .emp .sweat { display: block; }

.stage[data-scene="2"] .emp .run {
    animation: run-x var(--run-dur, 3s) ease-in-out infinite;
}

.stage[data-scene="2"] .emp.faster .run {
    animation-duration: calc(var(--run-dur, 3s) * 0.65);
}

@keyframes run-x {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(calc(var(--run-dist) * 0.5), -8px); }
    45%, 55% { transform: translate(var(--run-dist), 0); }
    75% { transform: translate(calc(var(--run-dist) * 0.5), -8px); }
}

.stage[data-scene="2"] .emp .arm {
    animation: arm-swing 0.45s ease-in-out infinite alternate;
}

.stage[data-scene="2"] .emp .arm-r {
    animation-delay: 0.22s;
}

@keyframes arm-swing {
    from { transform: rotate(-32deg); }
    to { transform: rotate(28deg); }
}

/* Scene 2: the boss throws his hands up in the classic shrug-panic. */
.stage[data-scene="2"] .boss .arm-l { transform: rotate(125deg); }
.stage[data-scene="2"] .boss .arm-r { transform: rotate(-125deg); }

.stage[data-scene="2"] .boss .char-inner {
    animation: shrug-shake 0.28s ease-in-out infinite alternate;
}

@keyframes shrug-shake {
    from { transform: translateX(-3px); }
    to { transform: translateX(3px); }
}

/* Scene 3: the employee reaches toward the boss as the report travels. */
.emp-2 .arm-r.reach {
    transform: rotate(-70deg);
}

/* Scene 3: the handshake — dedicated reaching arms replace the normal arms,
   hands meet at the clasp, small shake, gold sparkle. */
.arms-shake { display: none; }

.stage.shaking .boss .arms-shake,
.stage.shaking .emp-2 .arms-shake { display: block; }

.stage.shaking .boss .arm,
.stage.shaking .emp-2 .arm { display: none; }

.stage.shaking .arms-shake {
    animation: shake-bob 0.18s ease-in-out infinite alternate;
}

@keyframes shake-bob {
    from { transform: translateY(0); }
    to { transform: translateY(-4px); }
}

.clasp-spark {
    display: none;
    fill: var(--brand-gold);
    stroke: none;
    transform-box: fill-box;
    transform-origin: center;
}

.stage.shaking .clasp-spark {
    display: block;
    animation: sparkle 0.5s ease-in-out infinite alternate;
}

@keyframes sparkle {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.15); }
}

/* Scene 3: ecstatic boss does a small happy bounce. */
.boss.bounce .char-inner {
    animation: happy-bounce 0.5s ease-in-out infinite;
}

@keyframes happy-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* Scene 3: the single report. */
.report {
    opacity: 0;
    transform: translate(var(--rx, 520px), var(--ry, 322px));
    transition: transform 0.8s ease, opacity 0.4s ease;
}

.report.show { opacity: 1; }

.report.handed { --rx: 652px; --ry: 330px; }

.report-paper { fill: #F9F6EE; stroke: none; }
.report-gold { fill: #C29F47; stroke: none; }
.report-line { fill: #0F141D; opacity: 0.55; stroke: none; }
.report-line.faint { opacity: 0.35; }

/* Scene 3: the mouse-click flash. */
.click-flash {
    opacity: 0;
    fill: var(--brand-gold);
    stroke: none;
    transform-box: fill-box;
    transform-origin: center;
}

.click-flash.go {
    animation: click-flash 0.5s ease-out;
}

@keyframes click-flash {
    0% { opacity: 1; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(1.8); }
}

/* Scene 4: the boss wipes his brow — dedicated raised arm, sweat flicks off. */
.boss .arm-wipe { display: none; }

.boss.wiping .arm-wipe { display: block; }

.boss.wiping .arm-r { display: none; }

.stage[data-scene="4"] .boss .sweat { display: block; }

.boss.wiping .sweat {
    animation: sweat-flick 0.7s ease-out forwards;
}

@keyframes sweat-flick {
    0% { opacity: 1; transform: translate(0, 0); }
    100% { opacity: 0; transform: translate(20px, -28px); }
}

/* --- Speech bubbles (HTML overlay on the stage) --- */
.speech-bubble {
    position: absolute;
    display: none;
    max-width: 32%;
    background: var(--brand-cream);
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.speech-bubble.show {
    display: block;
    animation: bubble-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bubble-pop {
    from { opacity: 0; transform: scale(0.9) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.speech-bubble::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: inherit;
    transform: rotate(45deg);
}

.speech-bubble.tail-bl::after {
    left: 10%;
    bottom: -7px;
}

.speech-bubble.tail-br::after {
    right: 10%;
    bottom: -7px;
}

/* Bubbles are anchored to their speaker's head, in viewBox coords:
   boss head (640,255) in scene 1, emp-2 head (550,300) in scene 3, boss
   head (700,255) in scene 4 — the scene-4 zoom is centred on the boss's
   head, so it stays at that spot. Positions are % of the stage box (which
   shares the SVG's 960x540 aspect ratio), so the tail stays glued to the
   head at every width. `bottom` — not `top` — anchors the tail vertically,
   so it cannot drift when the bubble wraps to a different number of lines.
   The tail offset is a % of the bubble width, so it scales with the stage. */
.bubble-boss-1 { left: 65.9%; bottom: 58.9%; max-width: 30%; }
.bubble-emp-3 { right: 41.9%; bottom: 50%; max-width: 32%; }
.bubble-boss-4 { left: 71.4%; bottom: 63.9%; max-width: 36%; }

/* --- Replay button: appears when the story ends --- */
.story-replay {
    display: block;
    margin: 30px auto 0;
    padding: 14px 34px;
    background: transparent;
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, background 0.2s ease, color 0.2s ease;
}

.story-replay.show {
    opacity: 1;
    visibility: visible;
}

.story-replay:hover {
    background: var(--brand-gold);
    color: var(--brand-navy);
}

/* Static dialogue list: only shown in reduced-motion mode, so the dialogue
   stays readable when nothing animates. */
.story-dialogue-static {
    display: none;
    max-width: 640px;
    margin: 26px auto 0;
    text-align: center;
    color: #E2E8F0;
    font-size: 1rem;
    line-height: 1.9;
}

.story-dialogue-static b {
    color: var(--brand-gold);
}

/* --- CINEMATIC VIDEO SHOWCASE PANEL --- */
.video-showcase-container {
    background: var(--brand-navy);
    padding: 140px 20px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
}

.showcase-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 16px;
}

.showcase-text-block {
    max-width: 800px;
    text-align: center;
    color: #FFFFFF;
}

.showcase-text-block h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.showcase-text-block h3 span {
    color: var(--brand-gold);
}

.showcase-text-block p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #A0AEC0;
    margin-top: 15px;
}

.video-canvas {
    position: relative;
    width: 100%;
    max-width: 1050px;
    aspect-ratio: 16 / 9;
    background: #171E2A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    overflow: hidden;
}

.video-canvas video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CUSTOM RED PLAY BUTTON OVERLAY --- */
.video-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(rgba(15, 20, 29, 0.10), rgba(15, 20, 29, 0.35));
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.35s ease;
}

.video-canvas.is-playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(230, 33, 23, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
    margin-left: 4px;
}

/* Subtle pulse ring around the play button */
.play-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(230, 33, 23, 0.55);
    animation: play-pulse 2.2s ease-out infinite;
}

@keyframes play-pulse {
    0%   { transform: scale(0.95); opacity: 0.8; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.video-play-overlay:hover .play-btn,
.video-play-overlay:focus-visible .play-btn {
    transform: scale(1.06);
    background: #F42A1E;
}

.video-play-overlay:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: -2px;
}

.play-caption {
    position: absolute;
    top: calc(50% + 56px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* --- CAPABILITY LIST EXPERIENCE MODULE --- */
.experience-grid-summary {
    width: 100%;
    max-width: 900px;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 40px;
    border-radius: 16px;
}

.experience-grid-summary h4 {
    color: var(--brand-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

.capability-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.capability-list li {
    color: #E2E8F0;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
}

.capability-list li i {
    color: var(--brand-gold);
    font-size: 1.1rem;
    width: 25px;
    flex-shrink: 0;
}

/* --- VISUALLY BALANCED PROFILE HANDSHAKE LAYOUT BAND --- */
.personal-handshake-banner {
    width: 100%;
    background: var(--brand-canvas); /* Keeps it on the clean slate background layout layer */
    padding: 120px 20px 40px 20px;   /* Healthy padding room above the white lead card */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Constrains and centers the text length so it accurately pairs with the card width below */
.personal-handshake-banner .profile-intro-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 36px 40px;
    text-align: left;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 20, 29, 0.06);
}

.personal-handshake-banner .profile-details h5 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-navy);
    margin-bottom: 14px;
}

.personal-handshake-banner .profile-bio {
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    color: var(--text-muted) !important;
}

/* --- MINIMALIST INQUIRY PANEL --- */
.inquiry-section {
    width: 100%;
    background: #FFFFFF;
    padding: 20px 20px 140px 20px !important; /* Tightened upper gap for smoother flow */
    display: flex;
    justify-content: center;
}

.form-constrained-box {
    width: 100%;
    max-width: 650px;
}

.form-constrained-box h4 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
    color: var(--brand-navy);
}

.form-constrained-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.admin-form-group {
    margin-bottom: 40px;
}

.form-error {
    color: #9B2C2C;
    background: #FDF0F0;
    border: 1px solid #E5B4B4;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-navy);
}

.admin-input-wrapper {
    position: relative;
}

.admin-input-wrapper i {
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--brand-gold);
}

.admin-input-wrapper input {
    width: 100%;
    padding: 14px 0 14px 35px; /* Leaves room on the left for font-awesome indicators */
    border: none;
    border-bottom: 2px solid var(--border-light);
    font-size: 1.1rem;
    color: var(--brand-navy);
    font-weight: 500;
    background: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-input-wrapper input:focus {
    outline: none;
    border-bottom-color: var(--brand-gold);
    box-shadow: 0 14px 24px -18px rgba(194, 159, 71, 0.55);
}

/* Softened placeholder text for distinct example/input hierarchy */
.admin-input-wrapper input::placeholder {
    color: #A0AEC0 !important;
    font-weight: 400;
    opacity: 1;
}

.admin-input-wrapper input::-webkit-input-placeholder {
    color: #A0AEC0 !important;
    font-weight: 400;
}

.admin-input-wrapper input:-ms-input-placeholder {
    color: #A0AEC0 !important;
    font-weight: 400;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--brand-navy);
    color: #A0AEC0;
    text-align: center;
    padding: 36px 20px;
    font-size: 0.9rem;
}

.site-footer p:first-child {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-note {
    font-size: 0.85rem;
}

/* --- REUSABLE BUTTON COMPONENT UTILITIES --- */
.btn-core {
    display: inline-flex;
    justify-content: center;
    padding: 16px 38px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--brand-navy) !important;
    color: var(--brand-navy) !important;
}

.btn-outline:hover {
    background: var(--brand-navy) !important;
    color: #FFFFFF !important;
}

.btn-gold {
    background: var(--brand-gold) !important;
    color: var(--brand-navy) !important;
    border: 2px solid var(--brand-gold) !important;
}

.btn-gold:hover {
    background: var(--brand-gold-hover) !important;
    border-color: var(--brand-gold-hover) !important;
}

.btn-gold-form {
    background: var(--brand-gold) !important;
    color: var(--brand-navy) !important;
    border: 1px solid transparent;
}

.btn-gold-form:hover {
    background: var(--brand-navy) !important;
    color: #FFFFFF !important;
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 992px) {
    .story-line { font-size: 1.6rem; }
    .brand-lockup img { height: 48px; }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        justify-content: center;
        padding: 12px 16px;
        gap: 12px;
    }
    .hero-intro-shield { padding: 60px 24px 80px 24px; }
    .hero-intro-shield h1 { font-size: 2.5rem; }
    .hero-action-row { flex-direction: column; gap: 14px; }
    .btn-core { width: 100%; }
    .story-section { padding: 90px 20px; }
    .capability-list { grid-template-columns: 1fr; }
    .experience-grid-summary { padding: 28px 24px; }
    .video-showcase-container { padding: 90px 16px; }
    .personal-handshake-banner .profile-intro-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .hero-intro-shield h1 { font-size: 2.1rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-lead-text { font-size: 1.05rem; }
    .story-section { padding: 70px 16px; }
    .story-lines { min-height: 190px; margin-bottom: 20px; }
    .story-line { font-size: 1.25rem; }
    .speech-bubble { font-size: 0.9rem; padding: 10px 12px; }
    /* Same head-anchoring, re-tuned for the narrow stage. The boss-1
       bubble cannot sit right of the boss's head here without overflowing
       the stage, so it flips to his left and its tail moves to the
       bubble's bottom-right corner. */
    .bubble-boss-1 { left: auto; right: 28%; bottom: 63.2%; max-width: 54%; }
    .speech-bubble.bubble-boss-1::after { left: auto; right: 10%; }
    .bubble-emp-3 { right: 39.1%; bottom: 53.7%; max-width: 54%; }
    .bubble-boss-4 { left: 69.3%; bottom: 65.2%; max-width: 56%; }
    .horizontal-nav a.nav-pill { font-size: 0.7rem; padding: 8px 14px; }
    .showcase-text-block h3 { font-size: 1.7rem; }
    .form-constrained-box h4 { font-size: 1.9rem; }
    .play-btn { width: 64px; height: 64px; }
    .play-btn svg { width: 26px; height: 26px; }
}

/* --- CREAM VARIANT VIDEO SHOWCASE (FOR CRYSTAL REPORTS) --- */
.video-showcase-container.cream-variant {
    background: var(--brand-cream);
    color: var(--brand-navy);
    border-top: 18px solid var(--brand-gold);
    border-bottom: 18px solid var(--brand-gold);
}

.video-showcase-container.cream-variant .showcase-text-block h3 {
    color: var(--brand-navy);
}

.video-showcase-container.cream-variant .showcase-text-block p {
    color: var(--text-muted);
}

.video-showcase-container.cream-variant .video-canvas {
    background: #FFFFFF;
    border: 1px solid rgba(15, 20, 29, 0.1);
}

.video-showcase-container.cream-variant .experience-grid-summary {
    background: rgba(15, 20, 29, 0.03);
    border: 1px solid rgba(15, 20, 29, 0.08);
}

.video-showcase-container.cream-variant .experience-grid-summary h4 {
    color: var(--brand-navy);
}

.video-showcase-container.cream-variant .capability-list li {
    color: var(--brand-navy);
    background: rgba(15, 20, 29, 0.03);
    border: 1px solid rgba(15, 20, 29, 0.08);
}

/* --- PRICING PAGE --- */
.pricing-intro {
    padding-bottom: 60px;
}

.pricing-section {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px 120px 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(15, 20, 29, 0.05);
}

.pricing-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
    margin-bottom: 14px;
}

.pricing-price {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-gold);
    line-height: 1.1;
}

.pricing-price-note {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 6px 0 18px 0;
}

.pricing-card > p:last-child {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.pricing-tiers {
    list-style: none;
    margin: 18px 0;
    border-top: 1px solid var(--border-light);
}

.pricing-tiers li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
}

.pricing-tiers li span {
    color: var(--brand-navy);
    font-weight: 600;
}

.pricing-tiers li b {
    color: var(--brand-gold);
    font-weight: 800;
    white-space: nowrap;
}

.pricing-note {
    max-width: 720px;
    margin: 40px auto 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.pricing-cta {
    margin-top: 36px;
    text-align: center;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-section {
        padding-bottom: 90px;
    }
    .pricing-card {
        padding: 28px 24px;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-line {
        position: static;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }
    .story-lines {
        min-height: 0;
    }
    .story-dialogue-static {
        display: block;
    }
    .story-replay {
        display: none;
    }
    .story-section::before {
        animation: none;
    }
    .stage #zoomLayer {
        transform: none;
        transition: none;
    }
    .char {
        transition: none;
    }
    .speech-bubble {
        display: none !important;
    }
    .play-btn::after {
        animation: none;
    }
}

/* =====================================================================
   D.W. Jackson business story — cinematic CSS illustration, no stick men
   ===================================================================== */
.story-film { padding: 92px 22px 86px; background-color:#101a2a; background-image:radial-gradient(ellipse at 50% 35%,rgba(40,65,93,.55),transparent 68%),linear-gradient(135deg,#101a2a,#0b1320 72%); }
.story-film::before { background:radial-gradient(ellipse at 50% 50%,rgba(194,159,71,.07),transparent 64%); }
.story-film-inner { max-width:1120px; margin:0 auto; position:relative; z-index:1; }
.story-film .story-lines { min-height:118px; max-width:950px; margin-bottom:26px; }
.story-film .story-line { font-size:clamp(1.45rem,3vw,2.25rem); letter-spacing:-.035em; }
.story-film .story-line .highlight-gold { color:#d9b65e; }
.film-stage { position:relative; aspect-ratio:16/8.15; min-height:340px; overflow:hidden; border:1px solid rgba(255,255,255,.15); border-radius:18px; background:#dce2e5; box-shadow:0 32px 90px rgba(0,0,0,.38),0 0 0 7px rgba(255,255,255,.025); isolation:isolate; }
.film-topline { position:absolute; z-index:8; top:0; left:0; right:0; height:48px; display:flex; align-items:center; gap:10px; padding:0 22px; color:#fff; background:linear-gradient(90deg,rgba(8,17,29,.88),rgba(8,17,29,.38)); font-size:.65rem; letter-spacing:.17em; text-transform:uppercase; }
.live-dot { width:7px;height:7px;border-radius:50%;background:#d7b45e;box-shadow:0 0 12px #d7b45e; }
.film-counter { margin-left:auto; font-weight:800; letter-spacing:.12em; }.film-counter i { font-style:normal;opacity:.5; }
.office-scene { position:absolute; inset:0; overflow:hidden; opacity:0; visibility:hidden; transition:opacity .9s ease,visibility .9s; }
.film-stage[data-scene="1"] .scene-chaos,.film-stage[data-scene="2"] .scene-switching,.film-stage[data-scene="3"] .scene-solution,.film-stage[data-scene="4"] .scene-calm { opacity:1;visibility:visible; }
.scene-chaos { background:linear-gradient(180deg,#aebdc4 0%,#d6d9d4 58%,#687982 58%,#43515a 100%); }
.office-window { position:absolute;left:4%;top:12%;width:34%;height:42%;border:9px solid #52616a;background:linear-gradient(135deg,#dce7e8,#9db7bf);box-shadow:inset 0 0 35px #fff8; }
.office-window:before,.office-window:after { content:"";position:absolute;background:#52616a; }.office-window:before{left:49%;top:0;bottom:0;width:7px}.office-window:after{top:48%;left:0;right:0;height:7px}
.office-window span { position:absolute;z-index:1;width:4px;height:4px;border-radius:50%;background:#fff;top:12%;left:12%;box-shadow:42px 27px 0 #fff,80px 10px 0 #fff; }
.window-city { position:absolute;bottom:0;left:0;right:0;height:34%;background:linear-gradient(90deg,#7d999c 0 12%,transparent 12% 18%,#82999b 18% 34%,transparent 34% 41%,#789196 41% 63%,transparent 63% 70%,#849b9d 70%);opacity:.6; }
.scene-label { position:absolute;z-index:7;top:60px;left:4%;right:4%;width:max-content;max-width:92%;box-sizing:border-box;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:5px;background:#14283d;color:#fff;font-size:clamp(.52rem,.75vw,.64rem);font-weight:800;line-height:1.35;letter-spacing:.16em;white-space:normal;overflow-wrap:anywhere;box-shadow:0 5px 16px rgba(10,22,35,.22); }
.person { position:absolute;z-index:3;left:47%;top:24%;width:120px;height:220px;animation:manager-shift 3s ease-in-out infinite; }
.person-head,.worker-head,.calm-head { position:absolute;width:47px;height:54px;border-radius:48% 48% 43% 43%;background:linear-gradient(110deg,#c68f70,#f0c4a2);box-shadow:inset -8px -3px 0 #a66e57; }
.person-head:before,.worker-head:before,.calm-head:before { content:"";position:absolute;top:-5px;left:3px;width:42px;height:18px;border-radius:70% 70% 20% 20%;background:#30343a; }
.person-head { left:37px;top:0; }.person-head:after { content:"";position:absolute;left:13px;top:28px;width:23px;height:3px;border-bottom:2px solid #714a42;transform:rotate(7deg); }
.person-body { position:absolute;top:49px;left:19px;width:83px;height:137px;border-radius:20px 20px 5px 5px;background:linear-gradient(100deg,#17283a,#344a60 65%,#17283a);clip-path:polygon(20% 0,80% 0,100% 100%,0 100%); }
.person-body b { position:absolute;left:38px;top:3px;width:13px;height:83px;background:#d2b05f;clip-path:polygon(0 0,100% 0,70% 100%,50% 85%,25% 100%); }
.person-arm { position:absolute;top:65px;width:17px;height:105px;border-radius:12px;background:#1e3043;transform-origin:top; }.arm-a{left:22px;transform:rotate(24deg)}.arm-b{right:5px;transform:rotate(-35deg)}
.manager-thought { position:absolute;z-index:9;left:54%;top:22%;padding:12px 18px;border-radius:9px 9px 9px 2px;background:#fff;color:#293746;font-size:clamp(.65rem,1.3vw,.9rem);font-weight:800;box-shadow:0 9px 25px #1d2a3440;transform:rotate(2deg); }
.workstation { position:absolute;z-index:2;bottom:9%;width:29%;height:48%; }.ws-one{left:5%}.ws-two{right:5%}
.screen { position:absolute;left:17%;top:0;width:66%;height:57%;border:8px solid #29343c;border-bottom-width:12px;border-radius:6px;background:#f4f3ec;box-shadow:0 8px 14px #26343a55;overflow:hidden; }.screen-bar{height:13%;background:#78927e}.screen-bar.blue{background:#637e9a}.sheet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:7px;height:75%}.sheet-grid i{background:#c9d8cd;border:1px solid #aab9ad}.sheet-grid i:nth-child(3n){background:#e6e9df}.email-lines{padding:8px;display:grid;gap:7px}.email-lines i{height:5px;background:#b8c4ca;border-radius:4px}.email-lines i:nth-child(2){width:72%}.email-lines i:nth-child(3){width:85%}.mail-badge{position:absolute;right:8px;top:22px;background:#bd6b58;color:#fff;border-radius:20px;padding:3px 7px;font-size:9px}.keyboard{position:absolute;left:23%;top:60%;width:54%;height:5%;background:#303c44;border-radius:3px}.desk{position:absolute;left:0;right:0;top:67%;height:10px;background:#725c4d;box-shadow:0 6px 0 #59483d}.worker{position:absolute;bottom:4%;width:75px;height:110px;}.worker-one{left:25%}.worker-two{right:22%}.worker-head{left:15px;top:0;width:38px;height:43px}.worker-body{position:absolute;top:39px;left:0;width:68px;height:75px;border-radius:22px 22px 0 0;background:linear-gradient(100deg,#657e83,#354e5b)}.paper-stack{position:absolute;right:1%;top:70%;width:52px;height:35px;background:#f6f1df;box-shadow:3px -4px 0 #d9d4c5,6px -8px 0 #f8f5e9;transform:rotate(8deg)}.paper-stack.second{left:1%;right:auto;transform:rotate(-9deg)}
.floating-note { position:absolute;z-index:4;padding:8px 11px;background:#fff2cb;color:#705b2c;font-size:clamp(.48rem,.8vw,.65rem);font-weight:900;letter-spacing:.06em;box-shadow:0 5px 15px #26343a33; }.note-a{left:37%;bottom:17%;transform:rotate(-8deg);animation:note-float 2.8s ease-in-out infinite}.note-b{right:26%;top:40%;transform:rotate(5deg);animation:note-float 3.2s ease-in-out infinite .4s}.note-c{left:6%;top:22%;transform:rotate(4deg);animation:note-float 3s ease-in-out infinite .8s}.scene-vignette{position:absolute;inset:0;box-shadow:inset 0 0 90px #26353b55;pointer-events:none}
.scene-switching { background:radial-gradient(ellipse at 50% 50%,#edf0ed,#c4d0d1 75%); }.scene-switching:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.9%,#fff6 50%,transparent 50.1%);}
.system-card { position:absolute;z-index:2;width:25%;height:48%;top:24%;padding:2.2% 2%;border-radius:10px;background:#fff;box-shadow:0 16px 35px #26394730;border:1px solid #dbe1e2;display:flex;flex-direction:column; }.card-erp{left:5%;transform:rotate(-3deg);animation:card-bob 4s ease-in-out infinite}.card-sheets{left:37.5%;top:20%;transform:translateY(0);animation:card-bob 4s ease-in-out infinite .4s}.card-mail{right:5%;transform:rotate(3deg);animation:card-bob 4s ease-in-out infinite .8s}.system-icon{font-size:clamp(1.3rem,3vw,2.4rem);color:#b18c3e;line-height:1.1}.system-card small{font-size:clamp(.4rem,.7vw,.58rem);letter-spacing:.13em;color:#84929a;margin-top:8px}.system-card b{font-size:clamp(.65rem,1.3vw,1rem);color:#263747;margin-top:5px}.system-card em{font-size:clamp(.43rem,.7vw,.6rem);font-style:normal;color:#89969b;margin-top:auto}.mini-bars{height:25%;display:flex;align-items:end;gap:5px;margin:8px 0}.mini-bars i{width:17%;background:#9bb7aa;height:40%;border-radius:2px}.mini-bars i:nth-child(2){height:75%}.mini-bars i:nth-child(3){height:55%}.sheet-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:9px 0}.sheet-mini i{height:13px;background:#d8e5dc}.sheet-mini i:nth-child(3n){background:#b4cdbd}.mail-mini{display:grid;gap:5px;margin:9px 0}.mail-mini i{height:6px;background:#dbe3e8;border-radius:4px}.mail-mini i:nth-child(2){width:75%}.mail-mini i:nth-child(3){width:88%}.sync-line{position:absolute;z-index:1;height:2px;background:repeating-linear-gradient(90deg,#ba984b 0 7px,transparent 7px 13px);transform-origin:left;opacity:.8;animation:sync-pulse 1.1s linear infinite}.line-one{left:29%;top:48%;width:17%;transform:rotate(-5deg)}.line-two{left:53%;top:49%;width:19%;transform:rotate(5deg)}.line-three{left:17%;top:75%;width:65%;transform:rotate(-.5deg);opacity:.3}.switching-caption{position:absolute;bottom:8%;left:0;right:0;text-align:center;color:#394b56;font-size:clamp(.65rem,1.4vw,1rem);font-weight:800;letter-spacing:.08em}
.scene-solution{background:linear-gradient(135deg,#e6ece9,#cbd8d5 55%,#aebfc0)}.scene-solution:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 53%,#fff9,transparent 55%)}.scene-solution .scene-label,.scene-calm .scene-label{color:#596d70}.solution-glow{position:absolute;width:55%;height:70%;left:22%;top:20%;border-radius:50%;background:#d2b66d55;filter:blur(50px)}
.dashboard-window{position:absolute;z-index:2;left:15%;top:17%;width:70%;height:67%;display:flex;border-radius:9px;background:#fff;box-shadow:0 24px 55px #243a3b45;overflow:hidden;transform:translateY(18px) scale(.96);animation:dashboard-arrive 1s .25s cubic-bezier(.2,.8,.2,1) forwards}.dash-sidebar{width:12%;background:#152438;display:flex;align-items:center;flex-direction:column;padding:5% 0;gap:14%}.dash-brand{font-size:clamp(.7rem,1.5vw,1.2rem);font-weight:900;color:#fff}.dash-brand span{color:#d5b45f}.dash-sidebar i{width:22%;aspect-ratio:1;border-radius:4px;background:#ffffff32}.dash-sidebar i.selected{background:#c4a253;box-shadow:0 0 0 5px #c4a25322}.dash-main{flex:1;padding:3.5% 4%;color:#25394b}.dash-heading{display:flex;justify-content:space-between;align-items:center}.dash-heading div{display:grid;gap:4px}.dash-heading small,.metric small,.chart-panel>small,.status-panel>small{font-size:clamp(.37rem,.7vw,.55rem);letter-spacing:.13em;color:#8a989f;font-weight:800}.dash-heading b{font-size:clamp(.7rem,1.5vw,1.2rem)}.dash-period{font-size:clamp(.4rem,.7vw,.55rem);padding:7px 10px;background:#f1f4f2;border-radius:4px;color:#63737a}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:3%;margin-top:4%}.metric{padding:8% 9%;background:#f5f7f5;border:1px solid #e8eeea;border-radius:5px;display:grid;gap:5px}.metric b{font-size:clamp(.7rem,1.5vw,1.25rem);color:#26394b}.metric em{font-size:clamp(.38rem,.65vw,.52rem);font-style:normal;color:#4c9475}.metric em.neutral{color:#8b999e}.dash-lower{display:grid;grid-template-columns:1.4fr 1fr;gap:3%;margin-top:4%}.chart-panel,.status-panel{background:#fafbf9;border:1px solid #edf0ed;border-radius:5px;padding:3%}.chart-bars{height:65px;display:flex;align-items:end;gap:3%;margin-top:5%}.chart-bars i{flex:1;background:linear-gradient(#c7ad69,#b18e43);height:var(--h,50%);border-radius:2px 2px 0 0;animation:bar-rise .8s ease-out both}.chart-bars i:nth-child(1){--h:28%}.chart-bars i:nth-child(2){--h:44%}.chart-bars i:nth-child(3){--h:37%}.chart-bars i:nth-child(4){--h:62%}.chart-bars i:nth-child(5){--h:49%}.chart-bars i:nth-child(6){--h:75%}.chart-bars i:nth-child(7){--h:58%}.chart-bars i:nth-child(8){--h:83%}.chart-bars i:nth-child(9){--h:69%}.chart-bars i:nth-child(10){--h:91%}.chart-bars i:nth-child(11){--h:78%}.chart-bars i:nth-child(12){--h:100%}.status-panel{display:grid;gap:9px}.status-panel b{font-size:clamp(.4rem,.7vw,.58rem);font-weight:600;color:#566970;white-space:nowrap}.status-panel b span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65a584;margin-right:5px}.success-toast{position:absolute;z-index:4;right:9%;bottom:10%;display:flex;align-items:center;gap:10px;padding:11px 16px;background:#fff;border-radius:8px;box-shadow:0 12px 30px #1f354333;opacity:0;animation:toast-in .6s 1.5s ease forwards}.success-toast>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e2f1e8;color:#38825e;font-weight:900}.success-toast div{display:grid;gap:2px}.success-toast b{font-size:clamp(.55rem,.9vw,.72rem);color:#25394b}.success-toast small{font-size:clamp(.43rem,.7vw,.57rem);color:#849198}.solution-caption{position:absolute;bottom:5%;left:0;right:0;text-align:center;color:#4c6265;font-size:clamp(.55rem,1vw,.8rem);font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.scene-calm{background:linear-gradient(180deg,#e9ece7 0%,#d4dfd8 58%,#9baea7 58%,#81948b 100%)}.calm-window{position:absolute;left:7%;top:12%;width:43%;height:48%;border:10px solid #5a6d6b;background:linear-gradient(135deg,#c3d9d5,#f1e9d5);box-shadow:inset 0 0 35px #fff9}.calm-window:before{content:"";position:absolute;left:49%;top:0;bottom:0;width:7px;background:#5a6d6b}.calm-window:after{content:"";position:absolute;top:50%;left:0;right:0;height:7px;background:#5a6d6b}.sun{position:absolute;right:12%;top:12%;width:50px;height:50px;border-radius:50%;background:#e8c978;box-shadow:0 0 35px #e8c978aa}.plant{position:absolute;bottom:0;right:7%;height:45%;width:45px}.plant b{position:absolute;bottom:0;left:15px;width:25px;height:28px;background:#b9825e;border-radius:2px 2px 8px 8px}.plant i{position:absolute;bottom:24px;left:22px;width:18px;height:43px;background:#648a70;border-radius:100% 0 100% 0;transform:rotate(-35deg)}.plant i:nth-child(2){transform:rotate(35deg);left:4px}.plant i:nth-child(3){transform:rotate(-4deg);bottom:42px}.calm-desk{position:absolute;left:6%;bottom:17%;width:60%;height:10px;background:#806b58;box-shadow:0 7px 0 #625344}.coffee{position:absolute;right:12%;bottom:9px;width:35px;height:34px;border-radius:3px 3px 12px 12px;background:#f2eee2;border:3px solid #9b8974}.coffee:after{content:"";position:absolute;right:-11px;top:6px;width:12px;height:15px;border:3px solid #9b8974;border-left:0;border-radius:0 9px 9px 0}.coffee i{position:absolute;left:3px;top:-10px;width:20px;height:8px;border-top:2px solid #a9a093;border-radius:50%}.laptop{position:absolute;left:22%;bottom:8px;width:42%;height:100px}.laptop-screen{position:absolute;bottom:0;left:7%;width:86%;height:88px;border:7px solid #34464c;border-radius:6px 6px 2px 2px;background:#f7f8f2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.laptop-screen span{font-size:clamp(.4rem,.7vw,.6rem);letter-spacing:.15em;color:#7b8b85}.laptop-screen b{font-size:clamp(1rem,2.3vw,2rem);color:#579676}.laptop-screen small{font-size:clamp(.35rem,.6vw,.5rem);color:#7c8983}.laptop-base{position:absolute;bottom:-5px;left:0;width:100%;height:7px;background:#788b8d;clip-path:polygon(7% 0,93% 0,100% 100%,0 100%)}.calm-manager{position:absolute;right:13%;bottom:16%;width:155px;height:230px;animation:calm-breathe 4s ease-in-out infinite}.calm-head{left:47px;top:0;width:55px;height:61px}.calm-body{position:absolute;top:57px;left:17px;width:118px;height:160px;border-radius:28px 28px 0 0;background:linear-gradient(100deg,#344b5c,#536c78);clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.relief-note{position:absolute;top:23%;right:7%;padding:12px 16px;border-radius:7px;background:#fff;color:#40544e;font-size:clamp(.58rem,1vw,.8rem);font-weight:700;box-shadow:0 8px 25px #30443b22;transform:rotate(2deg)}.brand-end{position:absolute;z-index:5;left:0;right:0;bottom:0;height:25%;display:flex;align-items:center;justify-content:center;gap:15px;padding:10px 3%;background:linear-gradient(90deg,#101b2a,#192b3d);color:#fff;opacity:0;transform:translateY(20px);transition:all .8s ease .8s}.film-stage[data-scene="4"] .brand-end{opacity:1;transform:translateY(0)}
.brand-end-mark{font-size:clamp(1rem,2.1vw,1.8rem);font-weight:900;color:#d5b45f;letter-spacing:-.055em;border-right:1px solid #ffffff35;padding-right:15px;white-space:nowrap;flex:0 0 auto}.brand-end>b{font-size:clamp(.7rem,1.5vw,1.15rem);letter-spacing:-.02em}.brand-end>span{font-size:clamp(.36rem,.7vw,.56rem);letter-spacing:.12em;color:#d5b45f;margin-left:5px}
.film-progress{position:absolute;z-index:9;left:0;right:0;bottom:0;height:4px;background:#ffffff55}.film-progress span{display:block;width:25%;height:100%;background:#d5b45f;transition:width .7s ease}
.story-film .story-replay{display:block;margin:26px auto 0;opacity:0;visibility:hidden;transform:translateY(7px);transition:all .35s ease;background:transparent;border:1px solid #c7a653;color:#f4e8c6;border-radius:30px;padding:10px 20px;font-weight:700;cursor:pointer}.story-film .story-replay.show{opacity:1;visibility:visible;transform:translateY(0)}.story-film .story-replay:hover{background:#c7a653;color:#101a2a}.story-footnote{text-align:center;color:#aab7c3;font-size:.85rem;letter-spacing:.04em;margin:18px 0 0}
@keyframes manager-shift{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(5px) rotate(-2deg)}}
@keyframes note-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes card-bob{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes sync-pulse{0%{background-position:0 0;opacity:.35}100%{background-position:26px 0;opacity:1}}
@keyframes dashboard-arrive{to{transform:translateY(0) scale(1)}}
@keyframes bar-rise{from{height:0}to{height:var(--h,50%)}}
@keyframes toast-in{to{opacity:1;transform:translateY(0)}}
@keyframes calm-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:700px){.story-film{padding:70px 14px}.story-film .story-lines{min-height:145px}.film-stage{aspect-ratio:4/3;min-height:390px;border-radius:12px}.film-topline{height:39px;padding:0 13px;font-size:.55rem}.scene-label{top:48px;left:3%;right:3%;max-width:94%;padding:7px 9px;font-size:.5rem;letter-spacing:.12em}.person{left:43%;top:25%;transform:scale(.78);transform-origin:top center}.manager-thought{left:51%;top:18%;font-size:.62rem;padding:8px 10px}.workstation{width:39%;height:43%;bottom:8%}.ws-one{left:1%}.ws-two{right:1%}.worker{transform:scale(.8);transform-origin:bottom}.note-a{left:34%;bottom:12%}.note-b{right:4%;top:37%}.note-c{left:4%;top:21%}.system-card{width:29%;height:47%;top:25%;padding:3% 2%}.card-erp{left:2%}.card-sheets{left:35.5%;top:22%}.card-mail{right:2%}.system-card b{font-size:.65rem}.system-card small{font-size:.39rem}.system-card em{font-size:.39rem}.switching-caption{bottom:10%}.dashboard-window{left:5%;top:20%;width:90%;height:62%}.dash-sidebar{width:10%}.dash-main{padding:4% 3%}.dash-heading b{font-size:.75rem}.dash-period{font-size:.38rem;padding:5px}.metric{padding:7% 5%;gap:3px}.metric b{font-size:.72rem}.metric small{font-size:.38rem}.metric em{font-size:.38rem}.dash-lower{margin-top:5%}.chart-bars{height:45px}.status-panel{gap:6px}.status-panel b{font-size:.38rem}.success-toast{right:4%;bottom:9%;padding:8px 10px}.success-toast b{font-size:.55rem}.success-toast small{font-size:.43rem}.solution-caption{font-size:.48rem;bottom:4%}.calm-window{left:4%;width:53%;height:45%}.calm-manager{right:2%;transform:scale(.72);transform-origin:bottom right}.calm-desk{width:68%;left:2%}.laptop{width:48%;left:12%;transform:scale(.85);transform-origin:bottom}.relief-note{top:18%;right:3%;max-width:42%;font-size:.56rem;padding:8px 10px}.brand-end{height:28%;gap:8px;flex-wrap:wrap;align-content:center;padding:8px 3%}.brand-end-mark{font-size:clamp(.88rem,4vw,1rem);padding-right:8px}.brand-end>b{font-size:.68rem}.brand-end>span{width:100%;text-align:center;margin:0;font-size:.4rem}}
@media(prefers-reduced-motion:reduce){.office-scene,.office-scene *,.film-progress span{animation:none!important;transition:none!important}.film-stage[data-scene="4"] .brand-end{opacity:1;transform:none}}


/* --------------------------------------------------------------------------
   Refined pricing, contact form and responsive layout
   -------------------------------------------------------------------------- */
.site-header { min-width: 0; }
.nav-button-container { min-width: 0; }
.pricing-intro { max-width: 900px; }
.pricing-intro .hero-lead-text { max-width: 700px; margin-left: auto; margin-right: auto; }
.pricing-section-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.pricing-section-heading .hero-eyebrow { margin-bottom: 10px; }
.pricing-section-heading h2 { color: var(--brand-navy); font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; margin-bottom: 10px; }
.pricing-section-heading > p:last-child { color: var(--text-muted); line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pricing-grid-top { margin-bottom: 24px; }
.pricing-card { min-width: 0; display: flex; flex-direction: column; }
.pricing-card h3 { color: var(--brand-navy); font-size: 1.45rem; line-height: 1.25; margin-bottom: 12px; }
.pricing-kicker { color: var(--brand-gold-hover); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.pricing-card-intro { color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.pricing-footnote { color: var(--text-muted); font-size: .84rem; line-height: 1.65; margin-top: auto; padding-top: 18px; }
.pricing-feature-list { list-style: none; display: grid; gap: 11px; margin: 8px 0 18px; }
.pricing-feature-list li { position: relative; padding-left: 25px; color: var(--text-muted); line-height: 1.5; }
.pricing-feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-gold-hover); font-weight: 800; }
.pricing-retainer-card { margin: 0 0 82px; padding: 38px; }
.pricing-retainer-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.pricing-retainer-heading > div { max-width: 580px; }
.pricing-retainer-heading .pricing-card-intro { margin-bottom: 0; }
.pricing-retainer-note { max-width: 280px; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.retainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.retainer-tier { min-width: 0; border: 1px solid var(--border-light); border-radius: 12px; padding: 22px 20px; background: #FBFCFD; display: flex; flex-direction: column; }
.retainer-featured { border-color: rgba(194,159,71,.7); background: #FBF8EF; box-shadow: inset 0 3px 0 var(--brand-gold); }
.retainer-name { color: var(--text-muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.retainer-tier strong { color: var(--brand-navy); font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.04em; white-space: nowrap; }
.retainer-tier strong span { color: var(--text-muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.retainer-tier > b { color: var(--brand-gold-hover); font-size: .9rem; margin-top: 8px; }
.retainer-tier p { color: var(--text-muted); font-size: .86rem; line-height: 1.55; margin-top: 10px; }
.credit-explainer { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-light); }
.credit-explainer h4 { color: var(--brand-navy); font-size: 1rem; margin-bottom: 14px; }
.credit-explainer > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.credit-explainer > div span { color: var(--text-muted); background: var(--brand-canvas); border-radius: 8px; padding: 12px; font-size: .82rem; line-height: 1.5; }
.credit-explainer > div b { display: block; color: var(--brand-navy); margin-bottom: 3px; }
.credit-explainer > p { color: var(--text-muted); font-size: .82rem; line-height: 1.65; margin-top: 14px; }
.pricing-secondary-heading { margin-top: 0; }
.pricing-quoted { font-size: 1.75rem; margin: 2px 0 14px; }
.pricing-cta { margin-top: 48px; padding: 36px 24px; background: var(--brand-cream); border: 1px solid rgba(194,159,71,.22); border-radius: 16px; }
.pricing-cta h2 { color: var(--brand-navy); font-size: 1.65rem; margin-bottom: 10px; }
.pricing-cta p { max-width: 620px; margin: 0 auto 22px; color: var(--text-muted); line-height: 1.65; }

/* Contact form */
.form-constrained-box { width: min(100% - 32px, 680px); }
.form-constrained-box .hero-eyebrow { margin-bottom: 12px; }
.contact-form { display: grid; gap: 18px; margin-top: 26px; }
.contact-form .admin-form-group { margin: 0; }
.admin-input-wrapper input, .contact-form textarea { width: 100%; min-width: 0; font: inherit; }
.contact-form textarea { display: block; min-height: 140px; resize: vertical; border: 1px solid #DCE2EA; border-radius: 10px; background: #fff; color: var(--brand-navy); padding: 14px 16px; line-height: 1.55; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea:focus, .admin-input-wrapper input:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(194,159,71,.16); }
.contact-form textarea::placeholder { color: #8792A2; }
.contact-form .btn-core { width: 100%; min-height: 52px; }
.form-privacy-note { color: var(--text-muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.honeypot-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Small screens: prevent navigation, cards, video and forms from overflowing. */
@media (max-width: 900px) {
    .site-header { align-items: center; }
    .nav-button-container { width: 100%; }
    .horizontal-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 1px 8px; scrollbar-width: thin; }
    .horizontal-nav li { flex: 0 0 auto; }
    .horizontal-nav a.nav-pill { white-space: nowrap; }
    .pricing-retainer-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pricing-retainer-note { max-width: 620px; }
}
@media (max-width: 768px) {
    section[id], main[id] { scroll-margin-top: 135px; }
    .site-header { position: sticky; padding: 10px 14px 6px; gap: 8px; }
    .brand-lockup img { height: 42px; }
    .brand-name { font-size: .96rem; }
    .brand-tag { font-size: .57rem; letter-spacing: .18em; }
    .horizontal-nav { gap: 7px; }
    .horizontal-nav a.nav-pill { font-size: .66rem; padding: 8px 12px; }
    .hero-intro-shield { padding: 54px 20px 64px; }
    .hero-intro-shield h1 { font-size: clamp(2rem, 8vw, 2.7rem); overflow-wrap: anywhere; }
    .hero-lead-text { font-size: 1.03rem; }
    .hero-action-row { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
    .video-showcase-container { width: 100%; padding: 76px 16px; gap: 30px; }
    .video-canvas { border-radius: 10px; }
    .experience-grid-summary { margin-top: 24px; padding: 24px 18px; }
    .pricing-section { padding: 0 16px 72px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
    .pricing-card { padding: 26px 22px; }
    .pricing-retainer-card { margin-bottom: 58px; padding: 26px 20px; }
    .retainer-grid { grid-template-columns: 1fr; }
    .retainer-tier { padding: 20px; }
    .retainer-tier strong { font-size: 1.8rem; }
    .credit-explainer > div { grid-template-columns: 1fr; }
    .pricing-section-heading { margin-bottom: 22px; }
    .pricing-secondary-heading { margin-top: 0; }
    .pricing-cta { padding: 28px 18px; }
    .inquiry-section { padding: 70px 12px; }
    .form-constrained-box { width: 100%; padding: 28px 20px; }
    .form-constrained-box h4 { font-size: clamp(1.55rem, 6vw, 2rem); }
    .admin-input-wrapper input { font-size: 16px; }
    .contact-form textarea { font-size: 16px; }
    .site-footer { padding: 28px 16px; text-align: center; }
}
@media (max-width: 480px) {
    .site-header { padding-left: 10px; padding-right: 10px; }
    .brand-lockup { gap: 8px; }
    .brand-lockup img { height: 38px; }
    .brand-name { font-size: .88rem; }
    .brand-tag { font-size: .51rem; letter-spacing: .14em; }
    .horizontal-nav a.nav-pill { font-size: .62rem; padding: 8px 10px; letter-spacing: .04em; }
    .hero-eyebrow { font-size: .65rem; letter-spacing: .2em; }
    .hero-intro-shield h1 { font-size: 2.05rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-lead-text { font-size: .98rem; }
    .showcase-text-block h3 { font-size: 1.55rem; }
    .showcase-text-block p { font-size: .98rem; }
    .video-play-overlay { gap: 10px; }
    .play-caption { top: calc(50% + 46px); font-size: .78rem; }
    .story-film .story-lines { min-height: 155px; }
    .film-stage { min-height: 340px; }
    .pricing-section { padding-left: 12px; padding-right: 12px; }
    .pricing-card { padding: 23px 18px; }
    .pricing-tiers li { font-size: .95rem; gap: 8px; }
    .pricing-tiers li b { font-size: .95rem; }
    .form-constrained-box { padding: 24px 16px; }
    .form-constrained-box p { font-size: .92rem; }
}
@media (max-width: 360px) {
    .brand-tag { letter-spacing: .08em; }
    .horizontal-nav a.nav-pill { font-size: .58rem; padding: 7px 8px; }
    .hero-intro-shield { padding-left: 15px; padding-right: 15px; }
    .hero-intro-shield h1 { font-size: 1.85rem; }
    .pricing-price { font-size: 1.8rem; }
}
