.workstation-:root,
[data-theme=dark] {
    --bg-page: #09090b;
    --bg-surface: #121215;
    --bg-card: #18181b;
    --bg-card-hover: #202024;
    --bg-subtle: #27272a;
    --border-subtle: #27272a;
    --border-medium: #3f3f46;
    --border-active: #ffffff;
    --text-main: #fafafa;
    --text-body: #d4d4d8;
    --text-muted: #a1a1aa;
    --text-faint: #94949e;
    --btn-bg: #ffffff;
    --btn-text: #09090b;
    --btn-hover: #e4e4e7;
    --badge-bg: #27272a;
    --badge-text: #f4f4f5;
    --input-bg: #121215;
    --modal-backdrop: rgba(0, 0, 0, .85);
    --header-bg: rgba(9, 9, 11, .85);
    --brand-accent: #f4f4f5;
    --brand-accent-glow: rgba(244, 244, 245, .16);
    --accent-primary: #f4f4f5;
    --terminal-accent: #f4f4f5;
    --terminal-command: #fafafa;
    --terminal-key: #a1a1aa;
    --terminal-value: #e4e4e7;
    --nav-inactive: #a1a1aa;
    --nav-inactive-num: #8e8e98;
    --nav-active-text: #fafafa;
    --accent-dot: #ffffff;
    --accent: #ffffff;
    --accent-color: #ffffff;
    --scrollbar-track: transparent;
    --scrollbar-thumb: #71717a;
    --scrollbar-thumb-hover: #a1a1aa;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, .5);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, .8);
    --surface-hud: #0b0c0e;
    --browser-chrome-bg: #101113;
    --terminal-browser-dot: rgb(56, 57, 63);
    --border-hud: rgba(255, 255, 255, .08);
    --divider-hud: rgba(255, 255, 255, .06);
    --hover-hud: rgba(255, 255, 255, .02);
    --hover-hud-strong: rgba(255, 255, 255, .04);
    --text-hud-value: #fafafa;
    --text-hud-label: #A1A1AA;
    --shadow-hud: 0 16px 36px -12px rgba(0, 0, 0, .6)
}

[data-theme=light] {
    --bg-page: #ffffff;
    --bg-surface: #f8f8f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4f5;
    --bg-subtle: #f4f4f5;
    --border-subtle: #e4e4e7;
    --border-medium: #d4d4d8;
    --border-active: #09090b;
    --text-main: #09090b;
    --text-body: #27272a;
    --text-muted: #52525b;
    --text-faint: #71717a;
    --btn-bg: #09090b;
    --btn-text: #ffffff;
    --btn-hover: #27272a;
    --badge-bg: #f4f4f5;
    --badge-text: #09090b;
    --input-bg: #f4f4f5;
    --modal-backdrop: rgba(0, 0, 0, .7);
    --header-bg: rgba(255, 255, 255, .9);
    --brand-accent: #18181b;
    --brand-accent-glow: rgba(24, 24, 27, .14);
    --accent-primary: #18181b;
    --terminal-accent: #09090b;
    --terminal-command: #09090b;
    --terminal-key: #52525b;
    --terminal-value: #27272a;
    --nav-inactive: #52525b;
    --nav-inactive-num: #52525b;
    --nav-active-text: #09090b;
    --accent-dot: #09090b;
    --accent: #09090b;
    --accent-color: #09090b;
    --scrollbar-track: transparent;
    --scrollbar-thumb: #a1a1aa;
    --scrollbar-thumb-hover: #71717a;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .05);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, .12);
    --surface-hud: #ffffff;
    --browser-chrome-bg: var(--bg-surface);
    --terminal-browser-dot: rgb(56, 57, 63);
    --border-hud: rgba(0, 0, 0, .08);
    --divider-hud: rgba(0, 0, 0, .06);
    --hover-hud: rgba(0, 0, 0, .015);
    --hover-hud-strong: rgba(0, 0, 0, .03);
    --text-hud-value: #18181b;
    --text-hud-label: #52525b;
    --shadow-hud: 0 12px 28px -10px rgba(0, 0, 0, .06)
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .25s ease, color .25s ease
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    overflow-x: hidden;
    min-height: 100vh
}

:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 2px
}

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track)
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    cursor: grab !important
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:double-button,
::-webkit-scrollbar-button:vertical:decrement,
::-webkit-scrollbar-button:vertical:increment,
::-webkit-scrollbar-button:horizontal:decrement,
::-webkit-scrollbar-button:horizontal:increment,
::-webkit-scrollbar-button:start,
::-webkit-scrollbar-button:end {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important
}

::-webkit-scrollbar-track {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    margin: 2.5vh 0
}

::-webkit-scrollbar-track:horizontal {
    margin: 0
}

textarea::-webkit-scrollbar-track,
.form-input::-webkit-scrollbar-track {
    margin: 4px 0
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border: 0;
    border-radius: 9999px;
    cursor: grab !important;
    cursor: -webkit-grab !important;
    transition: background-color .2s ease
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
    border: 0;
    cursor: grab !important;
    cursor: -webkit-grab !important
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--scrollbar-thumb-hover);
    border: 0;
    cursor: grabbing !important;
    cursor: -webkit-grabbing !important
}

::-webkit-scrollbar-corner {
    background: transparent
}

body,
.site-header,
.project-card,
.service-card,
.estimator-card,
.calc-scope-card,
.calc-option-btn,
.modal-content,
.form-input,
.faq-item,
.mobile-drawer,
.btn,
.tag-badge {
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: JetBrains Mono, monospace;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15
}

p {
    color: var(--text-body)
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .2s ease
}

code,
pre,
.font-mono {
    font-family: JetBrains Mono, monospace
}

::selection {
    background: var(--text-main);
    color: var(--bg-page)
}

.container {
    max-width: 87.5rem;
    margin-left: auto;
    margin-right: auto;
    padding-inline: var(--view-pad-inline, 1.5rem)
}

.container-narrow {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding-inline: var(--view-pad-inline, 1.5rem)
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-bottom: none
}

.section-header {
    margin-bottom: 3.5rem
}

.section-title {
    color: var(--text-main);
    margin-bottom: .75rem
}

.section-desc {
    color: var(--text-body);
    max-width: 38rem
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all .25s ease
}

.header-inner {
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-main);
    flex: 0 0 auto
}

.logo__mark {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter .2s ease
}

[data-theme=light] .logo__mark {
    filter: none
}

.logo-dot {
    display: none !important
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem
}

.nav-link {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted)
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .875rem
}

.theme-pill-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    user-select: none;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent
}

.theme-pill-toggle:focus-visible {
    outline: 2px solid var(--accent-color, var(--text-main));
    outline-offset: 2px;
    border-radius: 9999px
}

.pill-track {
    position: relative;
    display: flex;
    align-items: center;
    width: 44px;
    height: 22px;
    border-radius: 9999px;
    box-sizing: border-box;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 3px #00000080;
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow: hidden
}

[data-theme=light] .pill-track {
    background: #e4e4e7;
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: inset 0 1px 3px #00000014
}

.theme-pill-toggle:hover .pill-track {
    border-color: #ffffff47
}

[data-theme=light] .theme-pill-toggle:hover .pill-track {
    border-color: #00000038
}

.pill-icon {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1)
}

.pill-icon--sun {
    left: 6px;
    color: #18181b;
    opacity: 0;
    transform: translateY(-50%) scale(.6)
}

[data-theme=light] .pill-icon--sun {
    opacity: 1;
    transform: translateY(-50%) scale(1)
}

.pill-icon--moon {
    right: 6px;
    color: #fff;
    opacity: 1;
    transform: translateY(-50%) scale(1)
}

[data-theme=light] .pill-icon--moon {
    opacity: 0;
    transform: translateY(-50%) scale(.6)
}

.pill-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    pointer-events: none;
    background: #fff;
    box-shadow: 0 1px 4px #00000080, 0 0 1px #0000004d;
    transform: translate(0);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, box-shadow .25s ease, width .15s ease
}

[data-theme=light] .pill-thumb {
    background: #18181b;
    transform: translate(22px);
    box-shadow: 0 1px 4px #00000040, 0 0 1px #00000026
}

.theme-pill-toggle:active .pill-thumb {
    width: 18px
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    padding: .5rem;
    transition: all .2s ease
}

.mobile-menu-btn:hover {
    border-color: var(--border-medium)
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease
}

.mobile-menu-btn.open .hamburger-line:first-child {
    transform: translateY(3.5px) rotate(45deg)
}

.mobile-menu-btn.open .hamburger-line:last-child {
    transform: translateY(-3.5px) rotate(-45deg)
}

.mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-dropdown);
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height .3s cubic-bezier(.16, 1, .3, 1), padding .25s ease;
    z-index: 49
}

.mobile-drawer.open {
    max-height: 520px;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.mobile-nav-link {
    font-family: JetBrains Mono, monospace;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-main);
    padding: .6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color .2s ease
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-muted)
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 1rem
}

.mobile-nav-actions .btn {
    width: 100%
}

@media(max-width:900px) {
    .nav-desktop {
        display: none
    }

    .mobile-menu-btn {
        display: flex
    }
}

@media(max-width:520px) {

    .site-header .header-wa-btn,
    .site-header .header-cta-btn {
        display: none
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .75rem !important;
    font-weight: 600;
    height: 44px;
    min-height: 44px;
    padding: .7rem 1.25rem;
    border-radius: .5rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
    user-select: none;
    font-family: JetBrains Mono, monospace;
    text-decoration: none;
    text-transform: uppercase;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none
}

.btn-primary {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg)
}

.btn-primary:hover {
    background-color: var(--btn-hover);
    border-color: var(--btn-hover);
    opacity: 1
}

:root:not([data-theme=light]) .btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border-medium)
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--border-active)
}

[data-theme=light] .btn-secondary:hover {
    background-color: #09090b;
    color: #fff;
    border-color: #09090b
}

[data-theme=light] .btn-primary:hover {
    background-color: #27272a;
    color: #fff;
    border-color: #09090b
}

.btn:focus-visible {
    outline: 2px solid var(--accent-primary, var(--text-main));
    outline-offset: 3px
}

.btn-sm {
    height: 36px;
    min-height: 36px;
    padding: .45rem .875rem;
    font-size: .75rem
}

.hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-bottom: none
}

#view-hero {
    position: relative;
    isolation: isolate;
    background: var(--bg-page)
}

#view-hero:before,
#view-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none
}

#view-hero:before {
    z-index: -2;
    opacity: .88;
    background: url(../assets/images/hero-mountains-dark-mobile.webp) center bottom / cover no-repeat;
    filter: grayscale(.42) saturate(.72);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .08) 10%, rgba(0, 0, 0, .3) 22%, rgba(0, 0, 0, .68) 38%, #000 55%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .08) 10%, rgba(0, 0, 0, .3) 22%, rgba(0, 0, 0, .68) 38%, #000 55%, #000 100%)
}

@media(min-width:769px) {
    #view-hero:before {
        background-image: url(../assets/images/hero-mountains-dark-v3.webp)
    }
}

@supports (animation-timeline: view()) {
    #view-hero:before {
        animation: home-landscape-depart linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 72%
    }

    @keyframes home-landscape-depart {
        0% {
            opacity: .88
        }

        to {
            opacity: 0
        }
    }
}

#view-hero:after {
    z-index: -1;
    background: linear-gradient(to bottom, rgba(9, 9, 11, .94) 0%, rgba(9, 9, 11, .72) 24%, transparent 64%), linear-gradient(to bottom, transparent 62%, rgba(9, 9, 11, .3) 82%, rgba(9, 9, 11, .78) 95%, #09090b 100%)
}

[data-theme=light] #view-hero:before {
    background-image: url(../assets/images/hero-mountains-light-mobile.webp);
    filter: grayscale(.28) saturate(.74);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .05) 10%, rgba(0, 0, 0, .22) 24%, rgba(0, 0, 0, .6) 42%, #000 60%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .05) 10%, rgba(0, 0, 0, .22) 24%, rgba(0, 0, 0, .6) 42%, #000 60%, #000 100%)
}

@media(min-width:769px) {
    [data-theme=light] #view-hero:before {
        background-image: url(../assets/images/hero-mountains-light-v3.webp)
    }
}

[data-theme=light] #view-hero:after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .76) 28%, transparent 68%), linear-gradient(to bottom, transparent 62%, rgba(255, 255, 255, .3) 82%, rgba(255, 255, 255, .82) 95%, #fff 100%)
}

#view-hero>* {
    position: relative;
    z-index: 1
}

#view-hero>.home-scroll-cue {
    position: absolute;
    right: var(--view-pad-inline, 1.5rem);
    bottom: clamp(1.25rem, 2.5vh, 2rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .18s ease, opacity .18s ease, transform .18s ease, visibility 0s
}

#view-hero>.home-scroll-cue.is-hidden {
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s
}

.home-scroll-cue:hover,
.home-scroll-cue:focus-visible {
    color: var(--text-main)
}

.home-scroll-cue:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px
}

.home-scroll-cue svg {
    width: .8rem;
    height: .8rem;
    flex: 0 0 auto;
    transition: transform .18s ease
}

.home-scroll-cue:hover svg {
    transform: translateY(2px)
}

@media(prefers-reduced-motion:reduce) {
    #view-hero:before {
        animation: none
    }

    .home-scroll-cue,
    .home-scroll-cue svg {
        transition: none
    }

    #view-hero>.home-scroll-cue.is-hidden {
        transform: none;
        transition: none
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .875rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-family: JetBrains Mono, monospace;
    font-size: .75rem;
    color: var(--text-body);
    margin-bottom: 2rem
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-dot);
    flex-shrink: 0
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    max-width: 54rem
}

.hero-title span {
    color: var(--text-muted)
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-body);
    max-width: 48rem;
    margin-bottom: 2.5rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0
}

.hero-actions>.btn {
    height: 44px;
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: center;
    width: 100%
}

@media(min-width:1024px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(340px, .95fr);
        justify-content: space-between;
        gap: clamp(2rem, 3.5vw, 3.75rem);
        align-items: start
    }

    .hero-terminal-col {
        justify-content: flex-end;
        align-items: flex-start
    }

    .hero-terminal {
        margin: 0
    }
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.hero-terminal-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%
}

.hero-terminal {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    box-shadow: 0 20px 40px -15px #000000b3, 0 0 0 1px #ffffff0a;
    overflow: hidden;
    font-family: JetBrains Mono, monospace;
    box-sizing: border-box
}

@media(min-width:1024px) {
    #view-hero .hero-terminal-col {
        justify-content: flex-end;
        align-items: flex-start
    }

    #view-hero .hero-terminal {
        margin: 0
    }
}

[data-theme=light] .hero-terminal {
    background-color: transparent;
    border-color: #0000001f;
    box-shadow: 0 20px 35px -10px #00000040
}

.hero-terminal__topbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: .85rem 1.15rem;
    background: #ffffff05;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.hero-terminal__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--terminal-browser-dot);
    display: inline-block;
    opacity: .85
}

.hero-terminal__body {
    background-color: var(--surface-hud);
    padding: 1.35rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    font-size: clamp(.75rem, .9vw, .86rem);
    line-height: 1.6
}

.hero-terminal__command {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .35rem
}

.hero-terminal__row {
    display: flex;
    align-items: baseline;
    gap: 1.25rem
}

.term-prompt {
    color: var(--terminal-accent);
    font-weight: 700;
    user-select: none
}

.term-cmd {
    color: var(--terminal-command, #fafafa);
    font-weight: 600
}

.term-key {
    color: var(--terminal-key, #a1a1aa);
    min-width: 5.75rem;
    flex-shrink: 0;
    font-weight: 500
}

.term-val {
    color: var(--terminal-value, #e4e4e7);
    font-weight: 500;
    word-break: break-word
}

.term-val--status {
    color: var(--terminal-accent);
    font-weight: 600
}

.term-sep {
    color: var(--text-faint);
    margin: 0 .35rem;
    user-select: none;
    font-size: .8em;
    opacity: .75
}

.hero-terminal__cursor-line {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .25rem
}

.term-cursor {
    display: inline-block;
    width: 8px;
    height: 1.15em;
    background-color: var(--terminal-accent);
    vertical-align: middle;
    animation: termBlink 1s step-end infinite
}

@keyframes termBlink {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: clamp(1.25rem, 2.4vh, 2rem);
    background-color: var(--surface-hud);
    border: 1px solid var(--border-hud);
    border-radius: 12px;
    box-shadow: var(--shadow-hud);
    overflow: hidden;
    box-sizing: border-box
}

[data-theme=light] .hero-metrics {
    background-color: var(--surface-hud);
    border-color: var(--border-hud);
    box-shadow: var(--shadow-hud)
}

.hero-metric-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.05rem, 1.75vh, 1.4rem) 1.25rem;
    min-width: 0;
    box-sizing: border-box
}

.hero-metric-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: .35rem;
    min-width: 0
}

.hero-metric-item:nth-child(1),
.hero-metric-item:nth-child(2) {
    border-bottom: 1px solid var(--divider-hud)
}

.hero-metric-item:nth-child(odd) {
    border-right: 1px solid var(--divider-hud)
}

@media(min-width:768px) {
    .hero-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .hero-metric-item:nth-child(1),
    .hero-metric-item:nth-child(2) {
        border-bottom: none
    }

    .hero-metric-item:nth-child(odd) {
        border-right: none
    }

    .hero-metric-item:not(:last-child) {
        border-right: 1px solid var(--divider-hud)
    }
}

.hero-metric-val {
    font-family: var(--font-sans);
    font-size: clamp(1.25rem, 1.65vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-hud-value);
    letter-spacing: -.01em;
    transition: color .2s ease
}

.hero-metric-lbl {
    font-family: JetBrains Mono, monospace;
    font-size: clamp(.72rem, .8vw, .78rem);
    font-weight: 500;
    color: var(--text-hud-label);
    letter-spacing: .015em;
    line-height: 1.35;
    white-space: normal
}

.projects-list-wrapper {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: visible
}

.projects-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 7vh, 6rem);
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
    cursor: default
}

.project-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    transition: none
}

.project-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none
}

.project-scroll-shell {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: .625rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden
}

