@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600;700&display=swap');
/* FH Lecturis — local display face for headlines + wordmark */
@font-face {
    font-family: 'FH Lecturis';
    src: url('/fh-lecturis-font-family/fhlecturistest-light.otf') format('opentype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'FH Lecturis';
    src: url('/fh-lecturis-font-family/fhlecturistest-regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'FH Lecturis';
    src: url('/fh-lecturis-font-family/fhlecturistest-bold.otf') format('opentype');
    font-weight: 700; font-style: normal; font-display: swap;
}
/* ---- Shared top bar (identical on every page) ---- */
.topbar { position: sticky; top: 0; z-index: 200; height: 64px; min-height: 64px; display: flex; align-items: center; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); border-bottom: 1px solid #e6e6e6; padding: 0; }
.topbar .row { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .topbar .row { padding: 0 20px; } }
.topbar .brand { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 9px; color: #131313; text-decoration: none; }
.topbar .brand svg { width: 20px; height: 20px; color: #131313; }
.topbar .tnav { display: flex; align-items: center; gap: 22px; }
.topbar .tnav a { font-size: 14.5px; color: #585858; font-weight: 500; text-decoration: none; }
.topbar .tnav a:hover { color: #131313; }
.topbar .tnav a.tbtn { background: #131313; color: #fff; padding: 9px 17px; border-radius: 0; }
.topbar .tnav a.tbtn:hover { color: #fff; }
/* Mobile hamburger + dropdown menu (built by site.js) */
.tnav-toggle { display: none; width: 40px; height: 40px; border: 1px solid #e6e6e6; border-radius: 0; background: #fff; position: relative; cursor: pointer; padding: 0; flex: 0 0 auto; }
.tnav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #131313; border-radius: 0; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.tnav-toggle span:nth-child(1) { top: 13px; } .tnav-toggle span:nth-child(2) { top: 19px; } .tnav-toggle span:nth-child(3) { top: 25px; }
.tnav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tnav-toggle.open span:nth-child(2) { opacity: 0; }
.tnav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.tmenu { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 190; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); border-bottom: 1px solid #e6e6e6; flex-direction: column; padding: 8px 22px 20px; }
.tmenu.open { display: flex; }
.tmenu a { padding: 14px 4px; font-size: 16px; color: #131313; border-bottom: 1px solid #efefef; font-weight: 500; text-decoration: none; }
.tmenu a.tbtn { margin-top: 14px; background: #131313; color: #fff; text-align: center; border: none; border-radius: 0; padding: 14px; }
@media (max-width: 760px) { .topbar .tnav { display: none; } .tnav-toggle { display: block; } }

/* ---- Shared footer = the "Tell me your idea" contact section (ONE source, all pages) ---- */
.sitefoot { position: relative; overflow: hidden; text-align: center; padding: 112px 0 70px; background: #f6f6f6; border-top: 1px solid #e6e6e6; }
.sitefoot .sf-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.sitefoot .sf-eyebrow { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #a20000; display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.sitefoot .sf-eyebrow::before { display: none; }
.sitefoot .sf-title { font-family: 'Geist', sans-serif; font-weight: 600; font-style: italic; font-size: clamp(30px, 5vw, 52px); letter-spacing: -0.02em; margin: 16px 0 20px; color: #131313; }
.sitefoot .sf-sub { color: #585858; font-size: 16.5px; line-height: 1.7; max-width: 600px; margin: 0 auto 32px; }
.sitefoot .sf-sub em { color: #131313; font-style: normal; }
.sitefoot .sf-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sitefoot .sf-btn { background: #131313; color: #fff; font-weight: 600; font-size: 14.5px; padding: 12px 22px; border-radius: 0; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.sitefoot .sf-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 10, 10,.25); }
.sitefoot .sf-btn.ghost { background: #fff; color: #131313; border: 1px solid #e6e6e6; }
.sitefoot .sf-links { margin-top: 38px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; }
.sitefoot .sf-links a { color: #585858; text-decoration: none; }
.sitefoot .sf-links a:hover { color: #a20000; }
.sitefoot .sf-copy { margin-top: 30px; font-family: 'Geist Mono', monospace; font-size: 12px; color: #8c8c8c; }
.sf-candles { position: absolute; left: 0; right: 0; height: 100px; z-index: 0; pointer-events: none; }
.sf-candles.top { top: 0; } .sf-candles.bot { bottom: 0; }
.sf-candles b { position: absolute; display: block; border-radius: 0; opacity: .6; animation: sfTwinkle 3.4s ease-in-out infinite; }
.sf-candles .g { background: #d00000; } .sf-candles .p { background: #c7c7c5; } .sf-candles .f { background: #efefef; }
.sf-candles b:nth-child(2n) { animation-delay: -1.1s; } .sf-candles b:nth-child(3n) { animation-delay: -2.2s; } .sf-candles b:nth-child(4n) { animation-delay: -.6s; }
@keyframes sfTwinkle { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-7px); opacity: 1; } }
@media (max-width: 760px) { .sf-candles { display: none; } .sitefoot { padding: 72px 0 56px; } }

/* Green highlight on link hover (matches the blog rows) */
.topbar .tnav { gap: 6px; }
.topbar .tnav a.tlink { padding: 8px 12px; transition: background .16s, color .16s; }
.topbar .tnav a.tlink:hover { background: #d00000; color: #ffffff; }
.tmenu a:not(.tbtn) { transition: background .16s, color .16s; }
.tmenu a:not(.tbtn):hover { background: #d00000; color: #ffffff; }
.sitefoot .sf-nav a, .sitefoot .sf-links a { padding: 5px 9px; transition: background .16s, color .16s; }
.sitefoot .sf-nav a:hover, .sitefoot .sf-links a:hover { background: #d00000; color: #ffffff; }

.topbar .tnav a.tbtn { margin-left: 8px; }


/* ===== TITLE → FH Lecturis (the ONE main title per page: hero, blog, footer, contact) ===== */
.hero-h, .bhero h1, .sf-title, .contact-title {
    font-family: 'FH Lecturis', 'Geist', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;   /* natural casing — FH Lecturis has design in lowercase too */
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}
/* ===== HEADINGS + SUB-HEADINGS → Geist (section titles, post titles, all h1–h6) ===== */
h1, h2, h3, h4, h5, h6, .section-title, .ptitle, .felt .line {
    font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
}
/* Large editorial headlines: tight leading */
.hero-h, .contact-title, .sf-title, .bhero h1 { letter-spacing: -0.005em !important; }

/* =====================================================================
   REFRESH 2026 — professional polish, rounded controls, brand wordmark
   (loaded after page inline <style>, so these win the cascade site-wide)
   ===================================================================== */

/* ---- Global mobile safety: never allow horizontal scroll ---- */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; }
* { -webkit-tap-highlight-color: transparent; }

/* ---- Rounded top-bar controls ---- */
.topbar .tnav a.tbtn,
.tmenu a.tbtn { border-radius: 10px; }
.tnav-toggle { border-radius: 10px; }
.tnav-toggle span { border-radius: 2px; }
.topbar .tnav a.tlink { border-radius: 8px; }
.tmenu a:not(.tbtn) { border-radius: 8px; }

/* ---- Rounded footer buttons ---- */
.sitefoot .sf-btn { border-radius: 10px; }
.sitefoot .sf-nav a, .sitefoot .sf-links a { border-radius: 8px; }

/* ---- Rounded buttons & interactive controls (page inline components) ---- */
.btn,
.btn-primary,
.btn-ghost,
.offer-cta,
.pvc-btn,
.mg2-run,
.inrow button,
.inrow input,
.handoff button,
.handoff input,
.sbx-seg button,
.mg2-pick button,
.sbx-mig-pick button,
.d-model {
    border-radius: 10px !important;
}

/* pills, chips & tags */
.chip,
.qchip,
.proj-tag,
.hd-cta,
.va-chips button,
.va-chip,
#playground .qchips button {
    border-radius: 999px !important;
}

/* small tech tags — round to match the pill language */
.proj-tech span { border-radius: 6px !important; }

/* website-builder toggle switch — make it read like a real switch */
.wbrow .sw { border-radius: 999px !important; }
.wbrow .sw::after { border-radius: 50% !important; }

/* trim the playground chat window's empty space on small screens */
@media (max-width: 720px) {
    .pg-chat { min-height: 320px; }
    .pg-stream { max-height: 320px; }
}

/* ---- Soften standalone panels / shells (not the shared-border grids) ---- */
.demo-shell,
.va-shell,
.pg-shell,
.sbx-stage,
.pvc,
.hint,
.answer,
.q-bar,
.console {
    border-radius: 16px !important;
    overflow: hidden;
}
.sbx-tabs { border-radius: 12px 12px 0 0; }
.sbx-stage { border-radius: 0 0 12px 12px !important; }

/* ---- Nav: highlight the current page ---- */
.topbar .tnav a.tlink[aria-current="page"] { background: #d00000; color: #ffffff; }

/* ---- Live-demo call-to-action band (home) ---- */
.dcta { max-width: 720px; margin: 0 auto; text-align: center; }
.dcta .section-title { margin-top: 16px; }
.dcta .section-sub { margin-left: auto; margin-right: auto; max-width: 640px; }
.dcta .hero-cta { justify-content: center; margin-top: 28px; }

/* ---- Simulator page hero ---- */
.sim-hero { padding: 46px 0 40px !important; }
.sim-hero-in { max-width: 760px; }
.sim-hero .hero-h { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 18px; }
.sim-hero .hero-lead { max-width: 660px; margin-bottom: 26px; }
.sim-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-jump a {
    font-family: 'Geist Mono', monospace;
    font-size: 12.5px;
    color: #131313;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.sim-jump a:hover { background: #d00000; border-color: #d00000; color: #ffffff; transform: translateY(-2px); }

/* =====================================================================
   Brand-letter wordmark — each letter styled after a famous brand
   ===================================================================== */
.namemark {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.01em;
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.012em;
    font-size: clamp(46px, 9vw, 96px);
    margin: 4px 0 20px;
}
.namemark .sp { width: 0.34em; }
.namemark .nl {
    position: relative;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(.16,1,.3,1);
    will-change: transform;
}
.namemark .nl:hover { transform: translateY(-8px) rotate(-3deg); }
.namemark .nl::after {
    content: attr(data-b);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%) translateY(4px) scale(.85);
    transform-origin: bottom center;
    background: #131313;
    color: #fff;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .3px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s, transform .16s;
    z-index: 5;
}
.namemark .nl:hover::after { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.namemark-cap {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9aa1ab;
    margin: 0 0 22px;
}
/* brand palettes */
.b-mcd       { color: #FFBC0D; }
.b-oreo      { color: #0A3D91; }
.b-honda     { color: #CC0000; }
.b-spotify   { color: #1DB954; }
.b-nintendo  { color: #E60012; }
.b-airbnb    { color: #FF5A5F; }
.b-reddit    { color: #FF4500; }
.b-intel     { color: #0071C5; }
.b-facebook  { color: #1877F2; }
.b-insta {
    background: linear-gradient(45deg, #f09433 5%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (prefers-reduced-motion: reduce) {
    .namemark .nl { transition: none; }
    .namemark .nl:hover { transform: none; }
}
@media (max-width: 380px) {
    .namemark { font-size: 42px; }
}
/* compact navbar variant — sits next to the logo mark */
.topbar .brand { gap: 8px; }
.namemark.nav {
    font-size: 19px;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.01em;
    flex-wrap: nowrap;
}
.namemark.nav .sp { width: 0.24em; }
.namemark.nav .nl { transition: none; }
.namemark.nav .nl:hover { transform: none; }
.namemark.nav .nl::after { content: none; display: none; }
@media (max-width: 420px) { .namemark.nav { font-size: 17px; } }


/* ============================================================
   LIQUID GLASS LAYER (shared core) — Apple-style frosted UI.
   Appended last so it wins the cascade; unmatched selectors
   are inert, so this is safe to drop into any portfolio page.
   ============================================================ */
:root {
    --glass:        rgba(255, 255, 255, 0.55);
    --glass-strong: rgba(255, 255, 255, 0.72);
    --glass-dim:    rgba(255, 255, 255, 0.38);
    --hair:         rgba(15, 45, 30, 0.10);
    --hair-soft:    rgba(15, 45, 30, 0.06);
    --lightcatch:   inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    --glass-shadow:    0 2px 10px rgba(15, 45, 30, 0.05), 0 14px 40px -12px rgba(15, 45, 30, 0.14);
    --glass-shadow-lg: 0 4px 18px rgba(15, 45, 30, 0.07), 0 30px 70px -20px rgba(15, 45, 30, 0.20);
    --r: 18px; --r-sm: 13px; --r-lg: 26px;
    --blur: saturate(180%) blur(22px);
}
body {
    background:
        radial-gradient(1200px 620px at 50% -18%, rgba(0,0,0,0.16), transparent 60%),
        linear-gradient(180deg, #fbfffc 0%, #f4f8f6 100%);
}
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(46% 42% at 12% 18%, rgba(0,0,0,0.20), transparent 62%),
        radial-gradient(40% 40% at 88% 12%, rgba(120,200,255,0.16), transparent 64%),
        radial-gradient(50% 46% at 82% 82%, rgba(0,0,0,0.16), transparent 66%),
        radial-gradient(42% 42% at 22% 90%, rgba(180,160,255,0.12), transparent 64%);
    filter: blur(8px);
    animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,-16px,0) scale(1.06); } }

section .wrap, footer .wrap, header .wrap, main .wrap { border-left: none; border-right: none; }
section { border-top-color: var(--hair-soft); }

/* Glass nav */
#nav.scrolled, nav.scrolled {
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 8px 30px -14px rgba(15,45,30,0.25);
}
.mobile-menu {
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--hair);
}

/* Buttons */
.btn, .offer-cta { border-radius: 12px; }
.btn-primary, .offer-cta {
    background: linear-gradient(180deg, #1a1a1a, #050505);
    box-shadow: var(--lightcatch), 0 8px 22px -10px rgba(10,10,10,0.5);
}
.btn-ghost {
    background: var(--glass); border-color: var(--hair);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: var(--lightcatch), 0 6px 18px -12px rgba(15,45,30,0.3);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--glass-strong); }

/* Cards → floating frosted tiles */
.card {
    border-style: solid !important; border-color: var(--hair) !important;
    border-radius: var(--r); background: var(--glass);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: var(--lightcatch), var(--glass-shadow);
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, background .3s, border-color .3s;
}
.card:hover {
    background: var(--glass-strong); border-color: rgba(0,0,0,0.4) !important;
    transform: translateY(-4px); box-shadow: var(--lightcatch), var(--glass-shadow-lg);
}

/* Chips + eyebrow → frosted pills */
.chip { border-radius: 999px; background: var(--glass) !important;
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: var(--lightcatch), 0 4px 12px -8px rgba(15,45,30,0.25); }
.chip:hover { border-color: var(--accent-line) !important; background: var(--glass-strong) !important; }
.eyebrow { border-radius: 999px; }

/* Inputs → soft rounded glass */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], textarea, select {
    border-radius: 12px !important; border: 1px solid var(--hair) !important; background: var(--glass) !important;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, textarea:focus, select:focus {
    border-color: var(--accent-line) !important; background: var(--glass-strong) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .card, .btn-ghost, .chip { background: rgba(255,255,255,0.92) !important; }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }


/* ---- Secondary-page card grids → rounded frosted panels ---- */
.prin-grid, .svc-row, .stripgrid, .steps,
.stats, .get-grid, .pipe, .fgrid, .ucgrid, .stack {
    border-radius: var(--r) !important;
    border: 1px solid var(--hair) !important;
    background: var(--glass);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: var(--lightcatch), var(--glass-shadow);
    overflow: hidden;
}
.prin, .svc-copy, .svc-side, .stripgrid > *, .steps > *,
.stat, .get, .pstep, .fcard, .stk, .uc, .pipe > * {
    border-style: solid !important;
    border-color: var(--hair) !important;
    background: transparent !important;
}
.svc-side { background: rgba(255,255,255,0.28) !important; }
.prin:hover, .get:hover, .stat:hover, .fcard:hover, .stk:hover,
.pstep:hover, .svc-side:hover { background: var(--glass-strong) !important; }
.stg { border-radius: 8px !important; }

/* ---- Shared demo components (simulator mirrors the homepage) ---- */
.console, .demo-shell, .mg2-shell,
.sbx-stage, .sbx-tabs, .sbx-two, .sbx-q, .sbx-wb {
    border-style: solid !important; border-color: var(--hair) !important;
    border-radius: var(--r); background: var(--glass);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: var(--lightcatch), var(--glass-shadow); overflow: hidden;
}
.kb-chunk, .kb-src, .bubble {
    border-radius: 12px; border-style: solid !important; border-color: var(--hair) !important;
    background: var(--glass) !important;
}
.sbx-seg button, .sbx-mig-pick button, .mg2-pick button { border-style: solid !important; border-radius: 10px; }
.qchip, .proj-tech span { border-radius: 999px; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .prin-grid, .svc-row, .stats, .get-grid, .fgrid, .ucgrid, .stack, .pipe,
    .console, .demo-shell, .mg2-shell, .sbx-stage, .sbx-tabs { background: rgba(255,255,255,0.92) !important; }
}


/* =====================================================================
   TRAIL-OF-BITS LAYER — Swiss Technical Editorial × Retro 1-Bit Computing
   Appended LAST so it wins the cascade. Neutralizes the liquid-glass
   theme above: flat off-white paper, solid 1px hairlines, zero radius,
   no shadows, no backdrop blur, monospace metadata, tiny red accents.
   ===================================================================== */
:root {
    --tob-bg: #ffffff;      /* canvas — page background */
    --tob-surface: #f2f2f2; /* surface — cards and panels */
    --tob-soft: #f1f2f2;    /* surface-muted — insets, hover, subtle fills */
    --tob-line: #ebebeb;    /* line — hairline border */
    --tob-line-2: #dbdbdb;  /* line-strong — emphasis border */
    --tob-ink: #131313;     /* sidebar — dark surfaces */
    --tob-text: #181717;    /* ink — primary text and marks */
    --tob-muted: #4a4b4d;   /* ink-muted — secondary text */
    --tob-faint: #4f4f4f;   /* ink-soft — labels and metadata */
    --tob-red: #d00000;     /* accent */
    --tob-red-ink: #a20000; /* accent-strong */
    /* neutralize the inherited glass tokens */
    --glass: #FFFFFF;
    --glass-strong: #FFFFFF;
    --glass-dim: #FFFFFF;
    --hair: #ebebeb;
    --hair-soft: #f1f2f2;
    --lightcatch: none;
    --glass-shadow: none;
    --glass-shadow-lg: none;
    --r: 0px; --r-sm: 0px; --r-lg: 0px;
    --blur: none;
    --accent: #d00000;
    --accent-strong: #a20000;
    --accent-soft: #fbe6e6;
    --accent-line: #f2cccc;
    --shadow: none;
    --shadow-lg: none;
}

/* ---- Flat paper background; kill the animated green/blue mesh ---- */
body {
    background: var(--tob-bg) !important;
    color: var(--tob-text);
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif !important;  /* content → Geist */
}
body::before { display: none !important; content: none !important; }

/* ---- No shadows, no blur anywhere ---- */
*, *::before, *::after {
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    text-shadow: none !important;
}

/* ---- Everything square: the interface is constructed, not decorated ---- */
.btn, .btn-primary, .btn-ghost, .offer-cta, .pvc-btn, .mg2-run,
.inrow button, .inrow input, .handoff button, .handoff input,
.sbx-seg button, .mg2-pick button, .sbx-mig-pick button, .d-model,
.chip, .qchip, .proj-tag, .hd-cta, .va-chips button, .va-chip,
#playground .qchips button, .proj-tech span, .eyebrow,
.card, .console, .demo-shell, .va-shell, .pg-shell, .sbx-stage,
.pvc, .hint, .answer, .q-bar, .sbx-tabs, .mg2-shell, .sbx-two,
.sbx-q, .sbx-wb, .kb-chunk, .kb-src, .bubble, .prin-grid, .svc-row,
.stripgrid, .steps, .stats, .get-grid, .pipe, .fgrid, .ucgrid, .stack,
.sitefoot .sf-btn, .topbar .tnav a.tbtn, .tmenu a.tbtn, .tnav-toggle,
.topbar .tnav a.tlink, .tmenu a:not(.tbtn), .sim-jump a, .stg,
input[type="text"], input[type="email"], input[type="url"],
input[type="tel"], input[type="search"], textarea, select {
    border-radius: 0 !important;
}
.tnav-toggle span { border-radius: 0 !important; }

/* ---- Solid hairline surfaces on the shared/glass panels ----
   (.card is excluded: it carries only right/bottom borders to form the
   shared-grid seams; forcing a full border would double the seams.) */
.console, .demo-shell, .va-shell, .pg-shell, .sbx-stage, .pvc,
.hint, .answer, .q-bar, .sbx-tabs, .mg2-shell, .sbx-two, .sbx-q, .sbx-wb,
.prin-grid, .svc-row, .stripgrid, .steps, .stats, .get-grid, .pipe,
.fgrid, .ucgrid, .stack, .kb-chunk, .kb-src, .bubble {
    background: var(--tob-surface) !important;
    border: 1px solid var(--tob-line) !important;
}
.card { background: var(--tob-surface) !important; border-color: var(--tob-line) !important; }
.alt, .sitefoot { background: var(--tob-soft) !important; }

/* ---- Buttons: flat, grid-aligned, invert on hover (no lift/glow) ---- */
.btn, .btn-primary, .btn-ghost, .offer-cta, .sitefoot .sf-btn {
    background: var(--tob-ink) !important;
    color: #fff !important;
    border: 1px solid var(--tob-ink) !important;
    font-family: 'Geist', sans-serif !important;
    font-weight: 500 !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease !important;
}
.btn:hover, .btn-primary:hover, .offer-cta:hover, .sitefoot .sf-btn:hover {
    transform: none !important;
    background: #fff !important;
    color: var(--tob-ink) !important;
    border-color: var(--tob-ink) !important;
}
.btn-ghost, .sitefoot .sf-btn.ghost {
    background: #fff !important;
    color: var(--tob-ink) !important;
    border: 1px solid var(--tob-line) !important;
}
.btn-ghost:hover, .sitefoot .sf-btn.ghost:hover {
    transform: none !important;
    border-color: var(--tob-ink) !important;
    background: #fff !important;
}

/* ---- Cards / panels: state change on hover = border goes black, no motion ---- */
.card:hover, .proj:hover, .offer:hover, .care:hover, .prin:hover,
.get:hover, .stat:hover, .fcard:hover, .stk:hover, .pstep:hover {
    transform: none !important;
    background: var(--tob-surface) !important;
    border-color: var(--tob-ink) !important;
}

/* ---- Chips & pills: flat outline, red technical dot ---- */
.chip {
    background: #fff !important;
    border: 1px solid var(--tob-line) !important;
    font-family: 'Geist', sans-serif !important;
}
.chip:hover { border-color: var(--tob-ink) !important; transform: none !important; }
.eyebrow, .sf-eyebrow, .kb-h, .sbx-lbl, .sbx-lead, .role-line,
.proj-tag, .lbl, .disclaimer, .namemark-cap {
    font-family: 'Geist Mono', monospace !important;
}

/* ---- Metadata voice: eyebrows are red, uppercase, tracked ---- */
.eyebrow, .sf-eyebrow { color: var(--tob-red-ink) !important; letter-spacing: .12em !important; }

/* ---- Nav / footer link hover: invert to ink, not red flood ---- */
.topbar .tnav a.tlink:hover,
.topbar .tnav a.tlink[aria-current="page"],
.tmenu a:not(.tbtn):hover,
.sitefoot .sf-nav a:hover, .sitefoot .sf-links a:hover {
    background: var(--tob-ink) !important;
    color: #fff !important;
}
.sim-jump a:hover { background: var(--tob-ink) !important; border-color: var(--tob-ink) !important; color: #fff !important; transform: none !important; }

/* ---- Monochrome brand wordmark (kill the rainbow brand-letters) ---- */
.namemark .nl, .b-mcd, .b-oreo, .b-honda, .b-spotify, .b-nintendo,
.b-airbnb, .b-reddit, .b-intel, .b-facebook {
    color: var(--tob-ink) !important;
    -webkit-text-fill-color: var(--tob-ink) !important;
    background: none !important;
}
.b-insta { color: var(--tob-ink) !important; -webkit-text-fill-color: var(--tob-ink) !important; background: none !important; }
/* Wordmark: "Mohsin" black, "Arif" red */
.namemark .b-airbnb, .namemark .b-reddit, .namemark .b-intel, .namemark .b-facebook {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

/* ---- Decorative block dividers → monochrome, one red tick ---- */
.blockline .g, .candles .g, .sf-candles .g { background: var(--tob-ink) !important; }
.blockline .p, .candles .p, .sf-candles .p { background: #c9c9c7 !important; }
.blockline .f, .candles .f, .sf-candles .f { background: #e4e4e2 !important; }

/* ---- De-italicize footer title ---- */
.sitefoot .sf-title { font-style: normal !important; }

/* ---- Engineering graph-paper on alt / footer bands (very subtle) ---- */
.alt, .sitefoot {
    background-image:
        linear-gradient(#00000008 1px, transparent 1px),
        linear-gradient(90deg, #00000008 1px, transparent 1px) !important;
    background-size: 14px 14px !important;
    background-color: var(--tob-soft) !important;
}

/* ---- Section-heading eyebrows: no leading dash/line (site-wide) ---- */
.eyebrow::before, .sf-eyebrow::before, .bhero .eyebrow::before { display: none !important; content: none !important; }
.eyebrow, .sf-eyebrow { gap: 0 !important; }

/* ---- Mobile safety: headings/titles always wrap, never overflow ---- */
@media (max-width: 640px) {
  h1, h2, h3, h4, .hero-h, .section-title, .bhero h1, .sf-title,
  .contact-title, .ptitle, .felt .line { overflow-wrap: break-word; }
}

/* ============================================================
   CUT DISPLAY TYPE — only D f e t p get a notch, each on its
   own stroke (D on its straight stem, etc.). Letters are wrapped
   by site.js; a per-letter SVG mask punches a real transparent cut.
   ============================================================ */
.cutword { white-space: nowrap; }
.cut { display: inline-block; line-height: 1; vertical-align: baseline;
       -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
       -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.cut-D { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%279%27%20y%3D%2743%27%20width%3D%2718%27%20height%3D%2711%27%20fill%3D%27black%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%279%27%20y%3D%2743%27%20width%3D%2718%27%20height%3D%2711%27%20fill%3D%27black%27/%3E%3C/svg%3E"); }
.cut-f { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2731%27%20y%3D%2747%27%20width%3D%2727%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2731%27%20y%3D%2747%27%20width%3D%2727%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); }
.cut-e { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2728%27%20y%3D%2754%27%20width%3D%2740%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2728%27%20y%3D%2754%27%20width%3D%2740%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); }
.cut-t { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2732%27%20y%3D%2755%27%20width%3D%2727%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2732%27%20y%3D%2755%27%20width%3D%2727%27%20height%3D%2710%27%20fill%3D%27black%27/%3E%3C/svg%3E"); }
.cut-p { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2715%27%20y%3D%2757%27%20width%3D%2719%27%20height%3D%2712%27%20fill%3D%27black%27/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%20preserveAspectRatio%3D%27none%27%3E%3Crect%20width%3D%27100%27%20height%3D%27100%27%20fill%3D%27white%27/%3E%3Crect%20x%3D%2715%27%20y%3D%2757%27%20width%3D%2719%27%20height%3D%2712%27%20fill%3D%27black%27/%3E%3C/svg%3E"); }

/* ============================================================
   PIXEL WORDMARK — dot-matrix "Mohsin Arif" that assembles into
   place (navbar + chat header). Built by site.js.
   ============================================================ */
/* The pixel wordmark IS the final display: dots scatter, then assemble
   and stay. A visually-hidden text copy keeps it accessible. */
.pxwrap { position: relative; display: inline-flex; align-items: center; }
.pxsr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pxmark { position: relative; display: inline-block; line-height: 0; color: currentColor; }
.pxmark i { position: absolute; display: block; background: currentColor; opacity: .5;
    transition: transform .72s cubic-bezier(.16,1,.3,1), opacity .5s ease; }
.pxmark.on i { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .pxmark i { transition: none; } }

/* ============================================================
   CHAT WIDGET → flat Trail-of-Bits aesthetic (index + simulator).
   site.css loads after the page inline styles, so these win.
   ============================================================ */
#cw-launch { border-radius: 0 !important; background: var(--tob-ink) !important; box-shadow: none !important; animation: none !important; }
#cw-launch:hover { transform: none !important; background: var(--tob-red) !important; }
#cw-dot { border-radius: 0 !important; background: var(--tob-red) !important; box-shadow: 0 0 0 3px var(--tob-bg) !important; }
#cw-panel { border-radius: 0 !important; border: 1px solid var(--tob-ink) !important; box-shadow: none !important; }
.cw-head { background: var(--tob-ink) !important; padding: 13px 14px !important; gap: 11px !important; }
.cw-head::after { display: none !important; }
.cw-hav { border-radius: 0 !important; background: rgba(255,255,255,.12) !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; width: 34px !important; height: 34px !important; }
.cw-hav svg { width: 20px !important; height: 20px !important; }
.cw-htext b { font-family: 'Geist Mono', monospace !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: .02em !important; }
.cw-htext span { font-family: 'Geist Mono', monospace !important; font-size: 9.5px !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: rgba(255,255,255,.72) !important; font-weight: 500 !important; margin-top: 3px; }
.cw-htext span::before { border-radius: 0 !important; background: var(--tob-red) !important; box-shadow: none !important; width: 6px !important; height: 6px !important; }
.cw-hx { border-radius: 0 !important; background: rgba(255,255,255,.12) !important; }
.cw-hx:hover { background: var(--tob-red) !important; }
.cw-body { background: var(--tob-bg) !important;
    background-image: linear-gradient(#00000008 1px, transparent 1px), linear-gradient(90deg, #00000008 1px, transparent 1px) !important;
    background-size: 14px 14px !important; }
.cw-msg { border-radius: 0 !important; box-shadow: none !important; }
.cw-msg.bot { background: #fff !important; border: 1px solid var(--tob-line) !important; border-left: 2px solid var(--tob-red) !important; color: var(--tob-text) !important; }
.cw-msg.me { background: var(--tob-ink) !important; color: #fff !important; }
.cw-hist { border-radius: 0 !important; font-family: 'Geist Mono', monospace !important; box-shadow: none !important; }
.cw-typing { border-radius: 0 !important; border: 1px solid var(--tob-line) !important; background: #fff !important; box-shadow: none !important; }
.cw-typing i { border-radius: 0 !important; background: var(--tob-red) !important; }
.cw-chips { padding: 8px 14px 4px !important; }
.cw-chip { border-radius: 0 !important; border: 1px solid var(--tob-line) !important; background: #fff !important;
    font-family: 'Geist Mono', monospace !important; font-weight: 500 !important; color: var(--tob-ink) !important; }
.cw-chip:hover { background: var(--tob-ink) !important; color: #fff !important; border-color: var(--tob-ink) !important; transform: none !important; }
.cw-lead { border-radius: 0 !important; border: 1px solid var(--tob-line) !important; box-shadow: none !important; }
.cw-lead input, .cw-lead textarea, .cw-foot input { border-radius: 0 !important; background: #fff !important; border: 1px solid var(--tob-line) !important; font-family: 'Geist', sans-serif !important; }
.cw-lead input:focus, .cw-lead textarea:focus, .cw-foot input:focus { border-color: var(--tob-ink) !important; }
.cw-lead-send { border-radius: 0 !important; background: var(--tob-ink) !important; box-shadow: none !important; }
.cw-lead-send:hover:not(:disabled) { transform: none !important; background: var(--tob-red) !important; filter: none !important; }
.cw-foot { border-top: 1px solid var(--tob-line) !important; }
.cw-send { border-radius: 0 !important; background: var(--tob-ink) !important; box-shadow: none !important; }
.cw-send:hover { transform: none !important; background: var(--tob-red) !important; filter: none !important; }
