/* ============================================================
   Orbit Metrics — light editorial design system
   Instrument Serif (display) · Manrope (body) · JetBrains Mono (labels)
   Blue→violet gradient accent on warm paper. Inspired by the
   premium dark aesthetic of growsurely.com, translated to light.
   ============================================================ */

:root {
    /* Paper */
    --paper:        #ffffff;
    --paper-warm:   #f7f7fb;   /* alt sections */
    --paper-tint:   #f0f2fb;   /* soft blue wash */
    --paper-ink:    #0b0d14;   /* rare dark band */

    /* Ink */
    --ink:          #10121b;
    --ink-body:     #3d4453;
    --ink-muted:    #6a7180;
    --ink-faint:    #6b7387;

    /* Lines */
    --line:         #e7e9f1;
    --line-strong:  #d6dae6;
    --grid-line:    rgba(16, 18, 27, 0.035);

    /* Brand gradient (blue → violet) */
    --blue:         #1f57e6;
    --blue-deep:    #1f4fd6;
    --violet:       #6d28c9;
    /* All gradient stops kept >=5.9:1 on white so gradient text (headline, numbers) stays readable. */
    --grad:         linear-gradient(100deg, #1f57e6 0%, #4a35d6 52%, #6d28c9 100%);
    --grad-soft:    linear-gradient(103deg, rgba(47,107,255,0.12), rgba(160,91,255,0.12));
    --blue-tint:    #eaf0ff;
    --violet-tint:  #f2ecff;

    /* Status */
    --green:        #12885f;
    --green-tint:   #e8f6ef;
    --red:          #d64550;
    --red-tint:     #fcedee;

    /* Type */
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --sans:  'Manrope', system-ui, -apple-system, sans-serif;
    --mono:  'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

    /* Shape */
    --r-card: 20px;
    --r-sm:   12px;
    --r-pill: 999px;
    --shadow-sm:  0 1px 2px rgba(16,18,27,0.05);
    --shadow-card: 0 2px 4px rgba(16,18,27,0.04), 0 18px 44px -12px rgba(16,18,27,0.14);
    --shadow-hover: 0 4px 8px rgba(16,18,27,0.05), 0 28px 60px -14px rgba(47,107,255,0.22);
    --shadow-glow: 0 20px 60px -18px rgba(106,91,255,0.45);

    --container: 1200px;
    --container-narrow: 760px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16.5px;
    color: var(--ink-body);
    background:
        radial-gradient(1200px 700px at 82% -6%, rgba(124,92,252,0.10), transparent 62%),
        radial-gradient(1000px 560px at -5% 0%, rgba(47,107,255,0.08), transparent 58%),
        linear-gradient(180deg, #f5f7fe 0%, var(--paper) 760px);
    background-repeat: no-repeat;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; transition: color 0.18s var(--ease); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; margin: 0; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--blue-tint); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
.om-serif { font-family: var(--serif); }
.om-grad {
    font-family: var(--serif);
    font-weight: 400;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    font-style: italic;
    letter-spacing: 0;
}

/* ---------- Eyebrow (mono // label) ---------- */
.om-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
}
.om-eyebrow::before { content: "//"; color: var(--violet); opacity: 0.7; }
.om-eyebrow-pill {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.om-eyebrow-pill::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--grad);
}