.browser-frame-bar {
    container-type: inline-size;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    padding: .5rem .875rem;
    background: var(--browser-chrome-bg);
    border-bottom: 1px solid var(--border-subtle);
    user-select: none;
    -webkit-user-select: none
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: .35rem
}

.browser-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terminal-browser-dot)
}

.browser-url-bar {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin-left: .8rem;
    gap: .75rem;
    padding: .4rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: .65rem;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    transition: border-color .2s ease, color .2s ease
}

.browser-url-bar>span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis
}

.browser-lock-icon {
    color: var(--text-faint);
    flex-shrink: 0
}

.project-scroll-frame {
    position: relative;
    width: 100%;
    height: 380px;
    background: #0d0d0d;
    overflow: hidden
}

@media(max-width:768px) {
    .project-scroll-frame {
        height: 290px
    }
}

.project-scroll-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: auto
}

.project-scroll-preview:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: -2px
}

.project-scroll-preview::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0
}

.project-scroll-preview.is-scroll-enabled {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    cursor: pointer
}

.project-scroll-preview.is-scroll-enabled::-webkit-scrollbar {
    display: none;
    width: 0
}

.project-preview-scrollbar {
    position: absolute;
    top: 2.5%;
    right: 0;
    bottom: 2.5%;
    z-index: 5;
    width: 14px;
    border-radius: 999px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    touch-action: none;
    transition: opacity .18s ease, visibility .18s ease
}

.project-preview-scrollbar.is-visible {
    opacity: .62;
    visibility: visible;
    pointer-events: auto;
    cursor: grab
}

.project-preview-scrollbar.is-visible:hover,
.project-preview-scrollbar.is-visible:focus-visible,
.project-preview-scrollbar.is-dragging {
    opacity: .95
}

.project-preview-scrollbar.is-dragging,
.project-preview-scrollbar.is-visible:active {
    cursor: grabbing
}

.project-preview-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    min-height: 22px;
    border: 1px solid rgba(0, 0, 0, .48);
    border-radius: 999px;
    background: #f4f4f5d1;
    pointer-events: none
}

.project-preview-scrollbar:hover .project-preview-scrollbar-thumb,
.project-preview-scrollbar.is-dragging .project-preview-scrollbar-thumb {
    background: #f4f4f5fa
}

.project-preview-scrollbar:focus-visible {
    outline: 1px solid var(--text-main);
    outline-offset: 2px
}

.project-scroll-preview img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transform: none !important;
    scale: none !important
}

.project-card:hover .project-scroll-preview img {
    transform: none !important;
    scale: none !important
}

.project-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem
}

.project-cat {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em
}

.project-pass-copy {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: .2rem .5rem;
    border-radius: .25rem;
    cursor: pointer;
    font-size: .6875rem;
    transition: all .2s
}

.project-pass-copy:hover {
    border-color: var(--border-active)
}

.project-title {
    font-size: 1.375rem;
    color: var(--text-main);
    margin-bottom: .5rem
}

.project-pass-copy .copy-icon {
    width: .875rem;
    height: .875rem;
    margin-left: .2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.15em;
    flex: 0 0 auto
}

.project-status {
    color: var(--text-faint);
    font-size: .625rem;
    letter-spacing: .08em;
    white-space: nowrap
}

.project-desc {
    font-size: .875rem;
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-hud);
    border-radius: 12px;
    box-shadow: var(--shadow-hud);
    overflow: hidden
}

.project-fact {
    min-width: 0;
    padding: .875rem 1rem
}

.project-fact:nth-child(2n) {
    border-left: 1px solid var(--divider-hud)
}

.project-fact:nth-child(n+3) {
    border-top: 1px solid var(--divider-hud)
}

.project-fact dt {
    margin-bottom: .35rem;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--text-hud-label)
}

.project-fact dd {
    margin: 0;
    color: var(--text-hud-value);
    font-family: Inter, sans-serif;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35
}

.project-detail-group {
    padding-top: 0;
    border-top: 0;
    margin-top: 1.15rem
}

.project-facts+.project-detail-group {
    border-top: 0
}

.project-detail-label {
    margin: .25rem 0 .65rem;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.project-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none
}

.project-stack-tags li {
    padding: .38rem .62rem;
    border: 0;
    border-radius: .25rem;
    background: var(--bg-subtle);
    color: var(--text-body);
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin-bottom: 1.25rem
}

.tag-badge {
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    padding: .2rem .5rem;
    border-radius: .25rem;
    background-color: var(--badge-bg);
    color: var(--badge-text);
    border: 1px solid var(--border-subtle)
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .65rem;
    padding-top: 1rem;
    border-top: 0;
    font-size: .8125rem;
    font-weight: 500
}

.project-card-footer a:not(.project-live-link):hover {
    color: var(--text-main);
    text-decoration: underline
}

.browser-frame-bar .custom-scroll-cue {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 7rem;
    flex-shrink: 0;
    margin-left: 0;
    gap: .3rem;
    padding: .2rem .25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .2rem;
    color: var(--text-muted);
    font-family: JetBrains Mono, monospace;
    font-size: .5625rem;
    font-weight: 500;
    letter-spacing: .08em;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transform: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease
}

.browser-frame-bar .custom-scroll-cue:hover,
.browser-frame-bar .custom-scroll-cue:focus-visible {
    color: var(--text-main);
    background: transparent;
    border-color: transparent
}

.browser-frame-bar .custom-scroll-cue:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px
}

@container (max-width: 440px) {
    .browser-frame-bar .custom-scroll-cue {
        gap: .2rem;
        padding-inline: .15rem;
        font-size: .5rem;
        letter-spacing: .04em
    }

    .browser-url-bar {
        gap: .4rem;
        padding-inline: .55rem
    }
}

.custom-cue-icon {
    flex-shrink: 0
}

.custom-scroll-cue.is-hidden {
    opacity: 0;
    visibility: hidden
}

@media(max-width:560px) {
    .browser-frame-bar .custom-scroll-cue {
        display: none
    }
}

.project-live-link {
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: .4rem;
    font-family: JetBrains Mono, monospace;
    font-size: .75rem;
    text-decoration: none
}

.project-storefront-password-form {
    display: inline-flex;
    margin: 0
}

.project-live-link:disabled {
    cursor: not-allowed;
    opacity: .55
}

.project-live-link.btn-primary:disabled:hover {
    background-color: var(--btn-bg);
    border-color: var(--btn-bg);
    color: var(--btn-text)
}

.project-live-link.btn-secondary:disabled:hover {
    background-color: transparent;
    border-color: var(--border-medium);
    color: var(--text-main)
}

@media(prefers-reduced-motion:reduce) {
    .custom-scroll-cue {
        transition: none
    }
}

.estimator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow)
}

#services {
    container-name: services-view;
    container-type: inline-size
}

@media(min-width:768px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

.service-card {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: .75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color .25s ease
}

.service-card:hover {
    border-color: var(--border-medium)
}

.service-index {
    font-family: JetBrains Mono, monospace;
    font-size: .8125rem;
    color: var(--text-faint);
    margin-bottom: 1rem
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: .75rem
}

.service-desc {
    font-size: .875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .8125rem;
    color: var(--text-body);
    margin-bottom: 2rem
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem
}

.service-list li:before {
    content: "\2014";
    color: var(--text-main)
}

.timeline-wrap {
    --timeline-date-width: 9rem;
    --timeline-marker-width: 1.5rem;
    --timeline-column-gap: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: .25rem .75rem .25rem 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable
}

.timeline-track {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0;
    width: 100%
}

.timeline-track:before {
    content: "";
    position: absolute;
    top: .65rem;
    bottom: .5rem;
    left: calc(var(--timeline-date-width) + var(--timeline-column-gap) + var(--timeline-marker-width) / 2);
    width: 1px;
    background: var(--border-medium);
    pointer-events: none
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(7rem, var(--timeline-date-width)) var(--timeline-marker-width) minmax(0, 1fr);
    column-gap: var(--timeline-column-gap);
    align-items: start;
    padding: 1.15rem 0 1.35rem
}

.timeline-date {
    grid-column: 1;
    grid-row: 1;
    padding-top: .1rem;
    color: var(--text-muted);
    font-family: var(--font-mono, "JetBrains Mono", monospace);
    font-size: .6875rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap
}

.timeline-marker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: block;
    width: .625rem;
    height: .625rem;
    margin-top: .35rem;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    background: var(--bg-surface);
    z-index: 1
}

.timeline-marker--parent {
    width: .75rem;
    height: .75rem;
    margin-top: .3rem;
    border-color: var(--text-main);
    background: var(--text-main)
}

.timeline-item--current .timeline-marker {
    border-color: var(--text-main);
    background: var(--text-main)
}

.timeline-content {
    grid-column: 3;
    grid-row: 1;
    min-width: 0
}

#timeline-modal .timeline-content h3 {
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.0625rem !important;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.35 !important;
    margin-bottom: .4rem
}

.timeline-item--parent {
    padding-top: 0;
    padding-bottom: 1.6rem
}

.timeline-item:last-child {
    padding-bottom: 0
}

#timeline-modal .timeline-item--parent .timeline-content h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.25 !important
}

.timeline-engagements {
    display: flex;
    flex-direction: column
}

.timeline-item--current .timeline-date {
    color: var(--text-main);
    font-weight: 600
}

#timeline-modal .timeline-role {
    margin-bottom: .65rem;
    color: var(--text-muted);
    font-size: .8125rem !important;
    line-height: 1.5 !important
}

#timeline-modal .timeline-desc {
    max-width: 68ch;
    margin-bottom: .85rem;
    color: var(--text-body);
    font-size: .9375rem !important;
    line-height: 1.65 !important
}

.timeline-item--parent .timeline-desc,
.timeline-item .project-tags {
    margin-bottom: 0
}

@media(max-width:767px) {
    .timeline-wrap {
        --timeline-date-width: 0;
        --timeline-marker-width: 1.25rem;
        --timeline-column-gap: .875rem
    }

    .timeline-track:before {
        left: .5625rem
    }

    .timeline-item {
        grid-template-columns: var(--timeline-marker-width) minmax(0, 1fr);
        row-gap: .2rem;
        padding: .95rem 0 1.1rem
    }

    .timeline-date {
        grid-column: 2;
        grid-row: 1;
        padding-top: 0;
        margin-bottom: .1rem
    }

    .timeline-marker {
        grid-column: 1;
        grid-row: 1;
        margin-top: .2rem
    }

    .timeline-marker--parent {
        margin-top: .15rem
    }

    .timeline-content {
        grid-column: 2;
        grid-row: 2
    }

    .timeline-item--parent {
        padding-top: 0;
        padding-bottom: 1.25rem
    }

    .timeline-item:last-child {
        padding-bottom: 0
    }

    #timeline-modal .timeline-item--parent .timeline-content h3 {
        font-size: 1.25rem !important
    }
}

#estimator-modal [hidden] {
    display: none !important
}

#estimator-modal .estimator-modal-content {
    display: flex !important;
    width: min(calc(100vw - 2rem), var(--portfolio-modal-width)) !important;
    max-width: var(--portfolio-modal-width) !important;
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important;
    min-height: 0;
    flex-direction: column;
    overflow: clip !important;
    padding: 0 !important;
    background-color: var(--bg-page) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: .75rem;
    box-shadow: 0 25px 60px -15px #000000b3 !important
}

#estimator-modal .project-modal-header {
    margin-bottom: .5rem !important;
    padding: 1.5rem !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    background: var(--bg-page) !important
}

#estimator-modal .project-modal-header__main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 1.25rem !important
}

#estimator-modal .project-modal-header__text {
    display: flex !important;
    flex-direction: column !important;
    gap: .25rem !important
}

#estimator-modal .project-modal-eyebrow {
    color: var(--text-muted) !important;
    font-family: var(--font-mono) !important;
    font-size: var(--type-label, .6875rem) !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    margin-bottom: .25rem !important
}

#estimator-modal .project-modal-title {
    color: var(--text-main) !important;
    font-family: var(--font-mono) !important;
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 600 !important;
    letter-spacing: -.025em !important;
    line-height: 1.2 !important;
    margin: 0 0 .35rem !important
}

#estimator-modal .estimator-header-desc {
    max-width: 65ch;
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: .875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important
}

#estimator-modal .portfolio-modal-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    padding: 0 !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: .375rem !important;
    background: var(--bg-page) !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all .16s ease !important
}

#estimator-modal .portfolio-modal-close:hover {
    background: var(--bg-surface) !important;
    border-color: var(--border-medium) !important;
    color: var(--text-main) !important
}

#estimator-modal .portfolio-modal-close-icon {
    width: 1rem !important;
    height: 1rem !important
}

#estimator-modal .estimator-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.5rem clamp(1.5rem, 4vw, 3.75rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch
}

.estimator-modal-body:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: -3px
}

.estimator-layout {
    display: block;
    width: 100%;
    max-width: 44rem;
    margin-inline: auto;
    color: var(--text-body);
    font-size: .875rem;
    line-height: 1.55
}

.estimator-notes-section {
    max-width: 44rem;
    margin-inline: auto
}

.estimator-controls {
    display: grid;
    min-width: 0;
    gap: 0
}

.estimator-section {
    min-width: 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle)
}

.estimator-section:first-child {
    padding-top: 0;
    border-top: 0
}

.estimator-section:last-child {
    padding-bottom: 0
}

.estimator-section-heading {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    margin-bottom: 1.125rem
}

.estimator-section-index {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .05em;
    line-height: 1;
    font-weight: 600
}

.estimator-section-heading h3,
.estimator-subsection h4,
.estimator-result>h3,
.estimator-result-summary h4 {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase
}

.estimator-section-heading h3 {
    font-size: .9375rem !important;
    line-height: 1.35 !important
}

.estimator-subsection h4 {
    font-size: .8125rem !important;
    line-height: 1.4 !important
}

.estimator-result>h3,
.estimator-result-summary h4 {
    font-size: .75rem !important;
    line-height: 1.4 !important
}

#estimator-modal .estimator-section-copy {
    margin: .5rem 0 0;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .8125rem !important;
    line-height: 1.5 !important
}

#estimator-modal .estimator-inline-note {
    margin: .5rem 0 0;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .75rem !important;
    line-height: 1.5 !important
}

.estimator-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0
}

.estimator-fieldset>legend {
    margin-bottom: .625rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.4
}

.estimator-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%)
}

.estimator-choice-grid,
.estimator-check-grid,
.estimator-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem
}

.estimator-choice-grid--platform {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem
}

.estimator-choice,
.estimator-check-option {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: .75rem;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1.45;
    user-select: none
}

.estimator-choice {
    align-items: center;
    min-height: 3rem;
    padding: .625rem .875rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: transparent;
    transition: border-color .16s ease, color .16s ease
}

.estimator-choice:hover {
    border-color: var(--border-medium);
    background: transparent
}

.estimator-choice:has(input:checked) {
    color: var(--text-main);
    border-color: var(--border-active);
    background: transparent
}

.estimator-choice>span {
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-main)
}

.estimator-choice input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    flex: 0 0 1.125rem;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--border-medium);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    outline: none;
    transition: border-color .16s ease
}

.estimator-choice input[type=radio]:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: .4375rem;
    height: .4375rem;
    border-radius: 50%;
    background: var(--text-main);
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center center;
    transition: transform .14s ease;
    pointer-events: none
}

.estimator-choice input[type=radio]:checked {
    border-color: var(--text-main)
}

.estimator-choice input[type=radio]:checked:before {
    transform: translate(-50%, -50%) scale(1)
}

.estimator-service-list {
    display: flex;
    flex-direction: column
}

.estimator-service-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    user-select: none
}

.estimator-service-option:first-child {
    padding-top: .25rem
}

.estimator-service-option:last-child {
    padding-bottom: .25rem;
    border-bottom: 0
}

.estimator-service-option>input[type=checkbox],
.estimator-check-option>input[type=checkbox] {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    margin: .2rem 0 0;
    accent-color: var(--btn-bg);
    cursor: pointer
}

.estimator-service-copy,
.estimator-seo-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: .25rem
}

.estimator-service-copy strong,
.estimator-seo-copy strong {
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35
}

.estimator-service-copy>span,
.estimator-seo-copy>span:last-child {
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.45
}

.estimator-field {
    position: relative;
    display: grid;
    min-width: 0;
    align-content: end;
    gap: .375rem
}

.estimator-field--wide {
    grid-column: 1 / -1
}

.estimator-field label,
.estimator-offer>label {
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .375rem;
    display: block
}

.estimator-field-label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .4rem;
    margin-bottom: .375rem
}

.estimator-field-label label {
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0;
    display: block
}

#estimator-modal .estimator-field .form-input,
#estimator-modal .estimator-offer-input .form-input,
#estimator-modal select.form-input {
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: .625rem .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    line-height: 1.35;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease
}

#estimator-modal .estimator-field .form-input::placeholder,
#estimator-modal .estimator-offer-input .form-input::placeholder {
    color: var(--text-muted);
    opacity: 1
}

#estimator-modal .estimator-field .form-input:hover:not(:disabled),
#estimator-modal .estimator-offer-input .form-input:hover:not(:disabled) {
    border-color: var(--border-medium);
    color: var(--text-main)
}

#estimator-modal select.form-input {
    display: none !important
}

.estimator-select-dropdown {
    position: relative;
    width: 100%;
    min-width: 0
}

.estimator-select-dropdown.is-open {
    z-index: 25
}

.estimator-select-trigger {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .625rem .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: .8125rem;
    line-height: 1.35;
    text-align: left;
    transition: border-color .2s ease, color .2s ease
}

.estimator-select-trigger:hover:not(:disabled) {
    border-color: var(--border-medium);
    color: var(--text-main)
}

.estimator-select-trigger:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: 2px
}

.estimator-select-trigger:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: .5;
    border-color: var(--border-subtle)
}

.estimator-select-trigger:after {
    width: .45rem;
    height: .45rem;
    flex: 0 0 auto;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-.125rem) rotate(45deg);
    transition: transform .2s ease
}

.estimator-select-dropdown.is-default>.estimator-select-trigger {
    color: var(--text-muted)
}

