:root {
    color-scheme: dark;
    --brand-600: #232d55;
    --brand-700: #151d3a;
    --brand-800: #11182f;
    --brand-900: #090e1c;
    --brand-950: #050913;
    --accent-500: #ba9a39;
    --accent-ink: #ba9a39;
    --accent-contrast: #090e1c;
    --neutral-0: #ffffff;
    --danger-50: #26121a;
    --danger-500: #e0736c;
    --danger-700: #e0736c;
    --success-50: #0e2119;
    --success-500: #46a877;
    --success-700: #46a877;
    --surface-page: var(--brand-900);
    --surface-deep: var(--brand-950);
    --surface-secondary: var(--brand-800);
    --surface-raised: var(--brand-700);
    --surface-card: var(--surface-page);
    --surface-sunken: var(--surface-deep);
    --surface-control: rgb(255 255 255 / 0.08);
    --surface-control-hover: rgb(255 255 255 / 0.1);
    --surface-field: rgb(5 9 19 / 0.72);
    --ink-strong: rgb(255 255 255 / 0.75);
    --ink-default: rgb(255 255 255 / 0.75);
    --ink-muted: rgb(255 255 255 / 0.6);
    --ink-control: var(--neutral-0);
    --ink-brand: var(--accent-ink);
    --border-subtle: rgb(255 255 255 / 0.12);
    --border-divider: rgb(255 255 255 / 0.25);
    --border-control: rgb(255 255 255 / 0.22);
    --border-field: rgb(255 255 255 / 0.38);
    --border-check: rgb(255 255 255 / 0.42);
    --border-strong: rgb(255 255 255 / 0.5);
    --border-focus: var(--accent-500);
    --focus-ring: rgb(186 154 57 / 0.22);
    --blue-shade: #001a41;
    --header-glass: rgb(0 0 0 / 0.24);
    --nav-panel: rgb(9 14 28 / 0.98);
    --nav-toggle-surface: rgb(9 14 28 / 0.75);
    --footer-gradient: linear-gradient(180deg, #080f1f 0%, #061126 52%, #041636 100%);
    --footer-rule: rgb(255 255 255 / 0.07);
    --frame-edge: rgb(255 255 255 / 0.22);
    --frame-mark: rgb(255 255 255 / 0.72);
    --frame-surface: rgb(255 255 255 / 0.08);
    --social-edge: var(--frame-edge);
    --social-hover: rgb(255 255 255 / 0.075);
    --social-frame: var(--frame-mark);
    --search-edge: rgb(255 255 255 / 0.38);
    --search-surface: rgb(255 255 255 / 0.04);
    --search-icon: rgb(255 255 255 / 0.58);
    --search-placeholder: rgb(255 255 255 / 0.48);
    --tab-edge: #5b5d66;
    --tab-surface: #232732;
    --tab-edge-active: #8c7639;
    --tab-surface-active: #2b2d38;
    --tile-edge: rgb(255 255 255 / 0.35);
    --tile-surface: rgb(255 255 255 / 0.1);
    --tile-mark: rgb(255 255 255 / 0.8);
    --tile-mark-line: rgb(9 14 28 / 0.48);
    --tag-edge: rgb(255 255 255 / 0.25);
    --tag-surface: rgb(255 255 255 / 0.1);
    --card-title: rgb(255 255 255 / 0.8);
    --backdrop: rgb(0 0 0 / 0.65);
    --card-glow: var(--blue-shade);
    --gradient-brand: linear-gradient(180deg,
        var(--brand-900) 0%,
        color-mix(in srgb, var(--brand-900) 30%, transparent) 60%,
        var(--blue-shade) 100%);
    --gradient-card: var(--gradient-brand);
    --gradient-hero: linear-gradient(180deg,
        var(--surface-page) 0%,
        color-mix(in srgb, var(--surface-page) 40%, transparent) 49.5%,
        var(--surface-page) 100%);
    --banner-fade: linear-gradient(180deg, transparent 60%, var(--surface-page) 100%);
    --photo-filter: saturate(0.75) brightness(0.72);
    --photo-position: center 44%;
    --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M1 1.5 10 10.5 19 1.5' fill='none' stroke='%2370737d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5'/%3E%3Cpath d='M0 4.25h3V12H0zM4.25 4.25H7v1.1c.55-.75 1.45-1.25 2.65-1.25C12.1 4.1 13 5.6 13 7.9V12h-2.9V8.6c0-.95-.35-1.65-1.3-1.65-1.05 0-1.8.7-1.8 1.85V12H4.25z'/%3E%3C/svg%3E");
    --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 5.3a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L4.3 8.53a.75.75 0 1 1 1.06-1.06l1.56 1.56 3.72-3.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
    --icon-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2 4.5 8.2 10.5 1.8' fill='none' stroke='%23090e1c' stroke-width='2'/%3E%3C/svg%3E");
    --accent-rule: linear-gradient(90deg,
        var(--accent-500) 0%,
        color-mix(in srgb, var(--accent-500) 78%, transparent) 54%,
        color-mix(in srgb, var(--accent-500) 48%, transparent) 100%);
    --font-heading: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Gibson", "Helvetica Neue", Arial, sans-serif;
    --font-sans: "Gibson", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-copy: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5625rem;
    --text-2xl: 2.125rem;
    --section-title-size: 2.875rem;
    --job-summary-size: 0.9rem;
    --hero-title-size: clamp(1rem, 4.166667vw, 5rem);
    --hero-title-weight: 500;
    --hero-title-leading: 1.05;
    --hero-height: clamp(18rem, 42vh, 26rem);
    --hero-height-full: calc(100svh - var(--header-height));
    --control-size: 1rem;
    --control-leading: 2;
    --control-height: 3.25rem;
    --control-min-width: 12rem;
    --field-height: 4rem;
    --field-area-height: 15.625rem;
    --touch-target: 2.75rem;
    --leading-snug: 1.35;
    --leading-normal: 1.6667;
    --tracking-tight: 0;
    --tracking-caps: 0.045em;
    --tracking-wide: 0.08em;
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3.25rem;
    --space-9: 4.875rem;
    --space-10: 7.5rem;
    --section-space: 7.5rem;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-pill: 0;
    --radius-image: 4px;
    --radius-circle: 50%;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: 0 22px 48px rgb(0 0 0 / 0.55), 0 4px 12px rgb(0 0 0 / 0.35);
    --measure: 68ch;
    --container-narrow: 30rem;
    --container-max: 107.5rem;
    --gutter: 6.25rem;
    --header-height: 4.75rem;
    --brand-scale: 1;
    --ease-out: ease-out;
    --ease-control: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 180ms;
    --duration-base: 300ms;
    --duration-nav: 360ms;
    --duration-control: 420ms;
    --reveal-distance: 100px;
    --reveal-stage-distance: 48px;
    --reveal-duration: 1000ms;
}

@media (min-width: 64em) {
    :root { --header-height: 4.5rem; }
}

@media (max-width: 100em) {
    :root {
        --text-base: 1rem;
        --text-copy: 1rem;
        --text-xl: 1.25rem;
        --text-2xl: 1.875rem;
        --section-title-size: 2.25rem;
        --job-summary-size: 1rem;
        --hero-title-size: clamp(1rem, 3.5vw, 4rem);
    }
}

@media (max-width: 74.9375em) {
    :root {
        --gutter: 4rem;
        --section-space: 6rem;
    }
}

@media (max-width: 66.25em) {
    :root {
        --text-sm: 0.875rem;
        --text-copy: 0.875rem;
        --section-title-size: 1.875rem;
        --job-summary-size: 0.875rem;
    }
}

@media (max-width: 63.9375em) {
    :root {
        --gutter: 2.5rem;
        --section-space: 5rem;
    }
}

@media (max-width: 62em) {
    :root { --section-title-size: 1.5625rem; }
}

@media (max-width: 47.9375em) {
    :root {
        --gutter: 1.5rem;
        --section-space: 4.5rem;
        --photo-position: 45% center;
        --hero-title-size: 1.875rem;
        --text-xl: 1.5625rem;
        --control-size: 0.875rem;
        --control-min-width: 0;
        --field-area-height: 10rem;
        --leading-normal: 1.6471;
    }
}

@media (max-width: 29.9375em) {
    :root { --gutter: 1.25rem; }
}