/* ---------- Typography scale ---------- */
.om-h1 {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(38px, 5.2vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.032em;
    color: var(--ink);
    text-wrap: balance;
}
.om-h1 .om-grad { font-size: 1.02em; line-height: 0.95; }
.om-h2 {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(29px, 3.4vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.028em;
    color: var(--ink);
    text-wrap: balance;
}
.om-h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.om-lede {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 56ch;
}
/* stacked prose column (e.g. founder story): give the heading and paragraphs room */
.om-prose .om-h2 { margin-bottom: 22px; }
.om-prose .om-lede + .om-lede { margin-top: 18px; }
.om-kicker { /* small serif italic accent line */
    font-family: var(--serif);
    font-style: italic;
    color: var(--violet);
}

/* ---------- Buttons ---------- */
.om-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
    white-space: nowrap;
}
.om-btn svg { transition: transform 0.2s var(--ease); }
.om-btn:hover svg { transform: translateX(3px); }
.om-btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 26px -8px rgba(47,107,255,0.6);
}
.om-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(106,91,255,0.62); }
.om-btn-ghost {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line-strong);
}
.om-btn-ghost:hover { color: var(--ink); border-color: var(--blue); background: var(--blue-tint); }
.om-btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- Nav ---------- */
.site-nav-bar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-wordmark { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-size: 15px; font-weight: 500; color: var(--ink-body);
    padding: 9px 15px; border-radius: 10px; transition: all 0.15s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--paper-warm); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 42px; height: 42px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
}
.nav-mobile-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.25s var(--ease); }
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.nav-mobile-menu.is-open { display: block; }
.nav-mobile-menu .container { padding-top: 18px; padding-bottom: 24px; }
.nav-mobile-menu a { display: block; font-size: 17px; font-weight: 500; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
.nav-mobile-menu .mobile-cta { margin-top: 18px; }
.nav-mobile-menu .mobile-cta .om-btn { width: 100%; justify-content: center; }

/* ---------- Nav dropdowns (mega-menu) ---------- */
.nav-links .has-dropdown { position: relative; }
.nav-trigger {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    font-size: 15px; font-weight: 500; color: var(--ink-body); font-family: var(--sans);
    background: none; border: 0; padding: 9px 15px; border-radius: 10px; transition: all 0.15s var(--ease);
}
.nav-trigger:hover, .has-dropdown:hover .nav-trigger, .has-dropdown:focus-within .nav-trigger { color: var(--ink); background: var(--paper-warm); }
.nav-trigger .chev { transition: transform 0.2s var(--ease); color: var(--ink-faint); }
.has-dropdown:hover .nav-trigger .chev, .has-dropdown:focus-within .nav-trigger .chev, .has-dropdown.is-open .nav-trigger .chev { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: calc(100% + 2px); left: 50%; transform: translate(-50%, 8px);
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-card); padding: 12px; z-index: 50;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* hover bridge */
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown, .has-dropdown.is-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dd-svc { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dd-cases { width: 380px; }
.nav-dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 13px; border-radius: 12px; transition: background 0.14s var(--ease); }
.nav-dd-item:hover { background: var(--paper-warm); }
.nav-dd-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--grad-soft); color: var(--blue-deep); display: grid; place-items: center; margin-top: 1px; }
.nav-dd-ico svg { width: 17px; height: 17px; }
/* Case-study rows reuse the brand tiles from the case-study cards (partials/case-tile.hbs),
   scaled down to match .nav-dd-ico. */
.nav-dd-item .om-case-logo { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; margin-bottom: 0; margin-top: 1px; }
.nav-dd-item .om-case-logo .om-tile-mark { font-size: 17px; }
.nav-dd-item .om-case-logo .om-tile-img { width: 20px; height: 20px; }
.nav-dd-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-dd-item span { font-size: 12.5px; color: var(--ink-muted); line-height: 1.4; }
.nav-dd-foot { margin-top: 6px; padding: 12px 13px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.nav-dd-foot a { font-size: 13.5px; font-weight: 600; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; }
.nav-dd-foot .om-eyebrow { margin: 0; }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, .om-btn:focus-visible, .nav-trigger:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px;
}
.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; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }

/* ---------- Background texture ---------- */
.om-bg-tint { position: relative; }  /* gentle page gradient lives on <body> */
.om-grid::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent 100%);
    mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent 100%);
}

/* ---------- Hero ---------- */
.om-hero { position: relative; padding: 76px 0 84px; overflow: hidden; }
/* The marquee closes out the hero and carries its own breathing room, so the
   hero doesn't need a full pad underneath it. */
.om-hero--ticker { padding-bottom: 44px; }
.om-hero .container { position: relative; z-index: 1; }
/* Gradient behind the first section + cursor-following glow (JS sets --mx/--my in px).
   The glow box matches the hero exactly so the spotlight tracks the cursor 1:1 —
   an inset box would offset and squash it relative to the pointer. */