.estimator-select-dropdown.is-default>.estimator-select-trigger:hover:not(:disabled),
.estimator-select-dropdown.is-open>.estimator-select-trigger {
    border-color: var(--border-medium);
    color: var(--text-main)
}

.estimator-select-dropdown.is-open>.estimator-select-trigger:after {
    transform: translateY(.125rem) rotate(225deg)
}

.estimator-select-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.estimator-select-options {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + .375rem);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: min(16rem, 40vh);
    overflow-y: auto;
    padding: 0 .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: var(--bg-page);
    box-shadow: 0 12px 30px #000000b3;
    overscroll-behavior: contain
}

.estimator-select-dropdown.is-open>.estimator-select-options {
    display: flex
}

.estimator-select-option {
    display: flex;
    min-width: 0;
    min-height: 2.25rem;
    align-items: center;
    gap: .625rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: .8125rem;
    line-height: 1.35;
    user-select: none;
    transition: color .15s ease, background-color .15s ease
}

.estimator-select-option:last-child {
    border-bottom: 0
}

.estimator-select-option:hover {
    color: var(--text-main);
    background: var(--bg-card)
}

.estimator-select-option.is-selected {
    color: var(--text-main)
}

.estimator-select-check {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    margin: 0;
    accent-color: var(--btn-bg);
    cursor: pointer;
    pointer-events: none
}

.estimator-select-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

#estimator-modal .estimator-field textarea.form-input {
    min-height: 5.5rem;
    background: transparent;
    resize: vertical
}

#estimator-modal .estimator-field .form-input:focus,
#estimator-modal .estimator-offer-input .form-input:focus,
#estimator-modal select.form-input:focus {
    border-color: var(--border-active);
    outline: none
}

#estimator-modal .estimator-field .form-input:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: .65
}

.estimator-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: help;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease
}

.estimator-help-trigger:hover,
.estimator-help-trigger[aria-expanded=true] {
    border-color: var(--border-active);
    color: var(--text-main);
    background: var(--bg-card)
}

.estimator-help-trigger:focus-visible,
.estimator-choice:focus-within,
.estimator-check-option:focus-within,
.estimator-service-option:focus-within {
    outline: 2px solid var(--border-active);
    outline-offset: 3px
}

.estimator-help-popover {
    position: absolute;
    top: 1.85rem;
    left: 0;
    z-index: 50;
    width: 100%;
    max-width: 22rem;
    padding: .625rem .8rem;
    border: 1px solid var(--border-medium);
    border-radius: .5rem;
    background: var(--bg-card);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: .75rem;
    line-height: 1.45;
    box-shadow: 0 12px 30px #000c;
    animation: popoverFadeIn .14s ease-out
}

@keyframes popoverFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-3px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(hover:none), (pointer:coarse) {
    #estimator-modal .estimator-help-trigger {
        position: relative;
        width: 1.75rem;
        height: 1.75rem;
        flex-basis: 1.75rem;
        border-color: transparent
    }

    #estimator-modal .estimator-help-trigger:before {
        position: absolute;
        inset: .3125rem;
        border: 1px solid var(--border-subtle);
        border-radius: 50%;
        content: "";
        pointer-events: none
    }

    #estimator-modal .estimator-help-trigger:hover:before,
    #estimator-modal .estimator-help-trigger[aria-expanded=true]:before {
        border-color: var(--border-active)
    }
}

.estimator-subsection {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle)
}

.estimator-subsection+.estimator-subsection {
    margin-top: 1.25rem
}

.estimator-subsection>h4 {
    margin-bottom: .75rem;
    font-size: .8125rem
}

.estimator-signal-fieldset {
    margin-top: 1.25rem
}

.estimator-check-grid {
    gap: .75rem 1rem
}

.estimator-check-option {
    min-height: 2.25rem;
    align-items: center;
    padding-block: .25rem;
    font-family: var(--font-sans);
    font-size: .8125rem;
    color: var(--text-body)
}

.estimator-check-option>span {
    font-family: var(--font-sans);
    font-size: .8125rem
}

.estimator-check-option:hover {
    color: var(--text-main)
}

.estimator-feature-option {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .5rem
}

.estimator-feature-option>.estimator-check-option {
    grid-column: 1
}

.estimator-feature-option>.estimator-help-trigger {
    grid-column: 2
}

.estimator-feature-option>.estimator-help-popover {
    grid-column: 1 / -1
}

.estimator-seo-list {
    display: grid;
    gap: 0
}

.estimator-seo-option {
    padding: .875rem 0;
    border-top: 1px solid var(--border-subtle)
}

.estimator-seo-option:first-child {
    border-top: 0;
    padding-top: 0
}

.estimator-seo-option>.estimator-check-option {
    grid-column: 1
}

.estimator-seo-targets {
    margin: .75rem 0 0 1.625rem;
    padding: .75rem 0 0.5rem 0;
    border-top: 1px solid var(--border-subtle)
}

.estimator-offer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 21.5rem;
    margin-top: 1.25rem
}

.estimator-offer-label {
    display: block;
    margin-bottom: .375rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35
}

.estimator-offer-input {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: transparent;
    transition: border-color .2s ease, opacity .2s ease
}

.estimator-offer-input:hover:not(.is-disabled) {
    border-color: var(--border-medium)
}

.estimator-offer-input:focus-within:not(.is-disabled) {
    border-color: var(--border-active)
}

.estimator-offer-input.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    border-color: var(--border-subtle)
}

.estimator-offer-currency {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .875rem;
    font-weight: 500;
    margin-right: .5rem;
    user-select: none
}

#estimator-modal .estimator-offer-input .estimator-offer-field {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    line-height: 1.35;
    box-shadow: none !important
}

.estimator-offer-field::placeholder {
    color: var(--text-muted);
    opacity: .7
}

.estimator-offer-field:disabled {
    cursor: not-allowed
}

.estimator-offer-field::-webkit-outer-spin-button,
.estimator-offer-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.estimator-offer-field[type=number] {
    -moz-appearance: textfield
}

.estimator-offer-unit {
    flex: 0 0 5.25rem;
    width: 5.25rem;
    text-align: right;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap
}

.estimator-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: .75rem
}

.estimator-app-hint {
    grid-column: 1 / -1
}

.estimator-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 0 0 auto;
    margin-top: .5rem !important;
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-page);
    z-index: 10
}

.estimator-footer-primary {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: .45rem;
    column-gap: 1.5rem;
    width: 100%
}

.estimator-footer-primary>div {
    display: contents
}

#calc-price-label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: .6875rem !important;
    font-family: var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    font-weight: 600
}

.estimator-delivery .estimator-footer-label {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: .6875rem !important;
    font-family: var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    font-weight: 600;
    text-align: right;
    justify-self: end
}

.estimator-price {
    grid-column: 1;
    grid-row: 2;
    align-self: baseline;
    display: inline-flex;
    align-items: baseline;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1
}

.estimator-price .estimator-price-val {
    font-size: inherit;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1
}

.estimator-price .estimator-price-unit {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: .35rem;
    line-height: 1
}

#calc-timeline-display {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    justify-self: end;
    align-self: baseline;
    display: block;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em
}

.estimator-result-note,
.estimator-review-note {
    display: grid;
    gap: .25rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .8125rem;
    line-height: 1.5
}

#estimator-modal .estimator-result-note p {
    margin: 0 !important;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .6875rem !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4 !important;
    font-weight: 600
}

.estimator-result-note strong,
.estimator-review-note strong {
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600
}

.estimator-result-summary {
    margin-top: .875rem
}

.estimator-result-summary h4 {
    margin-bottom: .5rem;
    font-size: .75rem
}

.estimator-summary-list {
    display: grid;
    max-height: 15rem;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none
}

.estimator-summary-list li {
    padding: .5rem 0;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: .75rem;
    line-height: 1.45;
    overflow-wrap: anywhere
}

.estimator-offer-display {
    margin-top: .875rem;
    padding-top: .875rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .75rem
}

#estimator-modal .estimator-disclaimer {
    margin: 1.5rem 0 0 !important;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .75rem !important;
    line-height: 1.55 !important
}

#estimator-modal #calc-qa-note[hidden]~.estimator-disclaimer,
#estimator-modal .estimator-notes-section:has(#calc-qa-note[hidden]) .estimator-disclaimer {
    margin-top: 0 !important;
    padding-top: 0 !important
}

.estimator-footer-actions {
    display: flex;
    align-items: center;
    gap: .625rem;
    width: 100%
}

.estimator-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    border: 1px solid var(--border-medium);
    border-radius: .5rem;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .16s ease;
    padding: 0
}

.estimator-reset:hover {
    background: transparent;
    border-color: var(--border-active);
    color: var(--text-main)
}

.estimator-reset .btn-icon {
    width: 1rem;
    height: 1rem
}

#estimator-modal #calc-whatsapp-btn {
    flex: 1 1 0;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1px solid var(--border-medium);
    border-radius: .5rem;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .16s ease
}

#estimator-modal #calc-whatsapp-btn:hover:not(:disabled) {
    background: transparent;
    border-color: var(--border-active)
}

[data-theme=light] #estimator-modal #calc-whatsapp-btn:hover:not(:disabled) {
    background-color: #09090b;
    color: #fff;
    border-color: #09090b
}

#estimator-modal #calc-apply-btn {
    flex: 1 1 0;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1px solid var(--btn-bg);
    border-radius: .5rem;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .16s ease
}

#estimator-modal #calc-apply-btn:hover:not(:disabled) {
    background: var(--btn-hover);
    border-color: var(--btn-hover)
}

#estimator-modal #calc-whatsapp-btn:disabled,
#estimator-modal #calc-apply-btn:disabled {
    opacity: .35;
    cursor: not-allowed
}

.estimator-reset:focus-visible,
.estimator-footer-actions .btn:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: 3px
}

@media(max-width:1023px) {
    #estimator-modal .estimator-modal-content {
        width: min(calc(100vw - 2rem), var(--portfolio-modal-width)) !important;
        max-width: var(--portfolio-modal-width) !important;
        height: var(--portfolio-modal-height);
        max-height: var(--portfolio-modal-height) !important;
        padding: 0 !important;
        overflow: clip !important
    }
}

@media(max-width:767px) {
    #estimator-modal .estimator-modal-content {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important
    }

    #estimator-modal .estimator-modal-body {
        padding: 1.25rem calc(1.125rem + env(safe-area-inset-right, 0px)) 1.25rem calc(1.125rem + env(safe-area-inset-left, 0px))
    }

    .estimator-layout {
        gap: 1.25rem;
        font-size: .875rem
    }

    .estimator-section {
        padding: 1.25rem 0
    }

    .estimator-section-heading {
        display: flex;
        align-items: baseline;
        gap: .5rem;
        margin-bottom: .875rem
    }

    .estimator-choice-grid,
    .estimator-choice-grid--platform,
    .estimator-check-grid,
    .estimator-fields-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .estimator-field--wide,
    .estimator-app-hint {
        grid-column: auto
    }

    .estimator-choice-grid--engagement {
        gap: .5rem
    }

    .estimator-choice {
        min-height: 2.75rem
    }

    .estimator-seo-targets {
        margin-left: 0
    }

    .estimator-modal-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem
    }

    .estimator-footer-primary {
        justify-content: space-between
    }

    .estimator-footer-actions {
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        gap: .5rem
    }

    .estimator-price {
        font-size: clamp(1.25rem, 6vw, 1.75rem)
    }

    .estimator-footer-actions .btn {
        min-height: 3rem
    }

    .estimator-footer-actions .estimator-reset {
        width: 3rem;
        height: 3rem
    }

    #estimator-modal .estimator-field .form-input,
    #estimator-modal .estimator-offer-input .form-input,
    #estimator-modal select.form-input {
        font-size: 1rem
    }

    .estimator-help-popover {
        padding: .75rem;
        font-size: .875rem
    }
}

@media(max-width:491px) {

    .estimator-price,
    .estimator-price .estimator-price-val {
        font-size: 1.25rem
    }

    .estimator-footer-actions {
        grid-template-columns: auto 1fr
    }

    #estimator-modal #calc-whatsapp-btn {
        grid-column: 1 / -1;
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    .estimator-choice {
        transition: none
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%
}

#about {
    container-type: inline-size;
    container-name: about-layout
}

@container about-layout (min-width: 68rem) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3.5rem;
        align-items: stretch
    }

    #about .about-workstation-column {
        align-self: start
    }
}

.about-bio-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
    display: flex;
    flex-direction: column;
    gap: var(--about-copy-gap);
    max-width: 68ch
}

.about-copy-stack {
    --about-copy-gap: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.about-focus-group {
    margin-top: 0
}

.about-section-header {
    margin-bottom: 1.25rem
}

.about-bio-actions {
    margin-top: .5rem !important;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.about-bio-actions .btn svg {
    margin-right: 6px
}

.about-workstation-column {
    display: block
}

.about-workspace-figure {
    position: relative;
    margin: 0;
    width: 100%
}

.about-workspace-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: .875rem
}

.about-workspace-cta {
    position: absolute;
    left: .25rem;
    bottom: .25rem;
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .45rem .6rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fafafa;
    cursor: pointer;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .95);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: opacity .16s ease, transform .2s ease
}

.about-workspace-figure:hover .about-workspace-cta,
.about-workspace-figure:focus-within .about-workspace-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: workspace-cta-reveal .24s cubic-bezier(.16, 1, .3, 1) both
}

@keyframes workspace-cta-reveal {
    0% {
        opacity: 0;
        transform: translateY(.35rem) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@media(max-width:1099px)and (hover:none), (max-width:1099px)and (pointer:coarse) {

    .about-workspace-cta,
    .about-workspace-figure:hover .about-workspace-cta,
    .about-workspace-figure:focus-within .about-workspace-cta {
        opacity: 1;
        pointer-events: auto;
        transform: none;
        animation: none
    }
}

.about-workspace-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px
}

@media(prefers-reduced-motion:reduce) {
    .about-workspace-cta {
        transition: none;
        animation: none !important
    }
}

.about-workstation-column .workstation-teaser-card {
    display: none
}

.workstation-teaser-card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: .875rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    transition: border-color .25s ease, box-shadow .25s ease;
    position: relative
}

.workstation-teaser-card:hover {
    border-color: var(--border-medium);
    transform: none;
    box-shadow: var(--shadow-hover)
}

.workstation-teaser-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem
}

.workstation-teaser-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.workstation-teaser-badge-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .625rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    margin-bottom: 1.25rem
}

.workstation-teaser-heading {
    font-family: JetBrains Mono, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -.02em;
    margin: 0 0 .625rem
}

.workstation-teaser-desc {
    font-size: .875rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 1.5rem
}

.workstation-teaser-kpis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: .625rem;
    padding: .875rem 1rem;
    margin-top: auto;
    margin-bottom: 1.5rem
}

.teaser-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1
}

.teaser-kpi-val {
    font-family: JetBrains Mono, monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1
}

.teaser-kpi-lbl {
    font-family: JetBrains Mono, monospace;
    font-size: .5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-faint);
    margin-top: .25rem
}

.teaser-kpi-sep {
    width: 1px;
    height: 1.75rem;
    background: var(--border-subtle)
}

.workstation-teaser-footer {
    margin-top: auto
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color .2s
}

.faq-item.active {
    border-color: var(--border-active)
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: JetBrains Mono, monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left
}

.faq-icon {
    font-family: JetBrains Mono, monospace;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform .2s ease
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-main)
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(.16, 1, .3, 1), padding .2s;
    padding: 0 1.5rem
}

.faq-item.active .faq-content {
    max-height: 400px;
    padding-bottom: 1.25rem
}

.faq-content p {
    font-size: .875rem;
    line-height: 1.7;
    color: var(--text-body)
}

.contact-faq {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle)
}

.contact-faq .section-header {
    text-align: left;
    margin-bottom: 1.75rem
}

.contact-desc {
    margin-bottom: 2rem
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem
}

@media(min-width:900px) {
    .contact-grid {
        grid-template-columns: 5fr 7fr
    }
}

.form-group {
    margin-bottom: 1.25rem
}

.form-label {
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: .375rem
}

.form-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: inherit;
    font-size: .875rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.form-input:focus {
    border-color: var(--border-active)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem
}

@media(min-width:640px) {
    .form-row {
        grid-template-columns: 1fr 1fr
    }
}

#contact-form .btn-primary {
    width: 100%;
    padding: .875rem
}

[hidden],
.modal-overlay[hidden] {
    display: none !important
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--modal-backdrop);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: .75rem;
    width: 100%;
    max-width: 48rem;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-dropdown)
}

.modal-close-btn {
    position: sticky;
    top: .75rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 0 -44px auto;
    padding: 0;
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: .375rem;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease
}

.modal-close-icon {
    display: block;
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1)
}

[data-theme=light] .modal-close-icon {
    filter: none
}

.modal-close-btn:hover,
.modal-close-btn:active {
    background: var(--bg-subtle);
    border-color: var(--border-medium)
}

.modal-close-btn:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

@media(prefers-reduced-motion:reduce) {
    .modal-close-btn {
        transition: none
    }
}

.timeline-modal-content .timeline-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 1.5rem clamp(1.5rem, 4vw, 3.75rem)
}

.timeline-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle)
}

.timeline-modal-note {
    font-size: .8125rem;
    color: var(--text-muted)
}

.timeline-modal-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    background: var(--text-main);
    color: var(--bg-page);
    padding: .75rem 1.25rem;
    border-radius: .5rem;
    font-family: JetBrains Mono, monospace;
    font-size: .8125rem;
    font-weight: 600;
    box-shadow: 0 10px 30px #0000004d;
    animation: toastIn .25s cubic-bezier(.16, 1, .3, 1) forwards
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.workstation-tag {
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-faint);
    text-transform: uppercase
}

.workstation-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    padding: .25rem .625rem;
    border-radius: 9999px
}

:root {
    --rail-w: 320px
}

.shell {
    display: block;
    width: 100%
}

.rail {
    display: none
}

.rail__topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    font-family: JetBrains Mono, monospace !important;
    font-size: .625rem !important
}

.rail__topbar-theme-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important
}

.content-pane {
    width: 100%
}

@media(min-width:1100px) {

    #view-hero:before,
    #view-hero:after {
        left: 50%;
        right: auto;
        width: calc(100vw - var(--rail-w));
        transform: translate(-50%)
    }

    .site-header {
        display: none !important
    }

    .shell {
        display: flex;
        height: 100dvh;
        overflow: hidden;
        width: 100%
    }

    .rail {
        display: block;
        width: var(--rail-w);
        flex: 0 0 var(--rail-w);
        height: 100%;
        position: relative;
        z-index: 700;
        overflow-y: auto;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: var(--bg-surface);
        border-right: 1px solid var(--border-subtle)
    }

    .rail::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important
    }

    .rail__inner {
        display: flex;
        flex-direction: column;
        padding: 1rem 1.5rem .85rem;
        min-height: 100%;
        box-sizing: border-box
    }

    .content-pane {
        flex: 1;
        min-width: 0;
        height: 100%;
        overflow-x: clip;
        overflow-y: auto;
        scroll-behavior: smooth;
        position: relative;
        padding: 0;
        margin-right: 2px
    }

    .modal-overlay {
        left: var(--rail-w)
    }

    .rail__topbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        border: none !important;
        font-family: JetBrains Mono, monospace !important;
        flex-shrink: 0;
        user-select: none;
        box-sizing: border-box
    }

    .rail__topbar-left {
        display: inline-flex;
        align-items: center;
        gap: .65rem;
        white-space: nowrap !important
    }

    .rail__topbar-location {
        font-family: JetBrains Mono, monospace !important;
        font-size: .625rem !important;
        font-weight: 600;
        color: var(--text-faint);
        letter-spacing: .1em;
        text-transform: uppercase;
        white-space: nowrap !important;
        flex-shrink: 0;
        transition: color .2s ease
    }

    .rail__topbar:hover .rail__topbar-location {
        color: var(--text-muted)
    }

    .rail__topbar-clock {
        font-family: JetBrains Mono, monospace !important;
        font-size: .625rem !important;
        font-weight: 500;
        color: var(--text-main);
        letter-spacing: .04em;
        font-variant-numeric: tabular-nums;
        text-transform: uppercase;
        white-space: nowrap !important;
        flex-shrink: 0
    }

    .rail__topbar-right {
        display: inline-flex;
        align-items: center;
        white-space: nowrap !important;
        flex-shrink: 0
    }

    .rail__topbar-theme-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        padding: 0 !important;
        border-radius: 4px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--text-faint) !important;
        cursor: pointer;
        transition: color .2s ease;
        user-select: none;
        line-height: 1
    }

    .rail__topbar-theme-btn:hover {
        color: var(--text-main) !important;
        background: transparent !important
    }

    .rail__topbar-theme-btn:active {
        transform: scale(.88)
    }

    .rail__topbar-theme-btn svg {
        display: block;
        width: 13px;
        height: 13px;
        transition: opacity .2s ease
    }

    .rail__body {
        display: flex;
        flex-direction: column;
        gap: .45rem;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        margin-top: clamp(1rem, 3.3vh, 2rem) !important;
        margin-bottom: 0 !important;
        padding-top: 0;
        flex-shrink: 0
    }

    .rail__profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .65rem;
        width: 100%;
        padding: 0;
        background: transparent;
        border: none !important;
        box-shadow: none !important
    }

    .rail__avatar-wrap {
        position: relative;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        overflow: hidden;
        border: none !important;
        box-shadow: none !important;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        flex-shrink: 0
    }

    [data-theme=light] .rail__avatar-wrap {
        border: none !important;
        box-shadow: none !important
    }

    .rail__avatar-wrap picture {
        display: contents
    }

    .rail__avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        border: none !important;
        box-shadow: none !important
    }

    .rail__bio {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .35rem;
        width: 100%
    }

    .rail__name {
        font-family: JetBrains Mono, monospace;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-main);
        letter-spacing: -.025em;
        line-height: 1.25;
        margin: 0;
        text-align: center
    }

    .rail__title {
        font-family: JetBrains Mono, monospace !important;
        font-size: 10px !important;
        font-weight: 500;
        color: var(--text-faint) !important;
        letter-spacing: .06em;
        text-transform: uppercase;
        line-height: 1.4;
        margin: 0;
        text-align: center;
        border: none !important;
        background: transparent !important
    }

    .rail__specs {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: .5rem;
        margin-bottom: .5rem;
        box-sizing: border-box;
        user-select: text
    }

    .rail__spec-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        padding: .65rem 0;
        border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, .1));
        font-family: Inter, -apple-system, sans-serif;
        line-height: 1.4
    }

    .rail__spec-label {
        color: var(--text-muted, #a1a1aa);
        font-family: Inter, -apple-system, sans-serif;
        font-size: .78125rem;
        font-weight: 400;
        letter-spacing: -.01em;
        text-align: left;
        flex-shrink: 0
    }

    .rail__spec-value {
        color: var(--text-main, #ffffff);
        font-family: Inter, -apple-system, sans-serif;
        font-size: .78125rem;
        font-weight: 600;
        letter-spacing: -.01em;
        text-align: right;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        white-space: nowrap;
        margin-left: auto
    }

    .rail__spec-link {
        color: var(--text-main, #ffffff);
        text-decoration: none;
        transition: color .18s ease
    }

    .rail__spec-link:hover {
        color: var(--accent-primary, var(--text-main))
    }

    .rail__copy-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--text-muted, #a1a1aa);
        cursor: pointer;
        padding: 2px 3px;
        margin-left: 2px;
        border-radius: 4px;
        line-height: 1;
        transition: color .18s ease, background .18s ease, transform .15s ease
    }

    .rail__copy-btn:hover {
        color: var(--accent-primary, var(--text-main));
        background: #ffffff14
    }

    .rail__copy-btn:active {
        transform: scale(.9)
    }

    .rail__copy-email-btn {
        background: transparent;
        border: none;
        padding: 0;
        font: inherit;
        color: inherit;
        cursor: pointer;
        text-align: right
    }

    [data-theme=light] .rail__spec-row {
        border-bottom: 1px solid rgba(0, 0, 0, .09)
    }

    [data-theme=light] .rail__copy-btn:hover {
        background: #0000000d
    }

    .rail__divider {
        width: 100%;
        height: 1px;
        background: var(--border-subtle, rgba(255, 255, 255, .1));
        margin: .85rem 0;
        border: none;
        flex-shrink: 0
    }

    [data-theme=light] .rail__divider {
        background: var(--border-subtle, #e4e4e7)
    }

    .rail__nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        box-sizing: border-box
    }

    .rail__nav-heading {
        font-family: JetBrains Mono, monospace !important;
        font-size: .65rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: .14em !important;
        color: var(--nav-inactive, #a1a1aa) !important;
        text-align: left;
        padding-left: .5rem;
        margin-bottom: .5rem;
        width: 100%;
        box-sizing: border-box;
        user-select: none
    }

    .rail__nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: .35rem;
        width: 100%;
        box-sizing: border-box
    }

    .rail__nav-list li {
        width: 100%;
        margin: 0;
        padding: 0
    }

    .rail__link {
        position: relative;
        display: flex;
        align-items: center;
        gap: .65rem;
        padding: .25rem .5rem .25rem 1rem;
        border-radius: 4px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        text-decoration: none;
        color: var(--nav-inactive, #a1a1aa);
        font-family: JetBrains Mono, monospace;
        font-size: .8125rem;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: .06em;
        text-transform: uppercase;
        transition: color .2s ease, transform .18s ease;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        user-select: none
    }

    .rail__nav-list li:last-child .rail__link,
    .rail__item-list li:last-child .rail__item-link {
        padding-bottom: 0 !important
    }

    .rail__link:before {
        content: "";
        position: absolute;
        left: .2rem;
        top: 50%;
        transform: translateY(-50%) scaleY(.2);
        width: 2.5px;
        height: 16px;
        background: var(--brand-accent, var(--text-main));
        border-radius: 9999px;
        box-shadow: none;
        opacity: 0;
        transition: transform .22s cubic-bezier(.16, 1, .3, 1), opacity .2s ease
    }

    .rail__link:hover {
        color: var(--nav-active-text, #fafafa);
        background: transparent !important
    }

    .rail__link:hover .rail__link-num {
        color: var(--brand-accent, var(--text-main))
    }

    .rail__link:hover .rail__link-label {
        color: var(--nav-active-text, #fafafa);
        transform: translate(2px)
    }

    .rail__link.active,
    .rail__link.is-active {
        background: transparent !important;
        color: var(--nav-active-text, #fafafa) !important;
        box-shadow: none !important
    }

    .rail__link.active:before,
    .rail__link.is-active:before {
        opacity: 1;
        transform: translateY(-50%) scaleY(1)
    }

    .rail__link-num {
        font-family: JetBrains Mono, monospace;
        font-size: .8125rem;
        font-weight: 500;
        font-variant-numeric: tabular-nums;
        color: var(--nav-inactive-num, #8e8e98);
        transition: color .2s ease;
        flex-shrink: 0;
        width: 2ch;
        text-align: left
    }

    .rail__link.active .rail__link-num,
    .rail__link.is-active .rail__link-num {
        color: var(--brand-accent, var(--text-main)) !important;
        font-weight: 700 !important;
        text-shadow: none
    }

    .rail__link-label {
        font-family: JetBrains Mono, monospace;
        font-size: .8125rem;
        font-weight: 500;
        letter-spacing: .08em;
        color: var(--nav-inactive, #a1a1aa);
        transition: color .2s ease, transform .2s ease;
        flex: 1;
        text-align: left
    }

    .rail__link.active .rail__link-label,
    .rail__link.is-active .rail__link-label {
        color: var(--nav-active-text, #fafafa) !important;
        font-weight: 700 !important
    }

    .rail__section {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box
    }

    .rail__section-heading {
        font-family: JetBrains Mono, monospace !important;
        font-size: .65rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: .14em !important;
        color: var(--nav-inactive, #a1a1aa) !important;
        text-align: left;
        padding-left: .5rem;
        margin-bottom: .4rem;
        width: 100%;
        box-sizing: border-box;
        user-select: none
    }

    .rail__item-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: .2rem;
        width: 100%;
        box-sizing: border-box
    }

    .rail__item-list li {
        width: 100%;
        margin: 0;
        padding: 0
    }

    .rail__item-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .28rem .5rem;
        border-radius: 4px;
        text-decoration: none;
        transition: all .18s ease;
        box-sizing: border-box;
        width: 100%;
        cursor: pointer
    }

    .rail__item-left {
        display: flex;
        align-items: center;
        gap: .65rem;
        min-width: 0
    }

    .rail__item-icon {
        display: block;
        width: 14px;
        height: 14px;
        color: var(--text-faint, #94949e);
        flex-shrink: 0;
        transition: color .18s ease
    }

    .rail__item-text {
        font-family: JetBrains Mono, monospace;
        font-size: .725rem;
        font-weight: 400;
        color: var(--text-muted, #a1a1aa);
        letter-spacing: .02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: color .18s ease
    }

    .rail__item-action {
        display: block;
        width: 12px;
        height: 12px;
        color: var(--text-faint, #94949e);
        flex-shrink: 0;
        transition: color .18s ease, transform .18s ease
    }

    .rail__item-link:hover {
        background: #ffffff08
    }

    [data-theme=light] .rail__item-link:hover {
        background: #00000008
    }

    .rail__item-link:hover .rail__item-icon,
    .rail__item-link:hover .rail__item-text {
        color: var(--text-main)
    }

    .rail__item-link:hover .rail__item-action {
        color: var(--brand-accent, var(--text-main));
        transform: translate(2px, -2px)
    }

    .rail__bottom {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        box-sizing: border-box
    }

    .rail__cta-btn {
        width: 100%;
        min-height: 44px;
        margin: 0;
        margin-bottom: clamp(1rem, 3.5vh, 1.2rem) !important;
        margin-top: auto !important;
        padding: .7rem .85rem;
        border-radius: 6px;
        letter-spacing: .12em;
        box-sizing: border-box
    }

    .rail__cta-arrow {
        display: block;
        width: 13px;
        height: 13px;
        transition: transform .2s cubic-bezier(.16, 1, .3, 1)
    }

    .rail__cta-btn:hover .rail__cta-arrow {
        transform: translate(3px)
    }

    .rail__footer {
        margin: 0 !important;
        flex-shrink: 0;
        padding-top: .85rem;
        border-top: 1px solid var(--border-subtle);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box
    }

    .rail__copyright {
        display: inline-flex;
        align-items: center;
        font-family: var(--font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
        font-size: .6875rem !important;
        font-weight: 400 !important;
        color: var(--text-faint) !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.4 !important;
        letter-spacing: -.01em !important;
        white-space: nowrap !important
    }
}

:root {
    --page-content-max: 87.5rem;
    --view-pad-block: 5.625rem;
    --view-pad-inline: clamp(1.5rem, 3.5vw, 3rem);
    --view-header-gap: clamp(.9rem, 1.8vh, 1.4rem)
}

.view-panel {
    display: block;
    opacity: 1;
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    box-sizing: border-box;
    padding: var(--view-pad-block) var(--view-pad-inline) !important;
    border-bottom: none !important;
    scroll-margin-block-start: 0
}

#view-hero {
    min-height: 100dvh
}

.view-panel.section,
.view-panel.hero,
div.view-panel {
    padding: var(--view-pad-block) var(--view-pad-inline) !important;
    border-bottom: none !important
}

.view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    margin: 0 0 var(--view-header-gap);
    flex-shrink: 0
}

.view-index-label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    font-weight: 600;
    line-height: var(--leading-label);
    letter-spacing: .12em;
    color: var(--text-muted)
}

.section-transition {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.5vw, 1.25rem);
    min-width: 0;
    min-height: 2.5rem;
    margin-block: 0;
    padding-inline: var(--view-pad-inline);
    position: relative;
    z-index: 1;
    color: var(--text-faint);
    font: 500 var(--type-label) / var(--leading-label) var(--font-mono);
    letter-spacing: .04em
}

.home-section-transition {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility 0s linear .18s
}

.home-section-transition.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .18s ease
}

.section-transition__next {
    flex: 0 0 auto;
    white-space: nowrap
}

.section-transition__rule {
    height: 1px;
    min-width: 1rem;
    flex: 1 1 auto;
    background: var(--border-subtle)
}

.section-transition__next {
    color: inherit;
    text-decoration: none;
    transition: color .16s ease
}

.section-transition__next:hover {
    color: var(--text-main)
}

.section-transition__next:focus-visible {
    color: var(--text-main);
    outline: 1px solid currentColor;
    outline-offset: 4px
}

@media(max-width:380px) {
    .section-transition {
        gap: .55rem;
        font-size: .6875rem
    }
}

@media(max-width:767px) {
    #view-hero {
        min-height: auto
    }

    #view-hero>.home-scroll-cue {
        display: none
    }

    .home-section-transition {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .home-section-transition,
    .home-section-transition.is-visible {
        transition: none
    }
}

.view-panel .container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0
}

.content-pane {
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.content-pane>main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--page-content-max);
    margin-inline: auto
}

@media(min-width:1100px) {
    .view-panel {
        padding: var(--view-pad-block) var(--view-pad-inline) !important;
        border-bottom: none !important;
        box-sizing: border-box
    }

    #view-hero {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 100dvh;
        max-height: none;
        padding: var(--view-pad-block) var(--view-pad-inline) !important;
        box-sizing: border-box;
        overflow: visible
    }

    #view-hero .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 !important;
        border-bottom: none !important;
        width: 100%
    }

    #view-hero .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0
    }

    #view-hero .status-pill {
        margin-bottom: clamp(.5rem, 1.4vh, 1rem)
    }

    #view-hero .hero-title {
        font-size: clamp(2rem, 2.4vw, 3.4rem);
        line-height: 1.1;
        margin-bottom: clamp(.5rem, 1.3vh, 1rem)
    }

    #view-hero .hero-lead {
        font-size: clamp(.92rem, 1vw, 1.05rem);
        line-height: 1.57;
        margin-bottom: clamp(1rem, 1.9vh, 2rem)
    }

    #view-hero .hero-actions {
        margin-bottom: clamp(.85rem, 1.9vh, 1.4rem);
        gap: .8rem
    }

    #view-hero .hero-platforms {
        padding-top: clamp(.75rem, 1.6vh, 1.25rem);
        gap: clamp(1rem, 1.8vw, 2rem)
    }

    #view-hero .marquee-pill-container {
        margin-top: clamp(.5rem, 1.3vh, 1rem) !important;
        margin-bottom: 0 !important;
        flex-shrink: 0
    }

    .view-panel .container {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0
    }

    #projects {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: var(--view-pad-block) var(--view-pad-inline) !important;
        overflow: visible;
        box-sizing: border-box
    }

    #projects .projects-container {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        max-width: 100%;
        justify-content: flex-start;
        margin: 0;
        padding: 0
    }

    #projects .projects-list-wrapper {
        flex: 0 0 auto;
        min-height: 0;
        overflow: visible
    }

    #projects .projects-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
        align-items: stretch;
        gap: clamp(3rem, 7vh, 6rem);
        overflow: visible
    }

    #projects .project-card {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0;
        display: grid !important;
        grid-template-columns: minmax(0, 1.27fr) minmax(18rem, 1fr) !important;
        gap: clamp(2rem, 3.6vw, 4.75rem) !important;
        align-items: stretch !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        position: relative;
        box-sizing: border-box;
        cursor: default
    }

    [data-theme=light] #projects .project-card {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important
    }

    #projects .project-scroll-shell {
        flex: 1 1 auto;
        height: auto !important;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        align-self: stretch;
        width: 100%;
        border-radius: .625rem;
        border: 1px solid var(--border-subtle);
        box-shadow: none;
        background: var(--bg-surface);
        display: flex;
        flex-direction: column;
        overflow: hidden
    }

    [data-theme=light] #projects .project-scroll-shell {
        border-color: var(--border-subtle);
        box-shadow: none
    }

    #projects .browser-frame-bar {
        min-height: 2.75rem;
        padding: .55rem .875rem;
        background: var(--browser-chrome-bg);
        border-bottom: 1px solid var(--border-subtle)
    }

    [data-theme=light] #projects .browser-frame-bar {
        background: var(--browser-chrome-bg);
        border-bottom-color: var(--border-subtle)
    }

    #projects .browser-dot {
        width: .4375rem;
        height: .4375rem;
        background: var(--terminal-browser-dot) !important
    }

    #projects .project-scroll-frame {
        flex: 1 1 auto;
        height: auto !important;
        min-height: 0;
        position: relative;
        overflow: hidden
    }

    #projects .project-scroll-preview {
        overflow: hidden;
        overscroll-behavior: auto;
        cursor: pointer
    }

    #projects .project-scroll-preview.is-scroll-enabled {
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        cursor: pointer
    }

    #projects .project-body {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: clamp(.25rem, 1vh, .75rem) 0 !important;
        position: relative;
        overflow: visible;
        background: transparent;
        cursor: default;
        user-select: text
    }

    #projects .project-body:before {
        content: none
    }

    #projects .project-meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        margin-bottom: clamp(.4rem, 1vh, .75rem)
    }

    #projects .project-cat {
        font-family: JetBrains Mono, monospace;
        font-size: .75rem;
        font-weight: 500;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--text-muted);
        display: inline-flex;
        align-items: center;
        gap: .5rem
    }

    #projects .project-cat:before {
        content: none
    }

    #projects .project-pass-copy {
        background: transparent;
        border: 0;
        padding: .25rem 0;
        border-radius: 0;
        font-size: .625rem;
        font-family: JetBrains Mono, monospace;
        color: var(--text-faint);
        cursor: pointer;
        transition: all .2s ease
    }

    #projects .project-pass-copy:hover {
        border-color: transparent;
        background: transparent;
        color: var(--text-main)
    }

    #projects .project-title {
        font-size: clamp(2rem, 3.1vw, 3.4rem);
        font-weight: 700;
        letter-spacing: -.045em;
        color: var(--text-main);
        line-height: 1.1;
        margin-bottom: clamp(.65rem, 1.4vh, 1rem)
    }

    #projects .project-desc {
        max-width: 35rem;
        font-size: clamp(.875rem, 1vw, 1rem);
        line-height: 1.7;
        color: var(--text-body);
        margin-bottom: 0;
        flex-grow: 0;
        display: block;
        -webkit-line-clamp: unset
    }

    #projects .project-facts {
        margin-top: clamp(1.1rem, 2.4vh, 1.6rem)
    }

    #projects .project-fact {
        padding: clamp(.65rem, 1.25vh, .9rem) clamp(.75rem, 1vw, 1rem)
    }

    #projects .project-card-footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(1rem, 1.8vw, 1.75rem);
        padding-top: clamp(1.15rem, 2.2vh, 1.6rem);
        border-top: 1px solid var(--border-subtle);
        margin-top: clamp(1rem, 2vh, 1.5rem)
    }

    [data-theme=light] #projects .project-card-footer {
        border-top-color: var(--border-subtle)
    }

    #projects .project-card-footer .btn {
        min-height: 2.625rem;
        padding: .65rem 1rem;
        font-size: .75rem;
        border-radius: .375rem
    }

    #projects .project-detail-group {
        margin-top: clamp(1.05rem, 2vh, 1.45rem);
        padding-top: 0
    }

    #projects .project-facts+.project-detail-group {
        margin-top: clamp(1.25rem, 2.6vh, 1.8rem)
    }

    #projects .project-stack-tags {
        gap: clamp(.3rem, .55vw, .45rem)
    }

    #projects .project-stack-tags li {
        padding: clamp(.28rem, .55vh, .38rem) clamp(.45rem, .65vw, .62rem)
    }

    #projects .project-live-link {
        min-height: 2.625rem;
        padding: .65rem 0
    }

    [data-theme=light] #projects .project-scroll-frame {
        background: #ededee
    }
}