.om-hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(460px circle at var(--mx, 74%) var(--my, 28%), rgba(74,53,214,0.20), transparent 60%),
        radial-gradient(860px circle at 96% -6%, rgba(31,87,230,0.14), transparent 58%),
        radial-gradient(800px circle at -4% 104%, rgba(109,40,201,0.08), transparent 60%);
}
.om-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.om-hero-title { margin: 20px 0 22px; max-width: 15ch; }
.om-hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-muted); max-width: 40ch; margin-bottom: 30px; }
.om-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.om-trust { margin-top: 26px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.om-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* ---------- Stat card (glassy) ---------- */
.om-statcard {
    background: linear-gradient(180deg, #ffffff, #fbfbff);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-card);
    padding: 30px 32px;
}
.om-statcard .om-eyebrow { margin-bottom: 20px; }
.om-stat-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.om-stat-row:first-of-type { padding-top: 0; }
.om-stat-row:last-child { padding-bottom: 0; border-bottom: 0; }
.om-stat-num {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(40px, 4.4vw, 54px); line-height: 1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    letter-spacing: -0.01em;
}
.om-stat-label { font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; }
.om-stat-label small { color: var(--ink-faint); }
/* Beside a long prose column the card would stretch to match it, leaving dead
   space under the founder block — size it to its own content instead. */
.om-grid-2 > .om-statcard { align-self: start; }
/* The stat row above already ends in a rule — no second border here, or the two
   stack up as a double line under the last stat. */
.om-founder { display: flex; align-items: center; gap: 15px; margin-top: 22px; }
.om-founder-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(31,87,230,0.18); }
.om-founder-name { font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--ink); letter-spacing: -0.015em; }
.om-founder-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.om-section { padding: 96px 0; position: relative; }
.om-section-alt { background: var(--paper-warm); }
.om-section-tight { padding: 64px 0; }
.om-section-head { max-width: 720px; margin-bottom: 56px; }
.om-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.om-section-head .om-lede { margin-top: 20px; }
.om-section-head.center .om-lede { margin-left: auto; margin-right: auto; }

/* ---------- Numbered chapter ---------- */
.om-chapter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.om-num {
    font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 8vw, 104px); line-height: 0.9;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    display: block; margin-bottom: 10px;
}

/* ---------- Cards / claims (services) ---------- */
.om-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.om-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.om-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 30px 30px 32px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.om-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: transparent; }
.om-card-ico {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
    background: var(--grad-soft); color: var(--blue-deep);
}
.om-card-ico svg { width: 22px; height: 22px; }
.om-card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -0.01em; }
.om-card p { font-size: 15px; color: var(--ink-muted); }
.om-card-tag {
    display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--violet); border: 1px dashed var(--line-strong); border-radius: var(--r-pill); padding: 4px 11px;
}