@media(min-width:1100px)and (max-width:1249px) {
    #projects .project-card {
        grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 1fr) !important;
        gap: clamp(1.25rem, 2vw, 1.75rem) !important
    }

    #projects .project-meta-row {
        gap: .4rem
    }

    #projects .project-cat {
        font-size: .6875rem;
        letter-spacing: .07em
    }

    #projects .project-pass-copy {
        font-size: var(--type-label) !important
    }

    #projects .project-card-footer {
        gap: .65rem
    }

    #projects .project-card-footer .btn {
        padding-inline: .7rem;
        font-size: .6875rem !important;
        white-space: nowrap
    }

    #projects .project-title {
        font-size: clamp(1.8rem, 2.7vw, 2.35rem)
    }
}

@media(min-width:1100px)and (max-height:680px) {
    :root {
        --view-header-gap: .65rem
    }

    #projects .project-title {
        font-size: clamp(1.75rem, 2.5vw, 2.5rem);
        margin-bottom: .45rem
    }

    #projects .project-desc {
        font-size: .8125rem;
        line-height: 1.55
    }

    #projects .project-facts {
        margin-top: .75rem
    }

    #projects .project-fact {
        padding: .5rem .625rem
    }

    #projects .project-fact dt {
        margin-bottom: .2rem;
        font-size: .6875rem
    }

    #projects .project-detail-group {
        margin-top: .65rem
    }

    #projects .project-detail-label {
        margin-bottom: .35rem
    }

    #projects .project-stack-tags {
        gap: .3rem
    }

    #projects .project-stack-tags li {
        padding: .25rem .45rem;
        font-size: .6875rem
    }

    #projects .project-card-footer {
        margin-top: .75rem;
        padding-top: .75rem
    }
}

@media(min-width:1100px)and (max-height:800px) {
    #view-hero {
        gap: clamp(.5rem, 1vh, .75rem);
        min-height: 100dvh;
        padding-block: clamp(1.25rem, 4vh, 2rem) !important
    }

    #view-hero .hero .container {
        row-gap: clamp(.5rem, 1.2vh, .75rem)
    }

    #view-hero .hero-text-col {
        gap: clamp(.55rem, 1.2vh, .75rem)
    }

    #view-hero .hero-metric-item {
        padding-block: clamp(.45rem, 1.1vh, .7rem)
    }

    #view-hero .hero-terminal__topbar {
        padding: .55rem .875rem
    }

    #view-hero .hero-terminal__body {
        gap: .45rem;
        padding: clamp(.7rem, 1.4vh, .9rem) 1rem;
        line-height: 1.45
    }

    #view-hero .hero-terminal__command {
        margin-bottom: .2rem
    }
}

.mobile-tabbar,
.mobile-header-status {
    display: none
}

@media(max-width:1099px) {
    :root {
        --view-pad-block: 4.5rem
    }

    .site-header {
        display: block !important
    }

    .header-inner {
        height: auto;
        min-height: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: .75rem;
        row-gap: .35rem;
        padding-block: .55rem
    }

    .mobile-header-status {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-start;
        gap: .5rem;
        color: var(--text-muted);
        font-family: var(--font-mono, "JetBrains Mono", monospace);
        font-size: .625rem;
        font-variant-numeric: tabular-nums;
        letter-spacing: .08em;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap
    }

    .mobile-header-status__location {
        color: var(--text-faint);
        font-weight: 600
    }

    .mobile-header-status__clock {
        color: var(--text-muted);
        font-weight: 500;
        letter-spacing: .04em
    }

    .header-inner>.logo {
        order: 0;
        min-width: 0
    }

    .header-inner>.header-actions {
        order: 1;
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        gap: .75rem
    }

    .nav-desktop,
    .header-wa-btn,
    .header-cta-btn {
        display: none !important
    }

    .mobile-drawer {
        display: none
    }

    .mobile-tabbar {
        position: fixed;
        z-index: 900;
        inset-inline: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        min-height: calc(4.2rem + env(safe-area-inset-bottom, 0px));
        padding: .25rem .375rem calc(.25rem + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-top: 1px solid var(--border-subtle);
        border-radius: 0;
        background-color: var(--header-bg);
        box-shadow: none;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        box-sizing: border-box
    }

    .tabbar__tab {
        min-width: 0;
        min-height: 3.25rem;
        padding: .25rem .125rem;
        border-radius: .25rem;
        color: #d4d4d8
    }

    .tabbar__tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 100%;
        color: var(--text-muted);
        text-decoration: none;
        font-family: var(--font-mono, "JetBrains Mono", monospace);
        font-size: .625rem;
        font-weight: 600;
        letter-spacing: .01em;
        transition: color .2s ease, transform .15s ease;
        position: relative
    }

    .tabbar__icon {
        display: block;
        width: 1.125rem;
        height: 1.125rem;
        object-fit: contain;
        filter: brightness(0) invert(1);
        opacity: .92;
        transition: opacity .2s ease
    }

    .tabbar__tab:active {
        transform: scale(.92)
    }

    .tabbar__tab.active,
    .tabbar__tab.is-active {
        color: #fff;
        font-weight: 600
    }

    .tabbar__tab.active .tabbar__icon,
    .tabbar__tab.is-active .tabbar__icon {
        opacity: 1
    }

    [data-theme=light] .tabbar__tab {
        color: #3f3f46
    }

    [data-theme=light] .tabbar__icon {
        filter: brightness(0)
    }

    [data-theme=light] .tabbar__tab.active,
    [data-theme=light] .tabbar__tab.is-active {
        color: #09090b
    }

    .tabbar__label {
        line-height: 1
    }

    .view-panel {
        padding: var(--view-pad-block) var(--view-pad-inline) !important;
        padding-top: calc(4.5rem + var(--view-pad-block)) !important;
        padding-bottom: calc(var(--view-pad-block) + 5rem + env(safe-area-inset-bottom, 0px)) !important;
        border-bottom: none !important
    }

    #contact.view-panel {
        padding-bottom: calc(5.45rem + env(safe-area-inset-bottom, 0px)) !important
    }
}

@media(min-width:768px)and (max-width:1099px) {
    :root {
        --tablet-header-block-size: calc(3.1rem + 1px);
        --tablet-tabbar-block-size: calc(4.2rem + env(safe-area-inset-bottom, 0px))
    }

    #view-hero {
        min-height: calc(100dvh - var(--tablet-header-block-size) - var(--tablet-tabbar-block-size));
        padding-bottom: var(--view-pad-block) !important
    }
}

@media(max-width:767px) {
    :root {
        --view-pad-block: 50px
    }

    #contact .contact-terminal {
        padding: 24px
    }

    #contact .contact-terminal__dots {
        left: 24px
    }
}

.marquee-pill-container {
    width: 100%;
    margin-top: clamp(1.5rem, 2.5vw, 2.25rem)
}

.home__glass--tools {
    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease
}

[data-theme=light] .home__glass--tools {
    background: transparent;
    border-color: var(--border-subtle);
    box-shadow: none
}

.home__tools {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 1.8vw, 28px);
    min-width: 0;
    width: 100%
}

.home__tools-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: clamp(16px, 1.8vw, 28px);
    border-right: 1px solid var(--border-subtle, rgba(255, 255, 255, .14));
    flex-shrink: 0
}

.home__tools-eyebrow {
    font-family: JetBrains Mono, monospace;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1
}

.home__tools-label {
    font-family: JetBrains Mono, monospace;
    font-size: clamp(.875rem, 1.1vw, 1.05rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text-main);
    white-space: nowrap;
    margin: 0
}

.tools-marquee {
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%)
}

.tools-marquee__track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: toolsMarqueeScroll 40s linear infinite;
    will-change: transform
}

.tools-marquee:hover .tools-marquee__track {
    animation-play-state: paused
}

.tools-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    padding-right: 36px;
    user-select: none;
    cursor: default;
    transition: opacity .2s ease
}

.tools-marquee__item:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background: var(--border-subtle, rgba(255, 255, 255, .14))
}

.tools-marquee__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: transparent !important;
    border: none !important
}

.tools-marquee__icon img {
    display: block;
    width: 22px;
    height: 22px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex-shrink: 0
}

.tools-marquee__icon img.chatgpt-marquee-icon {
    filter: brightness(0) invert(1)
}

[data-theme=light] .tools-marquee__icon img.chatgpt-marquee-icon {
    filter: none
}

.tools-marquee__content {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.tools-marquee__name {
    font-family: JetBrains Mono, monospace;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.15;
    white-space: nowrap;
    transition: color .2s ease
}

.tools-marquee__item:hover .tools-marquee__name {
    color: var(--text-main)
}

.tools-marquee__role {
    font-family: JetBrains Mono, monospace;
    font-size: .5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    line-height: 1;
    white-space: nowrap
}

@keyframes toolsMarqueeScroll {
    0% {
        transform: translate(0)
    }

    to {
        transform: translate(-50%)
    }
}

@media(max-width:767px) {
    #services .service-card {
        padding: 24px
    }

    #about .home__tools-label {
        font-size: 12px !important
    }

    .home__glass--tools {
        border-radius: 10px;
        padding: 24px
    }

    .home__tools {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px
    }

    .home__tools-head {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-right: 0;
        padding-bottom: 24px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }
}

.services-calc-banner {
    margin-top: 3.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 1rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: border-color .25s ease
}

.services-calc-banner:hover {
    border-color: var(--border-medium)
}

.services-calc-banner__content {
    flex: 1
}

.services-calc-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: JetBrains Mono, monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .5rem
}

.services-calc-banner__title {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .375rem;
    line-height: 1.3
}

.services-calc-banner__desc {
    font-size: .875rem;
    color: var(--text-body);
    max-width: 42rem;
    line-height: 1.5;
    margin: 0
}

.services-calc-banner__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    min-height: 44px
}

@media(max-width:768px) {
    .services-calc-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem
    }

    .services-calc-banner__btn {
        width: 100%;
        justify-content: center
    }
}

.estimator-modal-content {
    max-width: 58rem !important;
    max-height: 88vh !important;
    padding: clamp(1.5rem, 3vw, 2.5rem) !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-medium) !important;
    box-shadow: 0 25px 60px -15px #000000b3 !important
}

[data-theme=light] .estimator-modal-content {
    background: #fff !important;
    border: 1px solid var(--border-medium) !important;
    box-shadow: 0 25px 60px -15px #00000026 !important
}

.estimator-modal-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 2.5rem
}

.estimator-modal-header .section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: .35rem
}

.estimator-modal-header .section-desc {
    font-size: .875rem;
    margin: 0
}

.about-timeline-banner {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 1rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: border-color .25s ease
}

.about-timeline-banner:hover {
    border-color: var(--border-medium)
}

.about-timeline-banner__content {
    flex: 1
}

.about-timeline-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: JetBrains Mono, monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .5rem
}

.about-timeline-banner__title {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: .375rem;
    line-height: 1.3
}

.about-timeline-banner__desc {
    font-size: .875rem;
    color: var(--text-body);
    max-width: 42rem;
    line-height: 1.5;
    margin: 0
}

.about-timeline-banner__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    min-height: 44px
}

@media(max-width:768px) {
    .about-timeline-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem
    }

    .about-timeline-banner__btn {
        width: 100%;
        justify-content: center
    }
}

:root {
    --portfolio-modal-width: 52rem;
    --portfolio-modal-height: min(88vh, 58rem)
}

.timeline-modal-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: var(--portfolio-modal-width) !important;
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important;
    padding: 0 !important;
    overflow: hidden !important
}

.timeline-modal-header {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) minmax(0, 65ch) minmax(44px, 1fr);
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: .5rem;
    padding: 1.5rem
}

.timeline-modal-heading {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    text-align: center
}

.timeline-modal-header .portfolio-modal-close {
    grid-column: 3;
    justify-self: end
}

.timeline-modal-header .section-title {
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: var(--type-section);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin-bottom: .35rem
}

#timeline-modal .timeline-modal-header .section-desc {
    max-width: 65ch;
    color: var(--text-muted);
    font-size: .875rem !important;
    line-height: 1.5 !important;
    margin: 0
}

.timeline-wrap:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: -3px
}

.timeline-modal-footer {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: .5rem;
    padding: 1.5rem;
    gap: 1rem
}

.timeline-modal-note {
    max-width: 65ch;
    color: var(--text-muted);
    font-size: .8125rem;
    line-height: 1.45;
    text-align: center
}

.timeline-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem
}

@media(max-width:1099px) {
    #timeline-modal .timeline-modal-content {
        overflow: hidden !important
    }
}

@media(max-width:767px) {
    #timeline-modal .timeline-modal-content {
        height: 100dvh !important;
        max-height: 100dvh !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important
    }

    .timeline-modal-header {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        min-height: calc(4rem + env(safe-area-inset-top, 0px));
        margin-bottom: 1rem;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px))
    }

    .timeline-modal-heading {
        grid-column: auto;
        flex: 1 1 auto;
        width: auto;
        text-align: left
    }

    .timeline-modal-header .portfolio-modal-close {
        grid-column: auto;
        justify-self: auto
    }

    .timeline-modal-header .section-title {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem)
    }

    #timeline-modal .timeline-modal-header .section-desc {
        font-size: .8125rem !important;
        line-height: 1.45 !important
    }

    .timeline-modal-footer {
        align-items: flex-start;
        text-align: left;
        gap: .625rem;
        min-height: calc(4rem + env(safe-area-inset-top, 0px));
        margin-top: 1rem;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px))
    }

    .timeline-modal-note {
        font-size: .75rem;
        text-align: left
    }

    .timeline-modal-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: .5rem
    }

    .timeline-modal-actions .btn {
        min-height: 44px;
        width: 100%;
        align-self: stretch
    }
}

@media(min-width:1100px)and (min-height:706px)and (max-height:860px) {

    .rail__section--links,
    .rail__divider--links {
        display: none
    }
}

@media(min-width:1100px)and (max-height:711px) {

    .rail__section--links,
    .rail__divider--links,
    .rail__section--contact,
    .rail__divider--contact {
        display: none
    }
}

@media(min-width:1100px)and (max-height:590px) {
    .rail__cta-btn {
        margin-top: .75rem !important
    }
}

@media(min-width:1100px)and (min-height:750px)and (max-height:919px) {
    .rail__body {
        flex: 1 1 auto;
        min-height: 0
    }

    .rail__divider--links {
        display: none
    }

    .rail__section--links {
        display: flex;
        align-items: flex-start;
        width: 100%;
        margin-top: .4rem;
        margin-bottom: 0
    }

    .rail__bottom {
        margin-top: auto !important
    }

    .rail__section--links .rail__section-heading {
        display: none
    }

    .rail__section--links .rail__item-list {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: .55rem
    }

    .rail__section--links .rail__item-list li {
        width: auto;
        flex: 0 0 auto
    }

    .rail__section--links .rail__item-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: 30px;
        gap: .35rem;
        padding: 0 .45rem;
        border: 1px solid var(--border-subtle);
        border-radius: 5px
    }

    .rail__section--links .rail__item-link:hover {
        border-color: #fff
    }

    .rail__section--links .rail__item-left {
        gap: .35rem
    }

    .rail__section--links .rail__item-text {
        display: inline;
        font-size: .625rem;
        white-space: nowrap
    }

    .rail__section--links .rail__item-action {
        display: none
    }

    .rail__section--links .rail__item-icon {
        width: 14px;
        height: 14px
    }
}

@media(min-width:1100px)and (max-width:1249px) {
    #view-hero .hero .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: stretch;
        align-content: start;
        gap: clamp(1rem, 2vw, 1.5rem)
    }

    #view-hero .hero-grid {
        display: contents
    }

    #view-hero .hero-text-col {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-sizing: border-box
    }

    #view-hero .hero-terminal-col {
        grid-column: 2;
        grid-row: 2;
        align-items: stretch
    }

    #view-hero .hero-terminal {
        max-width: none;
        height: 100%
    }

    #view-hero .hero-metrics {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
        height: 100%
    }

    #view-hero .hero-metric-item:nth-child(1),
    #view-hero .hero-metric-item:nth-child(2) {
        border-bottom: 1px solid var(--divider-hud)
    }

    #view-hero .hero-metric-item:nth-child(odd) {
        border-right: 1px solid var(--divider-hud)
    }

    #view-hero .hero-metric-item:not(:last-child) {
        border-right: 1px solid var(--divider-hud)
    }
}

:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --type-display: clamp(2rem, 2.6vw, 3.4rem);
    --type-section: clamp(1.5rem, 2vw, 2.25rem);
    --type-subheading: clamp(1.125rem, 1.25vw, 1.375rem);
    --type-tertiary-heading: var(--type-subheading);
    --type-body: 1rem;
    --type-supporting: .875rem;
    --type-label: .75rem;
    --type-control: .875rem;
    --leading-display: 1.1;
    --leading-heading: 1.25;
    --leading-body: 1.65;
    --leading-supporting: 1.5;
    --leading-label: 1.4;
    --control-height: 2.75rem
}

@media(min-width:1024px) {
    :root {
        --type-display: clamp(2rem, 2.6vw, 3.1rem);
        --type-tertiary-heading: clamp(1.125rem, 1.5vw, 1.625rem)
    }
}

html {
    font-family: var(--font-sans)
}

h1:not(.rail__name),
.hero-title,
#projects .project-title {
    font-family: var(--font-mono);
    font-size: var(--type-display) !important;
    line-height: var(--leading-display) !important
}

.rail__name {
    font-size: var(--type-subheading) !important;
    line-height: var(--leading-heading) !important
}

h2,
.section-title {
    font-size: var(--type-section) !important;
    line-height: var(--leading-heading) !important
}

.service-title,
.workstation-teaser-heading,
.about-timeline-banner__title,
.services-calc-banner__title,
.home__tools-label,
h4,
h5,
h6 {
    font-size: var(--type-subheading) !important;
    line-height: var(--leading-heading) !important
}

h3 {
    font-size: var(--type-tertiary-heading) !important;
    line-height: var(--leading-heading) !important
}

p:not(.rail__title):not(.rail__copyright):not(.project-detail-label):not(.projects-slide-count) {
    font-size: var(--type-body) !important;
    line-height: var(--leading-body) !important
}

span {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

.hero-lead,
.section-desc,
.project-desc,
.service-desc,
.about-bio p,
.timeline-modal-header .section-desc,
.estimator-modal-header .section-desc {
    font-size: var(--type-body);
    line-height: var(--leading-body)
}

#projects .project-desc {
    line-height: var(--leading-body)
}

#view-hero .hero-lead {
    font-size: var(--type-body);
    line-height: var(--leading-body)
}

.rail__title {
    font-size: var(--type-label) !important;
    line-height: var(--leading-label) !important
}

.service-list,
.faq-content,
.teaser-desc {
    font-size: var(--type-supporting);
    line-height: var(--leading-supporting)
}

.view-index-label,
.project-cat,
.project-status,
.project-detail-label,
.project-fact dt,
.service-index,
.home__tools-eyebrow,
.teaser-kpi-lbl,
.home__tools-role,
.rail__section-heading,
.rail__nav-heading,
.rail__topbar-location,
.rail__topbar-clock,
.rail__item-text,
.custom-scroll-cue,
#projects .project-pass-copy,
.tools-marquee__role {
    font-size: var(--type-label) !important;
    line-height: var(--leading-label)
}

.browser-frame-bar .custom-scroll-cue {
    font-size: 10px !important;
    line-height: var(--leading-label)
}

.project-stack-tags li,
.tag-badge {
    font-size: var(--type-label)
}

.project-fact dd {
    font-size: var(--type-control);
    line-height: var(--leading-supporting)
}

button:not(.estimator-help-trigger, .rail__legal-btn, .mobile-legal-btn) {
    font-family: var(--font-mono);
    font-size: var(--type-control) !important;
    font-weight: 600;
    line-height: 1.25
}

.faq-trigger {
    font-size: var(--type-control);
    line-height: 1.25
}

.btn {
    height: var(--control-height);
    min-height: var(--control-height);
    padding: .75rem 1.25rem;
    font-size: var(--type-control) !important;
    line-height: 1.2
}

#projects .project-card-footer .btn {
    height: var(--control-height);
    min-height: var(--control-height);
    font-size: var(--type-control) !important
}

@media(min-width:1100px)and (max-width:1249px) {
    #projects .project-cat {
        font-size: .6875rem !important;
        letter-spacing: .07em
    }

    #projects .project-pass-copy {
        font-size: var(--type-label) !important
    }

    #projects .project-card-footer {
        gap: .65rem
    }

    #projects .project-card-footer .btn {
        padding-inline: .7rem;
        font-size: .6875rem !important;
        white-space: nowrap
    }
}

#projects .projects-intro {
    max-width: 56rem
}

#projects .projects-carousel-toolbar[hidden],
#projects .projects-slide-indicators[hidden],
#projects .project-card[hidden] {
    display: none !important
}

#projects.has-project-carousel .projects-carousel-toolbar {
    display: grid;
    grid-template-columns: auto minmax(5rem, 1fr) auto;
    align-items: center;
    gap: clamp(.75rem, 1.8vw, 1.5rem);
    margin-top: clamp(1rem, 1.5vw, 1.5rem)
}

#projects .projects-slide-count {
    margin: 0;
    color: var(--text-muted);
    font: 500 14px/1.2 var(--font-mono);
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums
}

#projects .projects-carousel-arrows {
    display: flex;
    align-items: center;
    gap: .5rem
}

#projects .projects-carousel-arrow {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    padding: 0;
    color: var(--text-hud-value);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease
}

#projects .projects-carousel-arrow:hover {
    background: var(--bg-subtle);
    border-color: var(--border-medium)
}

#projects .projects-carousel-arrow:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

#projects .projects-carousel-arrow svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

#projects.has-project-carousel .projects-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "featured-project";
    align-items: stretch;
    gap: 0;
    min-height: var(--project-slide-height, 0px)
}

.projects-container {
    container-name: projects-content;
    container-type: inline-size
}

#projects .projects-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    background: transparent;
    transition: border-color .25s ease
}

#projects .projects-cta-banner:hover {
    border-color: var(--border-medium)
}

#projects .projects-cta-banner__content {
    flex: 1 1 auto;
    min-width: 0
}

#projects .projects-cta-banner__eyebrow {
    display: block;
    margin-bottom: .5rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: var(--leading-label);
    text-transform: uppercase
}

#projects .projects-cta-banner__title {
    margin: 0 0 .375rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: var(--type-subheading);
    font-weight: 700;
    line-height: var(--leading-heading)
}

#projects .projects-cta-banner__desc {
    max-width: 42rem;
    margin: 0;
    color: var(--text-body);
    font-size: var(--type-body) !important;
    line-height: var(--leading-body)
}

#projects .projects-cta-banner__btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    white-space: nowrap
}

@container projects-content (max-width: 680px) {
    #projects .projects-cta-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem
    }

    #projects .projects-cta-banner__btn {
        width: 100%;
        justify-content: center
    }
}

#projects.has-project-carousel .project-card {
    grid-area: featured-project;
    min-height: var(--project-slide-height, 0px);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    gap: clamp(1.25rem, 3vw, 3.5rem) !important
}

#projects.has-project-carousel .project-card.is-active {
    visibility: visible;
    pointer-events: auto
}

#projects.has-project-carousel .projects-slide-indicators {
    display: flex;
    align-items: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    gap: .35rem;
    margin: 0
}

#projects .projects-slide-indicators span {
    display: block;
    flex: 1 1 0;
    min-width: 1.5rem;
    height: .25rem;
    border-radius: 999px;
    background: var(--bg-subtle);
    transition: background-color .18s ease
}

#projects .projects-slide-indicators span.is-active {
    background: var(--text-main)
}

#projects .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(1.25rem, 2.6vh, 1.75rem)
}

#projects .project-fact {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    padding: .85rem 1rem
}

#projects .project-fact dt {
    order: 1;
    margin: 0;
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .09em;
    color: var(--text-faint)
}

#projects .project-fact dd {
    order: 2;
    font-size: 1rem;
    font-weight: 650
}

#projects .project-technology-group {
    margin-top: clamp(1.25rem, 2.5vh, 1.75rem)
}

#projects .project-card-footer {
    margin-top: clamp(1rem, 2.2vh, 1.5rem);
    padding-top: clamp(1rem, 1.8vh, 1.25rem);
    border-top: 1px solid var(--divider-hud)
}

@media(max-width:767px) {
    #projects.has-project-carousel .project-card {
        gap: 1rem !important
    }

    #projects.has-project-carousel .project-meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem
    }

    #projects.has-project-carousel .project-pass-copy {
        align-self: flex-start
    }

    #projects .projects-carousel-arrow {
        width: 2.25rem;
        height: 2.25rem
    }

    #projects.has-project-carousel .projects-carousel-toolbar {
        grid-template-columns: auto minmax(2.5rem, 1fr) auto;
        gap: .6rem;
        margin-top: 1rem
    }

    #projects.has-project-carousel .projects-slide-indicators {
        gap: .25rem
    }

    #projects .projects-slide-indicators span {
        min-width: .75rem;
        height: .2rem
    }

    #projects .project-fact {
        padding: .75rem
    }
}

#view-hero .hero-title {
    font-size: clamp(2rem, 2.4vw, 3.4rem) !important
}

@media(min-width:1701px) {
    #view-hero .hero-title {
        font-size: 3.1rem !important
    }
}

#projects.has-project-carousel .project-body {
    align-self: stretch;
    flex: 1 1 auto;
    gap: clamp(1rem, 1.5vw, 1.5rem);
    padding-top: 0 !important;
    padding-bottom: 0 !important
}

#projects.has-project-carousel .project-intro-group {
    display: flex;
    flex-direction: column;
    gap: clamp(.35rem, .7vw, .65rem)
}

#projects.has-project-carousel .project-meta-row,
#projects.has-project-carousel .project-title {
    margin-bottom: 0
}

#projects.has-project-carousel .project-facts,
#projects.has-project-carousel .project-technology-group {
    margin-top: 0
}

#projects.has-project-carousel .project-card-footer {
    margin: 0;
    padding-top: 0;
    border-top: 0
}

:root {
    --space-heading-stack: clamp(.75rem, 1.1vw, 1rem);
    --space-title-description: clamp(.5rem, .8vw, .75rem);
    --space-section-flow: clamp(1.75rem, 2.75vw, 2.5rem);
    --space-content-flow: clamp(1rem, 1.5vw, 1.5rem)
}

.section-flow {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow)
}

.section-heading-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-heading-stack)
}

.section-heading-stack>.view-header,
.section-heading-stack>.section-header {
    margin: 0
}

.section-heading-stack>.section-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-title-description)
}

.section-heading-stack>.section-header .section-title,
.section-heading-stack>.section-header .section-desc {
    margin: 0
}

#view-hero {
    display: flex;
    flex-direction: column;
    gap: var(--space-heading-stack)
}

#view-hero>.view-header {
    margin: 0
}

#view-hero .hero-text-col {
    gap: var(--space-content-flow)
}

#view-hero .hero-copy-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-title-description)
}

#view-hero .hero-title,
#view-hero .hero-lead,
#view-hero .hero-actions {
    margin: 0
}

#view-hero .hero .container {
    row-gap: var(--space-section-flow)
}

#view-hero .hero-metrics {
    margin-top: 0
}

#projects.has-project-carousel .project-body {
    gap: 1.5rem
}

#projects.has-project-carousel .projects-carousel-toolbar {
    margin-top: 0
}

#projects.has-project-carousel .project-intro-group {
    gap: clamp(.45rem, .7vw, .625rem)
}

#services .services-grid,
#about .about-grid,
#contact .contact-grid {
    gap: var(--space-section-flow)
}

#contact .contact-grid .section-title {
    margin-bottom: 0
}

#contact .contact-grid .section-desc {
    margin-top: var(--space-title-description)
}

#services .services-calc-banner {
    margin-top: 0
}

#about .about-tools-container {
    display: contents
}

#about .about-tools-container>.view-header {
    order: 0;
    margin: 0 0 calc(var(--space-heading-stack) - var(--space-section-flow))
}

#about .about-grid {
    order: 1
}

#about .about-tools-container>.home__glass--tools {
    order: 2;
    margin-top: 0
}

#about .about-timeline-banner {
    order: 3
}

#contact .contact-faq {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow);
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0
}

#contact>.container.section-flow {
    gap: var(--space-heading-stack)
}

#contact .contact-faq .section-header,
#contact .contact-faq .faq-list {
    display: none
}

@media(max-width:1099px) {
    #view-hero .hero {
        padding: 0 !important
    }

    #view-hero .hero .container {
        display: flex;
        flex-direction: column;
        gap: var(--space-section-flow)
    }
}

@container services-view (max-width: 700px) {
    #services .services-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    #services .services-calc-banner {
        height: auto
    }
}

#contact {
    container-type: inline-size;
    container-name: contact-layout
}

#contact .contact-grid {
    grid-template-columns: minmax(0, .45fr) minmax(0, .55fr);
    align-items: start;
    gap: var(--space-section-flow)
}

#contact .contact-copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow);
    min-width: 0
}

#contact .contact-intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-title-description)
}

#contact .contact-intro .section-title {
    max-width: none;
    margin: 0;
    font-size: var(--type-section) !important;
    line-height: var(--leading-heading) !important;
    letter-spacing: -.035em
}

#contact .contact-intro .contact-desc {
    max-width: 42rem;
    margin: 0;
    font-size: var(--type-body);
    line-height: var(--leading-body)
}

.contact-process {
    display: flex;
    flex-direction: column;
    gap: var(--space-heading-stack);
    margin: 0
}

.contact-eyebrow {
    margin: 0;
    color: var(--text-muted);
    font-family: JetBrains Mono, monospace;
    font-size: var(--type-label) !important;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: var(--leading-label) !important;
    text-transform: uppercase
}

.contact-steps,
.contact-link-list {
    margin: 0;
    padding: 0;
    list-style: none
}

.contact-steps {
    border-top: 1px solid var(--border-subtle)
}

.contact-step {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: .75rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-subtle)
}

.contact-step>div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .35rem;
    row-gap: .1rem
}

.contact-step__number {
    padding-top: .15rem;
    color: var(--text-muted);
    font-family: JetBrains Mono, monospace;
    font-size: .6875rem;
    font-variant-numeric: tabular-nums
}

.contact-step h4 {
    margin: 0;
    color: var(--text-main);
    font-size: var(--type-supporting) !important;
    line-height: var(--leading-supporting) !important;
    font-weight: 700
}

#contact .contact-step p {
    margin: 0;
    color: var(--text-body);
    font-size: .875rem !important;
    line-height: 1.5
}

.contact-step p:before {
    content: "\2014";
    margin-right: .35rem
}

.contact-link-groups {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow);
    margin: 0
}

.contact-links-email {
    display: flex;
    flex-direction: column;
    gap: var(--space-section-flow);
    min-width: 0
}

@media(min-width:768px)and (max-width:1099px) {
    #contact .contact-link-groups {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas: "links-email direct";
        align-items: stretch;
        column-gap: clamp(1.5rem, 4vw, 2.5rem)
    }

    #contact .contact-links-email,
    #contact .contact-link-group--direct {
        min-width: 0
    }

    #contact .contact-links-email {
        grid-area: links-email;
        justify-content: space-between;
        gap: 0
    }

    #contact .contact-link-group--email {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        column-gap: var(--space-heading-stack);
        row-gap: 0;
        width: 100%
    }

    #contact .contact-link-group--email-standalone {
        display: none
    }

    #contact .contact-link-group--direct {
        grid-area: direct;
        height: 100%
    }

    #contact .contact-link-group--direct .contact-terminal {
        flex: 1 1 auto
    }

    #contact .contact-link-group--email .contact-email-row {
        justify-content: flex-end;
        width: 100%
    }

    #contact .contact-terminal__line>span:first-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis
    }
}

.contact-link-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-heading-stack)
}

.contact-link-group--email-tablet {
    display: none
}

.contact-link-group+.contact-link-group {
    margin: 0
}

.contact-link-group .contact-eyebrow {
    margin: 0
}

.contact-link-list {
    border-top: 1px solid var(--border-subtle)
}

.contact-link-list li {
    border-bottom: 1px solid var(--border-subtle)
}

.contact-link-list a {
    display: flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    padding: .55rem 0;
    color: var(--text-main);
    font-family: JetBrains Mono, monospace;
    font-size: .75rem;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease
}