/* ---------- Orbital / flywheel diagram (signature) ---------- */
.om-orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.om-orbit-ring { position: absolute; inset: 8%; border: 1px dashed var(--line-strong); border-radius: 50%; }
.om-orbit-ring.r2 { inset: 22%; border-color: var(--line); }
.om-orbit-spin { position: absolute; inset: 8%; animation: om-spin 46s linear infinite; }
@keyframes om-spin { to { transform: rotate(360deg); } }
.om-orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 40%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
    background: radial-gradient(circle at 50% 35%, #fff, #f3f1ff);
    border: 1px solid var(--line); box-shadow: var(--shadow-glow); padding: 18px;
}
.om-orbit-center .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); margin-bottom: 6px; }
.om-orbit-center .t { font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); }
.om-node {
    position: absolute; transform: translate(-50%,-50%);
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card);
    padding: 13px 15px; width: 190px;
}
.om-node .ni { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-soft); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 9px; }
.om-node .ni svg { width: 16px; height: 16px; }
.om-node strong { display: block; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.om-node span { font-size: 12.5px; color: var(--ink-muted); }
.om-node.n1 { top: 4%;  left: 50%; }
.om-node.n2 { top: 50%; left: 98%; }
.om-node.n3 { top: 96%; left: 50%; }
.om-node.n4 { top: 50%; left: 2%; }

/* ---------- Stack diagram (legacy vs rebuilt) ---------- */
.om-stack { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.om-stack-col { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: var(--paper); }
.om-stack-col.legacy { background: var(--paper-warm); }
.om-stack-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.om-stack-col.rebuilt h4 { color: var(--blue-deep); }
.om-chip { display: flex; align-items: center; gap: 9px; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; margin-bottom: 9px; }
.om-chip:last-child { margin-bottom: 0; }
.legacy .om-chip { background: #fff; border: 1px dashed var(--line-strong); color: var(--ink-muted); }
.rebuilt .om-chip { background: var(--grad-soft); border: 1px solid transparent; color: var(--ink); font-weight: 500; }
.om-stack-arrow { color: var(--violet); }

/* ---------- Steps (offer stack) ---------- */
.om-steps { display: grid; gap: 16px; }
.om-step {
    display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 30px;
    transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.om-step:hover { box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.om-step-n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--violet); opacity: 0.55; }
.om-step h3 { font-size: 21px; margin-bottom: 7px; }
.om-step p { font-size: 15px; color: var(--ink-muted); max-width: 60ch; }
.om-step-price { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; text-align: right; padding-top: 6px; }
.om-step-price span { display: block; color: var(--ink-faint); font-size: 11.5px; margin-top: 3px; }

/* ---------- Case study cards ---------- */
.om-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.om-case {
    position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 28px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
    display: flex; flex-direction: column;
}
.om-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: transparent; }
.om-case-logo { width: 52px; height: 52px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 20px; }
.om-case-logo .om-tile-mark { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1; letter-spacing: -0.01em; color: #fff; }
.om-case-logo .om-tile-img { width: 30px; height: 30px; object-fit: contain; }
/* real brand colors for the case-study tiles */
.om-case-logo[data-brand="glamorise"] { background: #286359; }
.om-case-logo[data-brand="kanahoma"] { background: #284934; }
.om-case-logo[data-brand="contrarian-thinking"] { background: #1F1E1C; }
.om-case-logo[data-brand="contrarian-thinking"] .om-tile-mark { font-size: 20px; letter-spacing: 0.01em; }
.om-case-logo[data-brand="mit-lincoln-laboratory"] { background: #0B1F3A; }
.om-case h3 { font-family: var(--sans); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.om-case p { font-size: 14.5px; color: var(--ink-muted); margin-bottom: 18px; }
.om-case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.om-case-tags a { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 10px; }
.om-case-tags a:hover { color: var(--blue-deep); border-color: var(--blue); }
.om-case-link { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; }
.om-case.is-hidden { display: none; }

/* ---------- Filter chips ---------- */
.om-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.om-chip-btn {
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-muted); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
    padding: 9px 16px; cursor: pointer; transition: all 0.16s var(--ease);
}
.om-chip-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.om-chip-btn.is-active { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- Big quote ---------- */
.om-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.om-quote p { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; color: var(--ink); letter-spacing: -0.01em; }
.om-quote cite { display: block; margin-top: 24px; font-family: var(--mono); font-size: 13px; font-style: normal; color: var(--ink-muted); }
.om-stars { color: #e0a92a; letter-spacing: 3px; margin-bottom: 22px; font-size: 15px; }

/* ---------- Logo row ---------- */
.om-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.om-logos span { font-family: var(--serif); font-size: 26px; color: var(--ink-faint); }

/* ---------- Client logo marquee (brands we've worked with) ---------- */
/* Two rows scrolling opposite ways. Driven by JS (default.hbs) rather than a CSS
   keyframe so the band can pause on hover and be dragged through by hand. */
.om-ticker-band { padding: 30px 0 6px; background: transparent; overflow: hidden; }
.om-hero .om-ticker-band { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.om-ticker-label { text-align: center; justify-content: center; margin-bottom: 22px; color: var(--ink-faint); }
.om-marquee { display: flex; flex-direction: column; gap: 8px; cursor: grab; touch-action: pan-y; }
.om-marquee.is-dragging { cursor: grabbing; }
.om-marquee.is-dragging .om-logo { user-select: none; }
.om-ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.om-ticker-track { display: flex; align-items: center; flex-shrink: 0; width: max-content; will-change: transform; }
.om-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 11px; height: 46px; padding: 0 30px; }
/* Default: flatten to ink. Right for light and white-on-transparent art, which
   would otherwise disappear against the paper background. */
.om-logo img { max-height: 30px; max-width: 158px; width: auto; object-fit: contain; filter: brightness(0) saturate(0); opacity: 0.5; -webkit-user-drag: none; user-drag: none; }
/* Detailed marks — photos, crests, highlight bars, mascots — keep their internal
   structure instead of collapsing into a silhouette. */
.om-logo--tone img { filter: grayscale(1) contrast(1.08) brightness(0.92); opacity: 0.72; }
.om-logo--text { font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; color: var(--ink); opacity: 0.5; white-space: nowrap; }
/* Name beside a bare mark that carries no wordmark of its own. */
.om-logo-name { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; color: var(--ink); opacity: 0.5; white-space: nowrap; }

/* ---------- Marquee ---------- */
.om-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.om-marquee-track { display: flex; gap: 14px; width: max-content; animation: om-marquee 42s linear infinite; }
@keyframes om-marquee { to { transform: translateX(-50%); } }
.om-source { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-size: 14px; color: var(--ink-body); white-space: nowrap; }
.om-source img { width: 20px; height: 20px; }

/* ---------- Compare table ---------- */
.om-compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.om-compare th, .om-compare td { padding: 16px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); color: var(--ink-body); }
.om-compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); background: var(--paper-warm); }
.om-compare td:first-child, .om-compare th:first-child { font-weight: 600; color: var(--ink); }
.om-compare tbody tr:last-child td { border-bottom: 0; }
.om-row-us td { background: var(--grad-soft); color: var(--ink); }
.om-row-us td:first-child { box-shadow: inset 3px 0 0 var(--blue); }

/* ---------- CTA band ---------- */
.om-cta { position: relative; overflow: hidden; background: var(--paper-ink); color: #fff; border-radius: 28px; padding: 72px 40px; text-align: center; }
.om-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -20%, rgba(106,91,255,0.5), transparent 60%), radial-gradient(60% 100% at 100% 120%, rgba(47,107,255,0.35), transparent 60%); }
.om-cta > * { position: relative; z-index: 1; }
.om-cta h2 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.028em; }
.om-cta h2 .om-grad { -webkit-text-fill-color: transparent; }
.om-cta p { color: rgba(255,255,255,0.72); font-size: 18px; max-width: 52ch; margin: 20px auto 34px; }
.om-cta .om-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.om-cta .om-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

/* ---------- Contact / booking ---------- */
.om-sched { background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--r-card); min-height: 420px; display: grid; place-items: center; text-align: center; padding: 32px; }
/* The live embed brings its own white canvas and is resized by form_embed.js —
   no padding or min-height fighting it. */
.om-sched-wrap { max-width: 860px; margin: 0 auto; }
.om-sched--live { background: transparent; border: 0; padding: 0; min-height: 0; display: block; text-align: left; }
.om-sched iframe { display: block; width: 100%; min-height: 700px; border: 0; border-radius: var(--r-card); overflow: hidden; }
.om-contact-fallback { margin-top: 24px; text-align: center; font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Page hero (inner) ---------- */
.om-page-hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.om-page-hero .container { position: relative; z-index: 1; }
.om-page-hero .om-h1 { font-size: clamp(40px, 5.5vw, 72px); }
.om-page-hero .om-lede { margin-top: 22px; }

/* ---------- Blog / post ---------- */
.post-feed .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); position: relative; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card-full-link { position: absolute; inset: 0; z-index: 1; }
.post-card-image { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.post-card-content { padding: 24px; }
.post-card-title { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 10px 0; }
.post-card-excerpt { font-size: 14.5px; color: var(--ink-muted); }
.post-card-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.post-full { padding: 64px 0; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin: 16px 0; }
.post-excerpt { font-size: 20px; color: var(--ink-muted); }
.post-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); display: flex; gap: 12px; align-items: center; }
.post-feature-image { margin: 40px 0; }
.post-feature-image img { border-radius: var(--r-card); }
.post-content { font-size: 17.5px; line-height: 1.75; color: var(--ink-body); }
.post-content h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 44px 0 16px; }
.post-content h3 { font-size: 22px; margin: 32px 0 12px; }
.post-content p { margin-bottom: 22px; }
.post-content a { text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 22px; padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--blue); padding-left: 22px; margin: 28px 0; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.post-content img { border-radius: var(--r-card); margin: 24px 0; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 40px 0 28px; }
.post-tags .tags-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.post-tags .tag-link { font-size: 13px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 12px; color: var(--ink-body); }
.post-share-cta { margin-top: 8px; }
.tag-header { padding: 72px 0 32px; }
.tag-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); }
.tag-description { font-size: 18px; color: var(--ink-muted); margin-top: 12px; }
.tag-count { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); margin-top: 10px; }
.author-avatar-placeholder { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--serif); }
.pagination { display: flex; justify-content: center; gap: 16px; padding: 48px 0; font-family: var(--mono); font-size: 13px; }
.error-page { padding: 140px 0; text-align: center; }
.error-code { font-family: var(--serif); font-size: 120px; color: var(--violet); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-warm); border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-wordmark { height: 24px; margin-bottom: 16px; }
.footer-desc { font-size: 14.5px; color: var(--ink-muted); max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: var(--ink-body); }
.footer-col a:hover { color: var(--blue-deep); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Global anti-overflow guards */
html { overflow-x: hidden; }
.om-hero-grid > *, .om-grid-2 > *, .om-grid-3 > *, .om-cases > *, .om-chapter-grid > *, .om-steps > *, .om-statcard { min-width: 0; }
.om-h1, .om-h2, .om-hero-sub, .om-lede, .om-stat-num, .om-node strong { overflow-wrap: break-word; }
.om-compare-wrap { overflow-x: auto; }

@media (max-width: 900px) {
    .om-hero-grid, .om-chapter-grid { grid-template-columns: 1fr; gap: 40px; }
    .om-grid-2, .om-grid-3, .om-cases { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-cta-desktop { display: none; }
    .nav-mobile-toggle { display: flex; }
    .om-stack { grid-template-columns: 1fr; }
    .om-stack-arrow { transform: rotate(90deg); justify-self: center; }
    .om-step { grid-template-columns: auto 1fr; }
    .om-step-price { grid-column: 2; text-align: left; padding-top: 4px; }
    /* Orbit → simple stacked layout on small screens (nodes can't fit a ring) */
    .om-orbit { max-width: none; aspect-ratio: auto; display: grid; gap: 12px; }
    .om-orbit-ring, .om-orbit-spin { display: none; }
    .om-orbit-center { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 16px; margin-bottom: 4px; box-shadow: var(--shadow-card); }
    .om-node { position: static; transform: none; width: auto; display: flex; align-items: center; gap: 12px; }
    .om-node .ni { margin-bottom: 0; }
}
@media (max-width: 560px) {
    .container, .container-narrow { padding: 0 20px; }
    .om-section { padding: 60px 0; }
    .om-hero { padding: 44px 0 32px; }
    .om-h1 { font-size: 33px; letter-spacing: -0.02em; }
    .om-h1 .om-grad { font-size: 1em; }
    .om-h2 { font-size: 26px; letter-spacing: -0.02em; }
    .om-hero-sub { font-size: 16px; }
    .om-statcard { padding: 24px 20px; }
    .om-stat-num { font-size: 32px; }
    .om-trust { font-size: 11px; }
    .om-cta { padding: 48px 22px; border-radius: 20px; }
    .om-cta p { font-size: 16px; }
    .om-hero-actions .om-btn { width: 100%; justify-content: center; }
    .om-section-head { margin-bottom: 40px; }
}