.contact-link-list a:hover {
    color: var(--text-muted)
}

.contact-link-list a:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

.contact-terminal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-heading-stack);
    min-width: 0;
    padding: .95rem;
    border: 1px solid var(--border-subtle);
    border-radius: .625rem;
    background: transparent
}

.contact-terminal__status {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1 1 0;
    min-width: 0;
    padding-top: 1.5rem
}

.contact-terminal__dots {
    position: absolute;
    top: 1rem;
    left: .75rem;
    display: flex;
    align-items: center;
    gap: .35rem
}

.contact-terminal__dots span {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--terminal-browser-dot)
}

.contact-terminal__line {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 1.4em;
    color: var(--text-body);
    font-family: var(--font-mono);
    font-size: var(--type-label);
    line-height: var(--leading-label)
}

.contact-terminal__line>span:first-child {
    white-space: nowrap
}

.contact-terminal__line .term-cursor {
    flex: 0 0 8px
}

.contact-terminal__cta {
    flex: 0 0 auto;
    min-height: var(--control-height);
    text-align: center
}

.contact-link-group--links .contact-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    border: 0
}

.contact-link-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem
}

.contact-email-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    width: 100%;
    min-height: 30px
}

.contact-link-group--email .contact-email-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 30px;
    padding: 0 .45rem;
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: .02em;
    line-height: var(--leading-label);
    background: transparent;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease
}

.contact-link-group--email .contact-email-copy:hover {
    border-color: var(--border-medium);
    background: transparent;
    color: var(--text-main)
}

.contact-link-group--email .contact-email-copy:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

.contact-link-group--email .contact-email-copy svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.contact-email-copy__indicator {
    display: inline-flex;
    align-items: center;
    width: 16px;
    height: 16px;
    flex: 0 0 auto
}

.contact-email-copy__icon {
    position: relative;
    display: inline-grid;
    width: 16px;
    height: 16px
}

.contact-email-copy__icon svg {
    grid-area: 1 / 1;
    opacity: 1;
    transition: opacity .14s ease, transform .14s ease
}

.contact-email-copy__icon .contact-email-copy__check-icon {
    opacity: 0;
    transform: scale(.65) translateY(2px)
}

.contact-email-copy.is-copied {
    border-color: var(--border-medium);
    color: var(--text-main)
}

.contact-email-copy.is-copied .contact-email-copy__copy-icon {
    opacity: 0;
    transform: scale(.8) translateY(-2px)
}

.contact-email-copy.is-copied .contact-email-copy__check-icon {
    opacity: 1;
    animation: contact-email-check-in .32s cubic-bezier(.2, .8, .2, 1) both
}

@keyframes contact-email-check-in {
    0% {
        opacity: 0;
        transform: scale(.55) translateY(2px)
    }

    70% {
        opacity: 1;
        transform: scale(1.14) translateY(0)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

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

.contact-link-group--links .contact-link-list li {
    border: 0
}

.contact-link-group--links .contact-link-list a {
    height: 30px;
    min-height: 30px;
    padding: 0 .45rem;
    gap: .35rem;
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--type-label);
    line-height: var(--leading-label);
    letter-spacing: .02em;
    background: transparent
}

.contact-link-group--links .contact-link-list a:hover {
    border-color: var(--border-medium);
    background: transparent;
    color: var(--text-main)
}

.contact-link-list svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round
}

.contact-link-list .contact-link-icon--fill {
    fill: currentColor;
    stroke: none
}

#contact .contact-form-panel {
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    padding-bottom: clamp(.45rem, 2.5vw, 1.2rem);
    background: transparent;
    border-color: var(--border-subtle)
}

#contact .contact-form-panel form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-content-flow);
    min-width: 0
}

#contact .contact-form-panel .form-input {
    background: transparent;
    border-color: var(--border-subtle)
}

#contact .contact-form-panel .form-input::placeholder {
    color: var(--text-muted);
    opacity: 1
}

#contact .contact-form-panel input.form-input {
    min-height: 2.75rem
}

#contact .contact-form-panel .form-input:focus {
    border-color: var(--border-active)
}

#contact .contact-form-panel .form-group {
    margin: 0
}

#contact .contact-form-panel .form-row {
    gap: var(--space-content-flow)
}

#contact .contact-form-panel .form-label {
    font-size: .8125rem;
    font-weight: 650
}

#contact .contact-form-panel .form-label span {
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 400
}

.contact-services-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0
}

.contact-services-fieldset legend {
    width: 100%;
    margin-bottom: .375rem
}

.contact-services-dropdown {
    position: relative;
    min-width: 0
}

.contact-services-dropdown[open] {
    z-index: 5
}

.contact-services-trigger {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .625rem .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    list-style: none;
    transition: border-color .2s ease, color .2s ease
}

.contact-services-trigger::-webkit-details-marker {
    display: none
}

.contact-services-trigger:after {
    width: .45rem;
    height: .45rem;
    flex: 0 0 auto;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-.125rem) rotate(45deg);
    transition: transform .2s ease
}

.contact-services-dropdown[open]>.contact-services-trigger {
    border-color: var(--border-medium);
    color: var(--text-main)
}

.contact-services-dropdown[open]>.contact-services-trigger:after {
    transform: translateY(.125rem) rotate(225deg)
}

.contact-services-trigger:hover {
    border-color: var(--border-medium);
    color: var(--text-main)
}

.contact-services-trigger:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

.contact-service-options {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + .375rem);
    right: 0;
    left: 0;
    z-index: 5;
    max-height: min(19rem, 45vh);
    overflow-y: auto;
    padding: 0 .8rem;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: var(--bg-page);
    overscroll-behavior: contain
}

.contact-service-option {
    display: flex;
    min-width: 0;
    min-height: 2.25rem;
    align-items: center;
    gap: .625rem;
    padding: .35rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    cursor: pointer;
    font-size: var(--type-label);
    line-height: 1.3;
    transition: color .2s ease
}

.contact-service-option:last-child {
    border-bottom: 0
}

.contact-service-option:hover,
.contact-service-option:has(input:checked) {
    color: var(--text-main)
}

.contact-service-option:hover {
    background: var(--bg-card)
}

.contact-service-option input {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--btn-bg);
    cursor: pointer
}

.contact-service-option input:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 2px
}

.contact-form-hint {
    display: block;
    margin-top: .55rem;
    color: var(--text-muted);
    font-size: .6875rem
}

#contact .contact-form-panel textarea.form-input {
    height: 7.6rem;
    min-height: 7.6rem;
    background: transparent;
    resize: vertical
}

.contact-verification {
    display: none
}

.contact-verification.is-interactive {
    display: block
}

.contact-turnstile {
    width: 100%
}

.contact-submit-group {
    display: flex;
    flex-direction: column;
    gap: .41rem;
    min-width: 0
}

#contact-form .contact-form-note {
    margin: 0;
    color: var(--text-muted);
    font-family: JetBrains Mono, monospace;
    font-size: .625rem !important;
    line-height: 1.5 !important;
    text-align: center
}

@container contact-layout (max-width: 68rem) {
    #contact .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-section-flow)
    }

    #contact .contact-intro .section-title {
        max-width: none
    }
}

@container contact-layout (min-width: 68.01rem) {
    #contact .contact-link-group--email-standalone {
        display: none
    }
}

@media(max-width:520px) {
    .contact-terminal {
        align-items: stretch;
        flex-direction: column;
        row-gap: .95rem
    }

    .contact-terminal__status {
        flex: 0 0 auto;
        width: 100%
    }

    .contact-terminal__cta {
        width: 100%
    }
}

@media(max-width:1249px) {
    #view-hero .hero-terminal__body {
        padding: 1rem;
        font-size: .8125rem;
        line-height: 1.5
    }

    #view-hero .hero-terminal__row {
        gap: .75rem
    }

    #view-hero .term-key {
        min-width: 4.5rem
    }
}

@media(max-width:380px) {
    :root {
        --view-pad-inline: 1rem
    }
}

@media(max-width:320px) {
    :root {
        --view-pad-inline: .75rem
    }

    .about-workspace-cta {
        box-sizing: border-box;
        max-width: calc(100% - .5rem);
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.3
    }

    #projects .project-live-link {
        max-width: 100%;
        white-space: normal
    }

    #projects .project-title {
        font-size: 1.125rem !important;
        line-height: 1.25 !important
    }

    #projects .project-fact {
        padding-inline: .6rem
    }

    #projects .project-fact dt {
        letter-spacing: .07em
    }

    #projects .project-fact dd {
        font-size: .8125rem
    }

    #about .home__tools-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem
    }

    #contact .contact-terminal__line {
        display: block;
        min-height: 2.5rem
    }

    #contact .contact-terminal__line>span:first-child {
        white-space: normal;
        overflow-wrap: anywhere
    }
}

@media(max-width:240px) {
    #view-hero .hero-metrics {
        grid-template-columns: minmax(0, 1fr)
    }
}

@media(prefers-reduced-motion:reduce) {
    .contact-terminal .term-cursor {
        animation: none
    }

    .contact-email-copy__icon svg {
        transition: none;
        animation: none !important
    }
}

@media(max-width:767px) {
    #contact .contact-form-panel {
        padding: 24px
    }

    #contact .contact-link-group--email .contact-email-row {
        align-self: flex-start;
        justify-content: flex-start;
        width: auto
    }

    #contact .contact-link-group--email .contact-email-copy {
        font-size: 12px !important
    }

    #contact .contact-email-copy__indicator,
    #contact .contact-email-copy__icon,
    #contact .contact-link-group--email .contact-email-copy svg {
        width: 16px;
        height: 16px
    }
}

body.modal-open {
    overflow: hidden
}

.modal-overlay {
    z-index: 1200;
    overscroll-behavior: contain
}

.modal-content,
.workstation-modal-content,
.estimator-modal-content,
.timeline-modal-content {
    background-color: var(--bg-page) !important
}

@media(min-width:768px)and (max-width:1099px) {
    :root {
        --portfolio-modal-height: calc(100dvh - 2rem)
    }

    .modal-overlay {
        left: 0;
        padding: 1rem
    }

    .modal-content,
    .workstation-modal-content,
    .estimator-modal-content,
    .timeline-modal-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 58rem;
        max-height: calc(100dvh - 2rem) !important;
        padding: clamp(1.25rem, 3vw, 2rem) !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch
    }

    .timeline-modal-content .timeline-wrap {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        padding: 1.5rem
    }

    #timeline-modal .timeline-modal-content {
        padding: 0 !important
    }
}

@media(max-width:767px) {
    .modal-overlay {
        left: 0;
        align-items: stretch;
        justify-content: stretch;
        padding: 0
    }

    .modal-content,
    .workstation-modal-content,
    .estimator-modal-content,
    .timeline-modal-content {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px)) !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important
    }

    .timeline-modal-content .timeline-wrap {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        padding: 1.25rem calc(1.125rem + env(safe-area-inset-right, 0px)) 1.25rem calc(1.125rem + env(safe-area-inset-left, 0px))
    }
}

#project-modal .project-modal-shell,
#storefront-preview-modal .storefront-viewer-shell {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden
}

#project-modal .project-modal-shell {
    width: 100%;
    max-width: var(--portfolio-modal-width);
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important
}

#storefront-preview-modal .storefront-viewer-shell {
    width: min(92vw, 76rem);
    max-width: 76rem;
    height: min(90dvh, 68rem);
    max-height: calc(100dvh - 2rem) !important
}

.portfolio-modal-shell {
    background-color: var(--bg-page) !important;
    border: 1px solid var(--border-medium);
    border-radius: .75rem;
    box-shadow: 0 25px 60px -15px #000000b3
}

.portfolio-modal-header {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: .5rem
}

.portfolio-modal-footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: .5rem
}

.portfolio-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable
}

.portfolio-modal-close {
    position: static;
    z-index: auto;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    border-color: var(--border-subtle);
    border-radius: .375rem;
    background: var(--bg-page);
    color: var(--text-main)
}

.project-modal-header,
.storefront-viewer-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    background: var(--bg-page)
}

.storefront-viewer-toolbar {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5rem;
    padding: 1.5rem
}

.project-modal-header {
    display: block;
    margin-bottom: .5rem;
    padding: 1.5rem
}

.project-modal-header__main {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    column-gap: clamp(1rem, 2vw, 1.5rem)
}

.project-modal-header__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem
}

.project-modal-eyebrow,
.case-study-section__index,
.case-study-deliverable__index,
.case-study-preview__caption>span,
.project-modal-footer__position {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase
}

.project-modal-eyebrow {
    margin: 0;
    line-height: 1.4;
    letter-spacing: .08em
}

#project-modal .project-modal-eyebrow {
    font-size: var(--type-label) !important;
    line-height: var(--leading-label) !important
}

.portfolio-modal-close-icon {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8
}

#project-modal .project-modal-scroll-area {
    padding: 1.5rem clamp(1.5rem, 4vw, 3.75rem);
    overflow-x: hidden
}

.case-study {
    width: 100%;
    max-width: 69rem;
    margin-inline: auto
}

.project-modal-title {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    overflow-wrap: anywhere
}

.project-modal-header .project-modal-title {
    align-self: flex-start;
    max-width: 23ch
}

.case-study-action-form {
    margin: 0
}

.case-study-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11.5rem;
    min-height: 44px;
    gap: .5rem;
    white-space: nowrap
}

.case-study-preview {
    margin: 0
}

.case-study-preview__frame {
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: .75rem;
    background: var(--bg-surface)
}

.case-study-preview__bar {
    min-height: 3.25rem
}

.case-study-preview__viewport {
    height: clamp(18rem, 34vw, 30rem);
    overflow: hidden;
    background: var(--bg-subtle)
}

.case-study-preview__viewport img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
}

.case-study-preview__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem .125rem 0
}

.case-study-preview__full-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: .5rem;
    padding: .5rem 0;
    border: 0;
    background: transparent;
    color: var(--text-main);
    font: 500 11px / 1.4 var(--font-mono);
    font-size: 11px !important;
    text-align: left;
    cursor: pointer
}

.case-study-preview__full-link svg {
    flex: 0 0 1rem;
    width: .6875rem;
    height: .6875rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
    transition: transform .18s ease
}

.case-study-preview__full-link:hover svg {
    transform: translate(2px)
}

.case-study-sections {
    --case-study-section-space: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: var(--case-study-section-space)
}

.case-study-section {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 1.75rem);
    padding-top: var(--case-study-section-space);
    border-top: 1px solid var(--border-subtle)
}

.case-study-section__index {
    padding-top: .15rem
}

.case-study-section__content {
    min-width: 0
}

.case-study-section__content>h3 {
    margin: 0 0 .8rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    font-weight: 600;
    letter-spacing: .035em;
    line-height: 1.35;
    text-transform: uppercase
}

.case-study-copy {
    max-width: 65ch;
    margin: 0;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.75
}

.case-study-deliverables {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border-subtle)
}

.case-study-deliverable {
    display: grid;
    grid-template-columns: 2.5rem minmax(10rem, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle)
}

.case-study-deliverables>.case-study-deliverable:last-child,
.case-study-feature-architecture>li:nth-last-child(-n+2) {
    padding-bottom: 0
}

.case-study-deliverable__index {
    padding-top: .1rem
}

.case-study-deliverable h4 {
    margin: 0;
    color: var(--text-main);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none
}

.case-study-deliverable p {
    max-width: 58ch;
    margin: 0;
    color: var(--text-body);
    font-size: .9375rem;
    line-height: 1.65
}

.case-study-feature-architecture {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none
}

.case-study-feature-architecture li {
    min-width: 0;
    padding: .9rem 0;
    border-top: 1px solid var(--border-subtle)
}

.case-study-feature-architecture h4 {
    margin: 0 0 .35rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase
}

.case-study-feature-architecture p {
    max-width: 48ch;
    margin: 0;
    color: var(--text-body);
    font-size: .875rem;
    line-height: 1.5
}

.case-study-detail-section+.case-study-detail-section {
    margin-top: .75rem
}

.case-study-detail-list {
    display: flex;
    flex-direction: column;
    margin: 0
}

.case-study-detail-row {
    display: grid;
    grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr);
    align-items: start;
    column-gap: clamp(1.5rem, 3vw, 3rem);
    padding: .75rem 0;
    border-top: 1px solid var(--border-subtle)
}

.case-study-detail-list>.case-study-detail-row:last-child {
    padding-bottom: 0
}

.case-study-detail-label {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: var(--type-supporting);
    font-weight: 600;
    letter-spacing: .035em;
    line-height: var(--leading-supporting);
    text-transform: uppercase
}

.case-study-detail-description {
    max-width: 70ch;
    margin: 0;
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: var(--type-body);
    line-height: var(--leading-body)
}

.case-study-tech-list {
    margin-top: 1.25rem
}

#project-modal .project-modal-title {
    font-family: var(--font-mono) !important;
    font-size: var(--type-section) !important;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: var(--leading-heading) !important
}

#project-modal .case-study-section__content>h3 {
    font-size: 1.125rem !important;
    line-height: 1.35 !important
}

#project-modal .case-study-copy {
    font-size: var(--type-body) !important;
    line-height: var(--leading-body) !important
}

#project-modal .case-study-deliverable p,
#project-modal .case-study-feature-architecture p {
    font-size: var(--type-supporting) !important;
    line-height: var(--leading-supporting) !important
}

#project-modal .case-study-deliverable h4 {
    font-size: var(--type-body) !important;
    line-height: var(--leading-supporting) !important
}

#project-modal .case-study-feature-architecture h4 {
    font-size: var(--type-supporting) !important;
    line-height: var(--leading-supporting) !important
}

.project-modal-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .5rem;
    padding: 1.5rem;
    background: var(--bg-page)
}

.project-modal-footer__navigation {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: auto minmax(2.5rem, 1fr) auto;
    align-items: center;
    gap: clamp(.625rem, 1.5vw, 1rem);
    min-width: 0
}

.project-modal-footer__position {
    min-width: 4.25rem;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-align: left
}

.project-modal-footer__progress {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: .25rem
}

.project-modal-footer__progress-segment {
    flex: 1 1 0;
    height: 4px;
    border-radius: 999px;
    background: var(--bg-subtle);
    transition: background-color .2s ease
}

.project-modal-footer__progress-segment.is-complete {
    background: var(--text-main)
}

.project-modal-footer__controls {
    display: flex;
    align-items: center;
    gap: .5rem
}

.project-modal-nav-btn {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: .375rem;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease
}

.project-modal-nav-btn:hover {
    border-color: var(--border-medium);
    background: var(--bg-subtle)
}

.project-modal-nav-btn:focus-visible,
.portfolio-modal-close:focus-visible,
.case-study-preview__full-link:focus-visible,
.case-study-action:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px
}

.project-modal-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5
}

.project-modal-footer__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0
}

.project-modal-footer__cta[hidden] {
    display: none
}

.storefront-preview-overlay {
    z-index: 1210
}

.storefront-viewer-toolbar h2 {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3
}

.storefront-viewer-scroll-area {
    padding-block: 0;
    background: var(--bg-page)
}

.storefront-viewer-image {
    display: block;
    width: min(100%, 58rem);
    height: auto;
    margin: 0 auto
}

@media(max-width:1099px) {
    .storefront-viewer-scroll-area {
        scrollbar-width: none;
        scrollbar-gutter: auto;
        -ms-overflow-style: none
    }

    .storefront-viewer-scroll-area::-webkit-scrollbar {
        display: none
    }
}

@media(min-width:768px)and (max-width:1099px) {

    .project-modal-header,
    #project-modal .project-modal-scroll-area,
    #estimator-modal .estimator-modal-body,
    .project-modal-footer {
        padding: 1.5rem
    }

    .case-study-section {
        grid-template-columns: 2.5rem minmax(0, 1fr)
    }
}

@media(max-width:767px) {

    #project-modal .project-modal-shell,
    #storefront-preview-modal .storefront-viewer-shell {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important
    }

    .project-modal-header,
    .storefront-viewer-toolbar {
        min-height: calc(4rem + env(safe-area-inset-top, 0px));
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px))
    }

    #project-modal .project-modal-scroll-area {
        padding: 1.25rem calc(1.125rem + env(safe-area-inset-right, 0px)) 1.25rem calc(1.125rem + env(safe-area-inset-left, 0px))
    }

    .case-study-preview__bar {
        min-height: 2.875rem;
        gap: .5rem;
        padding-inline: .625rem
    }

    .case-study-preview__bar .browser-url-bar {
        margin-left: .25rem;
        padding-inline: .625rem;
        font-size: .625rem
    }

    .case-study-preview__viewport {
        height: clamp(15rem, 58vw, 22rem)
    }

    .case-study-preview__caption {
        align-items: center;
        flex-direction: row;
        gap: .5rem;
        padding-top: .75rem
    }

    .case-study-preview__caption>span,
    .case-study-preview__full-link {
        white-space: nowrap
    }

    .case-study-sections {
        --case-study-section-space: 1.25rem
    }

    .case-study-section {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .75rem;
        padding-top: 1.25rem
    }

    .case-study-copy {
        font-size: .9375rem;
        line-height: 1.7
    }

    .case-study-deliverable {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .625rem;
        padding-block: .875rem
    }

    .case-study-deliverable>div {
        grid-column: 2
    }

    .case-study-deliverable p {
        margin-top: .3rem;
        font-size: .875rem
    }

    .case-study-feature-architecture {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 .875rem
    }

    .case-study-detail-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .25rem;
        padding-block: .75rem
    }

    .project-modal-footer {
        align-items: stretch;
        flex-direction: column;
        gap: .625rem;
        min-height: calc(4rem + env(safe-area-inset-top, 0px));
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px))
    }

    .project-modal-footer__navigation,
    .project-modal-footer__cta,
    .project-modal-footer__cta .case-study-action,
    .project-modal-footer__cta .case-study-action-form,
    .project-modal-footer__cta .case-study-action-form .case-study-action,
    .case-study-action,
    .case-study-action-form {
        width: 100%
    }

    .storefront-viewer-toolbar {
        min-height: calc(4.75rem + env(safe-area-inset-top, 0px))
    }

    .storefront-viewer-toolbar h2 {
        font-size: 1rem
    }
}

@media(max-width:380px) {
    .case-study-feature-architecture {
        grid-template-columns: minmax(0, 1fr)
    }
}

@media(prefers-reduced-motion:reduce) {

    .case-study-preview__full-link svg,
    .project-modal-footer__progress-segment,
    .project-modal-nav-btn {
        transition: none
    }
}

@media(max-width:441px) {

    #view-hero .hero-actions,
    #about .about-bio-actions,
    #projects .project-card-footer,
    #projects.has-project-carousel .project-card-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        width: 100%;
        gap: .75rem
    }

    #view-hero .hero-actions>.btn,
    #about .about-bio-actions>.btn,
    #projects .project-card-footer>.btn,
    #projects .project-card-footer>a,
    #projects .project-card-footer>form {
        box-sizing: border-box;
        width: 100%;
        min-width: 0
    }

    #projects .project-card-footer>form {
        display: flex
    }

    #view-hero .hero-actions>.btn,
    #about .about-bio-actions>.btn,
    #projects .project-card-footer .btn {
        height: auto;
        min-height: var(--control-height);
        padding-block: .625rem;
        white-space: normal;
        text-align: center
    }

    #view-hero .hero-actions>.btn,
    #about .about-bio-actions>.btn {
        padding-inline: 1.25rem
    }

    #projects .project-card-footer .btn {
        padding-inline: clamp(.25rem, 1.8vw, .5rem)
    }

    #projects .project-card-footer>form>.btn {
        width: 100%;
        min-width: 0
    }
}

#workstation-modal .workstation-modal-content {
    display: flex;
    flex-direction: column;
    width: min(92vw, var(--portfolio-modal-width));
    max-width: var(--portfolio-modal-width) !important;
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--bg-page) !important
}

.workstation-modal-header {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) minmax(0, 65ch) minmax(44px, 1fr);
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: .5rem;
    padding: 1.5rem;
    background: var(--bg-page)
}

.workstation-modal-heading {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    text-align: center
}

.workstation-modal-header .portfolio-modal-close {
    grid-column: 3;
    justify-self: end
}

.workstation-modal-heading h2 {
    margin: 0 0 .4rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: var(--type-section);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.2
}

.workstation-modal-intro {
    max-width: 65ch;
    margin: 0;
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.5
}

.workstation-modal-body {
    padding: 1.5rem clamp(1.5rem, 4vw, 3.75rem);
    overflow-x: hidden;
    color: var(--text-body)
}

.workstation-modal-body:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: -3px
}

.workstation-hero {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 0 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: .5rem;
    background: var(--bg-subtle)
}

.workstation-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.workstation-section-index {
    padding-top: .15rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--type-label);
    font-weight: 600;
    font-variant-numeric: tabular-nums
}

.workstation-section-content>h3 {
    margin: 0 0 .8rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 1.125rem !important;
    font-weight: 600;
    letter-spacing: .035em;
    line-height: 1.35 !important;
    text-transform: uppercase
}

.workstation-row dt,
.workstation-row dd {
    margin: 0
}

.workstation-row dt {
    color: var(--text-main);
    font-size: var(--type-body);
    font-weight: 600;
    line-height: var(--leading-supporting)
}

.workstation-device-row .case-study-detail-description {
    font-size: 14px
}

.workstation-device-row .case-study-detail-label,
.workstation-specifications-list .workstation-row dt {
    text-transform: uppercase
}

.workstation-specifications-list .workstation-row dt,
.workstation-specifications-list .workstation-row dd {
    font-size: 14px
}

.workstation-specifications-list .workstation-row dt {
    font-family: var(--font-mono)
}

.workstation-row dd {
    max-width: 65ch;
    color: var(--text-body);
    font-size: var(--type-supporting);
    line-height: var(--leading-supporting)
}

.workstation-speeds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0
}

.workstation-modal-footer {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    gap: .75rem;
    margin-top: .5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-page)
}

.workstation-modal-footer .btn {
    text-transform: uppercase
}

.workstation-speed {
    min-width: 0;
    padding: 0 1.25rem .75rem 0
}

.workstation-speed+.workstation-speed {
    padding-left: 1.25rem;
    border-left: 1px solid var(--border-subtle)
}

.workstation-speed dt {
    margin: 0 0 .25rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.workstation-speed dd {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums
}

.workstation-speed dd strong {
    font-size: clamp(1.625rem, 4vw, 2.125rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.1
}

.workstation-speed dd span {
    color: var(--text-muted);
    font-size: .875rem
}

@media(min-width:768px)and (max-width:1099px) {
    #workstation-modal .workstation-modal-content {
        width: min(100%, var(--portfolio-modal-width));
        height: calc(100dvh - 2rem);
        max-height: calc(100dvh - 2rem) !important
    }

    .workstation-modal-body {
        padding: 1.5rem
    }
}

@media(max-width:767px) {
    #workstation-modal .workstation-modal-content {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .workstation-modal-header {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px))
    }

    .workstation-modal-heading {
        grid-column: auto;
        flex: 1 1 auto;
        width: auto;
        text-align: left
    }

    .workstation-modal-header .portfolio-modal-close {
        grid-column: auto;
        justify-self: auto
    }

    .workstation-modal-heading h2 {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem)
    }

    .workstation-modal-intro {
        font-size: .8125rem
    }

    .workstation-modal-body {
        padding: 1.25rem calc(1.125rem + env(safe-area-inset-right, 0px)) 1.25rem calc(1.125rem + env(safe-area-inset-left, 0px))
    }

    .workstation-modal-footer {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
        margin-top: .5rem;
        padding: 1rem calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px))
    }

    .workstation-modal-footer .btn {
        width: 100%;
        align-self: stretch
    }

    .workstation-hero {
        aspect-ratio: 4 / 3;
        margin-bottom: 1.25rem
    }

    .workstation-speed {
        padding-top: 0
    }

    .workstation-speed+.workstation-speed {
        padding-left: .875rem
    }

    .workstation-speed dd strong {
        font-size: clamp(1.5rem, 7vw, 1.875rem)
    }
}

.rail__legal-btn,
.mobile-legal-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: .6875rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: -.01em !important;
    color: var(--text-faint) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color .18s ease;
    white-space: nowrap !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important
}

.rail__legal-btn:hover,
.mobile-legal-btn:hover,
.rail__legal-btn:focus-visible,
.mobile-legal-btn:focus-visible {
    color: var(--text-main) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--border-medium) !important;
    text-underline-offset: 3px !important
}

.mobile-legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-narrow, 52rem);
    margin-top: clamp(.75rem, 2vh, 1.25rem);
    padding-top: 1rem;
    padding-bottom: .25rem;
    border-top: 1px solid var(--border-subtle);
    box-sizing: border-box
}

@media(min-width:1100px) {
    .mobile-legal-bar {
        display: none !important
    }
}

.mobile-legal-copy {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: .6875rem !important;
    font-weight: 400 !important;
    color: var(--text-faint) !important;
    line-height: 1.4 !important;
    letter-spacing: -.01em !important;
    white-space: nowrap !important
}

#legal-modal .legal-modal-shell {
    display: flex;
    flex-direction: column;
    width: min(92vw, var(--portfolio-modal-width));
    max-width: var(--portfolio-modal-width) !important;
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--bg-page) !important;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    box-shadow: var(--shadow-dropdown)
}

.legal-modal-header {
    flex: 0 0 auto;
    padding: 1.25rem 1.5rem 1rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle)
}

.legal-modal-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%
}

.legal-modal-header__nav {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.legal-modal-tab-list {
    display: flex;
    align-items: center;
    gap: .75rem
}

.legal-tab-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: .4rem .85rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .18s ease
}

.legal-tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-medium)
}

.legal-tab-btn.is-active {
    background: var(--bg-subtle);
    color: var(--text-main);
    border-color: var(--text-main);
    font-weight: 600
}

.legal-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.75rem clamp(1.25rem, 3.5vw, 2.5rem);
    color: var(--text-body)
}

.legal-modal-body:focus-visible {
    outline: none
}

.legal-panel {
    display: none
}

.legal-panel.is-active {
    display: block
}

.legal-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle)
}

.legal-title {
    margin: 0 0 .35rem;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text-main)
}

.legal-meta {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--text-faint);
    letter-spacing: .02em
}

.legal-section {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: start
}

.legal-section-idx {
    font-family: var(--font-mono);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-faint);
    padding-top: .2rem
}

.legal-section-body h3 {
    margin: 0 0 .6rem;
    font-family: var(--font-mono);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--text-main)
}

.legal-section-body p {
    margin: 0 0 .85rem;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--text-body)
}

.legal-section-body p:last-child {
    margin-bottom: 0
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: .75rem 0;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.legal-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: .875rem;
    line-height: 1.6;
    color: var(--text-body)
}

.legal-list li:before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--text-faint);
    font-family: var(--font-mono)
}

.legal-list code {
    font-family: var(--font-mono);
    font-size: .8125rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    padding: .15rem .35rem;
    border-radius: 3px;
    color: var(--text-main)
}

.legal-link {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .18s ease
}

.legal-link:hover {
    opacity: .8
}

.legal-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    padding: .85rem 1.5rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle)
}

.legal-footer-note {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .6875rem;
    color: var(--text-faint);
    letter-spacing: .02em
}

@media(max-width:640px) {
    #legal-modal .legal-modal-shell {
        width: 95vw;
        height: 90vh;
        max-height: 90vh !important
    }

    .legal-section {
        grid-template-columns: 1fr;
        gap: .4rem
    }

    .legal-modal-tab-list {
        flex-wrap: wrap;
        gap: .4rem
    }

    .legal-modal-footer {
        flex-direction: column-reverse;
        gap: .75rem;
        align-items: stretch
    }

    .legal-modal-footer .btn {
        width: 100%
    }

    .legal-footer-note {
        text-align: center
    }
}

/* Legal modal rules synchronized from css/style.css */
/* Legal Modal Shell & Structure */
#legal-modal .legal-modal-shell {
    display: flex;
    flex-direction: column;
    width: min(92vw, var(--portfolio-modal-width));
    max-width: var(--portfolio-modal-width) !important;
    height: var(--portfolio-modal-height);
    max-height: var(--portfolio-modal-height) !important;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--bg-page) !important;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    box-shadow: var(--shadow-dropdown);
}

.legal-modal-header {
    flex: 0 0 auto;
    padding: 1.5rem;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-modal-header__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.legal-modal-title {
    grid-column: 2;
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: var(--type-section);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: center;
}

.legal-modal-header .portfolio-modal-close {
    grid-column: 3;
    justify-self: end;
}

.legal-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.legal-tab-btn {
    min-width: 12rem;
    white-space: nowrap;
    background-color: transparent;
}

.legal-tab-btn.is-active {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--text-main);
    box-shadow: 0 0 0 1px var(--text-main);
}

.legal-modal-actions .legal-tab-btn:hover,
.legal-modal-actions .legal-tab-btn:focus-visible {
    background-color: transparent;
}

.legal-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem clamp(1.5rem, 4vw, 3.75rem);
    color: var(--text-body);
}

.legal-modal-body:focus-visible {
    outline: 2px solid var(--border-active);
    outline-offset: -3px;
}

.legal-panel {
    display: none;
}

.legal-panel.is-active {
    display: block;
}

.legal-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    color: var(--text-faint);
    letter-spacing: 0.02em;
    line-height: var(--leading-label);
    text-align: center;
}

.legal-meta span+span::before {
    content: "•";
    display: inline-block;
    margin-inline: 0.75rem;
    color: var(--text-faint);
}

.legal-section {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: start;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-idx {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    font-weight: 600;
    color: var(--text-faint);
    padding-top: 0.2rem;
}

.legal-section-body h3 {
    margin: 0 0 0.6rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: var(--type-subheading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: var(--leading-heading);
}

.legal-section-body {
    max-width: 65ch;
}

.legal-section-body p {
    margin: 0 0 0.85rem;
    font-family: var(--font-sans);
    font-size: var(--type-body) !important;
    line-height: var(--leading-body) !important;
    color: var(--text-body);
}

.legal-section-body p:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-list li {
    position: relative;
    padding-left: 1.25rem;
    font-family: var(--font-sans);
    font-size: var(--type-body);
    line-height: var(--leading-body);
    color: var(--text-body);
}

.legal-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-faint);
    font-family: var(--font-mono);
}

.legal-list code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    color: var(--text-main);
}

.legal-link {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.18s ease;
}

.legal-link:hover {
    opacity: 0.8;
}

.legal-modal-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    flex: 0 0 auto;
    padding: 1.5rem;
    background: var(--bg-page);
    border-top: 1px solid var(--border-subtle);
}

.legal-modal-actions {
    grid-column: 2;
}

@media (min-width: 768px) and (max-width: 1099px) {
    #legal-modal .legal-modal-shell {
        width: min(100%, var(--portfolio-modal-width));
    }

    .legal-modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    #legal-modal .legal-modal-shell {
        width: 100% !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .legal-modal-header {
        padding:
            calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) 1rem calc(1rem + env(safe-area-inset-left, 0px));
    }

    .legal-modal-header__main {
        position: relative;
        display: block;
        gap: 0.75rem;
    }

    .legal-modal-title {
        width: 100%;
        padding-inline: 3.5rem;
        font-size: clamp(1.25rem, 5.5vw, 1.5rem);
        text-align: center;
    }

    .legal-modal-header .portfolio-modal-close {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .legal-modal-body {
        padding:
            1.25rem calc(1.125rem + env(safe-area-inset-right, 0px)) 1.25rem calc(1.125rem + env(safe-area-inset-left, 0px));
    }

    .legal-meta {
        display: grid;
        gap: 0.125rem;
        white-space: normal;
    }

    .legal-meta span+span::before {
        content: none;
        margin: 0;
    }

    .legal-section {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }

    .legal-modal-footer {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        padding:
            1rem calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
    }

    .legal-modal-footer .btn {
        width: 100%;
    }

    .legal-modal-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.5rem;
    }

    .legal-tab-btn {
        min-width: 0;
    }
}