:root {
    --ink: #101114;
    --muted: #5c6470;
    --line: #dfe4ea;
    --paper: #ffffff;
    --white: #ffffff;
    --lime: #c7ff45;
    --blue: #2d6bff;
    --coral: #ff6a4d;
    --charcoal: #17191f;
    --shadow: 0 24px 70px rgba(16, 17, 20, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

body {
    --surface: var(--white);
    --page-grid: transparent;
    --page-accent-soft: transparent;
    --page-accent-strong: transparent;
    --hero-scan-a: transparent;
    --hero-scan-b: transparent;
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    position: relative;
    isolation: isolate;
    transition: background 220ms ease, color 220ms ease;
}

main {
    min-height: 75vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

body::after {
    opacity: 0;
}

body.page-home::before {
    background: var(--white);
}

body.page-home::after {
    background: none;
}

body.page-about {
    --surface: var(--white);
}

body.page-about::before {
    background: var(--white);
}

body.page-about::after {
    background: none;
}

body.page-blog {
    --surface: var(--white);
}

body.page-blog::before {
    background: var(--white);
}

body.page-blog::after {
    background: none;
}

body.page-socials {
    --surface: var(--white);
}

body.page-socials::before {
    background: var(--white);
}

body.page-socials::after {
    background: none;
}

body.page-projects {
    --surface: var(--white);
}

body.page-projects::before {
    background: var(--white);
}

body.page-projects::after {
    background: none;
}

body.page-resume {
    --surface: var(--white);
}

body.page-resume::before {
    background: var(--white);
}

body.page-resume::after {
    background: none;
}

main,
footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 10px;
    z-index: 20;
    padding: 0 0 10px;
    background: transparent;
    animation: slideDown 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.nav {
    width: min(100% - 20px, 1440px);
    min-height: 64px;
    display: flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(16, 17, 20, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(16, 17, 20, 0.07);
    -webkit-backdrop-filter: blur(44px) saturate(1.1);
    backdrop-filter: blur(44px) saturate(1.1);
}

.nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.34);
    -webkit-backdrop-filter: blur(56px);
    backdrop-filter: blur(56px);
}

.brand {
    display: inline-flex;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 180ms ease;
}

.brand:hover,
.brand:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: block;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 4px 4px 0 var(--ink);
    object-fit: cover;
    transform-origin: 60% 70%;
    animation: brandPop 720ms 180ms cubic-bezier(0.18, 0.9, 0.26, 1.2) both;
    transition: transform 220ms cubic-bezier(0.18, 0.9, 0.28, 1.2), box-shadow 180ms ease, border-color 180ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
    transform: rotate(-6deg) translate(1px, 1px);
    border-color: var(--blue);
    box-shadow: 3px 3px 0 rgba(45, 107, 255, 0.38);
}

.nav-links {
    display: flex;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    margin: 0 2px 0 auto;
    list-style: none;
}

.theme-toggle-item {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    display: inline-grid;
    position: relative;
    place-items: center;
    border: 1px solid rgba(16, 17, 20, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 20px rgba(16, 17, 20, 0.08);
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: rgba(16, 17, 20, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 24px rgba(16, 17, 20, 0.12);
    outline: none;
    transform: translateY(-2px);
}

.theme-toggle-icon {
    width: 18px;
    height: 18px;
    display: block;
    position: relative;
}

.theme-toggle-label {
    display: none;
}

.theme-toggle-icon::before,
.theme-toggle-icon::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    transition: opacity 220ms ease, transform 220ms ease, background 220ms ease, box-shadow 220ms ease, inset 220ms ease;
}

.theme-toggle-icon::before {
    inset: 2px;
    border-radius: 999px;
    background: transparent;
    box-shadow: inset -5px -3px 0 0 currentColor;
    transform: rotate(-12deg);
}

.theme-toggle-icon::after {
    inset: 5px;
    background: currentColor;
    opacity: 0;
    transform: scale(0.72);
    box-shadow:
        0 -8px 0 -3px currentColor,
        0 8px 0 -3px currentColor,
        8px 0 0 -3px currentColor,
        -8px 0 0 -3px currentColor,
        6px 6px 0 -3px currentColor,
        -6px -6px 0 -3px currentColor,
        6px -6px 0 -3px currentColor,
        -6px 6px 0 -3px currentColor;
}

.nav-links a {
    --nav-accent: 126, 87, 255;
    --nav-accent-soft: 176, 140, 255;
    --nav-x: 50%;
    --nav-y: 50%;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--white);
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a::before {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at var(--nav-x) var(--nav-y), rgba(var(--nav-accent), 0.34), transparent 42%),
        linear-gradient(120deg, rgba(var(--nav-accent), 0.13), rgba(var(--nav-accent-soft), 0.22));
    opacity: 0;
    transform: scaleX(0.62);
    transform-origin: left;
    transition: opacity 200ms ease, transform 240ms cubic-bezier(0.18, 0.9, 0.28, 1);
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border: 1px solid rgba(var(--nav-accent), 0.24);
    border-radius: inherit;
    opacity: 0;
    transform: scaleX(0.72);
    transform-origin: left;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.18, 0.9, 0.28, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
    border-color: rgba(var(--nav-accent), 0.28);
    box-shadow: 0 8px 20px rgba(var(--nav-accent), 0.11);
    outline: none;
    transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before,
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
    color: var(--ink);
    border-color: transparent;
    box-shadow: none;
}

.nav-links a[aria-current="page"]::before {
    opacity: 1;
    transform: scaleX(1);
    background: linear-gradient(120deg, rgba(var(--nav-accent), 0.16), rgba(var(--nav-accent-soft), 0.2));
}

.nav-links a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links a[aria-current="page"]:not(:hover):not(:focus-visible)::after {
    border-width: 1px;
    animation: activeNavInnerBlink 1.55s ease-in-out infinite;
}

.nav-links a[aria-current="page"]:hover,
.nav-links a[aria-current="page"]:focus-visible {
    border-color: rgba(var(--nav-accent), 0.28);
    box-shadow: 0 8px 20px rgba(var(--nav-accent), 0.11);
}

.nav-links a[aria-current="page"]:hover::before,
.nav-links a[aria-current="page"]:focus-visible::before {
    opacity: 1;
    transform: scaleX(1);
    background:
        radial-gradient(circle at var(--nav-x) var(--nav-y), rgba(var(--nav-accent), 0.34), transparent 42%),
        linear-gradient(120deg, rgba(var(--nav-accent), 0.13), rgba(var(--nav-accent-soft), 0.22));
}

.nav-links a[aria-current="page"]:hover::after,
.nav-links a[aria-current="page"]:focus-visible::after {
    border-width: 1px;
    border-color: rgba(var(--nav-accent), 0.24);
    box-shadow: none;
}

.nav-links li:nth-child(1) a {
    --nav-accent: 126, 87, 255;
    --nav-accent-soft: 176, 140, 255;
}

.nav-links li:nth-child(2) a {
    --nav-accent: 45, 107, 255;
    --nav-accent-soft: 93, 156, 255;
}

.nav-links li:nth-child(3) a {
    --nav-accent: 239, 68, 68;
    --nav-accent-soft: 255, 132, 132;
}

.nav-links li:nth-child(4) a {
    --nav-accent: 234, 179, 8;
    --nav-accent-soft: 255, 224, 102;
}

.nav-links li:nth-child(5) a {
    --nav-accent: 249, 115, 22;
    --nav-accent-soft: 255, 172, 92;
}

.nav-links li:nth-child(6) a {
    --nav-accent: 236, 72, 153;
    --nav-accent-soft: 255, 150, 204;
}

.nav-links li:nth-child(7) a {
    --nav-accent: 34, 197, 94;
    --nav-accent-soft: 134, 239, 172;
}

.hero,
.page-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.hero {
    min-height: clamp(480px, 65vh, 680px);
    padding: 64px 0 42px;
}

.page-hero {
    min-height: auto;
    padding: clamp(48px, 6vh, 64px) 0 clamp(42px, 5vh, 54px);
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 40%, var(--hero-scan-a) 47%, transparent 54% 100%),
        linear-gradient(72deg, transparent 0 54%, var(--hero-scan-b) 58%, transparent 64% 100%);
    background-size: 240% 240%, 180% 180%;
}

.hero-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
    gap: 38px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 10px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 3px 3px 0 var(--ink);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: riseIn 760ms 120ms cubic-bezier(0.18, 0.9, 0.28, 1) both;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(199, 255, 69, 0.36);
    animation: pulseDot 1.8s ease-in-out infinite;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 860px;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 4.8vw, 4.8rem);
    line-height: 0.94;
    letter-spacing: 0;
    animation: riseIn 860ms 220ms cubic-bezier(0.18, 0.9, 0.28, 1) both;
}

.accent {
    display: inline;
    background: linear-gradient(90deg, var(--blue), var(--coral), var(--lime), var(--blue));
    background-size: 260% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientSweep 5s ease-in-out infinite;
}

.hero-copy {
    max-width: 690px;
    margin-bottom: 28px;
    color: #323842;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    animation: riseIn 860ms 320ms cubic-bezier(0.18, 0.9, 0.28, 1) both;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 850;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 180ms ease, color 180ms ease, transform 160ms ease, box-shadow 160ms ease, background 180ms ease;
}

.button::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -54%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    transition: left 520ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
    outline: none;
}

.button:hover::after,
.button:focus-visible::after {
    left: 118%;
}

.button.primary {
    background: var(--lime);
}

.button.dark {
    color: var(--white);
    background: var(--ink);
    box-shadow: 4px 4px 0 var(--lime);
}

.hero-panel {
    border: 1px solid var(--ink);
    border-radius: 8px;
    overflow: hidden;
    background: var(--charcoal);
    box-shadow: var(--shadow);
    color: var(--white);
    position: relative;
    animation: panelFloat 5.4s ease-in-out infinite, riseIn 900ms 420ms cubic-bezier(0.18, 0.9, 0.28, 1) both;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 46%, transparent 54% 100%);
    transform: translateX(-120%);
    animation: panelShine 4.8s ease-in-out infinite;
    pointer-events: none;
}

.compact-panel {
    align-self: stretch;
}

.terminal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #bbc3cf;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.78rem;
}

.lights {
    display: flex;
    gap: 7px;
}

.lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--coral);
    animation: lightBlink 2.9s ease-in-out infinite;
}

.lights span:nth-child(2) {
    background: #ffd95a;
    animation-delay: 240ms;
}

.lights span:nth-child(3) {
    background: var(--lime);
    animation-delay: 480ms;
}

.market-card {
    padding: 24px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.metric {
    min-height: 104px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.metric:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 255, 69, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.metric span {
    display: block;
    margin-bottom: 12px;
    color: #aab3bf;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.metric strong {
    font-size: 1.55rem;
    line-height: 1;
}

.ticker {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticker li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.86rem;
    animation: tickerNudge 4s ease-in-out infinite;
}

.ticker li:nth-child(2) {
    animation-delay: 200ms;
}

.ticker li:nth-child(3) {
    animation-delay: 400ms;
}

.ticker li:nth-child(4) {
    animation-delay: 600ms;
}

.ticker li:last-child {
    border-bottom: 0;
}

.up {
    color: var(--lime);
}

.down {
    color: #ff9a86;
}

section {
    padding: 78px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.28fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}

.kicker {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.snapshot-grid,
.project-grid,
.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 46px rgba(16, 17, 20, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 56px rgba(16, 17, 20, 0.12);
}

.info-card,
.route-card,
.post-card,
.quote-card {
    padding: 24px;
}

.card-number,
.post-meta,
.route-card span,
.quote-card span {
    display: block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.info-card p,
.route-card strong,
.post-card p,
.quote-card p {
    color: var(--muted);
}

.hobby-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hobby-card h3 {
    transition: color 180ms ease;
}

.hobby-card:hover h3,
.hobby-card:focus-visible h3 {
    color: var(--blue);
}

.hobby-card:focus-visible {
    outline: 3px solid rgba(45, 107, 255, 0.28);
    outline-offset: 4px;
}

.route-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
}

.route-card strong {
    font-size: 1.08rem;
}

.quote-card {
    align-self: center;
}

.quote-card p {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.12;
}

.photo-card {
    padding: 14px;
    border-radius: 12px;
    overflow: hidden;
    height: fit-content;
    align-self: center;
    box-sizing: border-box;
}

.photo-card .site-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 540px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.photo-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4px 2px;
    color: var(--muted);
    font-size: 0.92rem;
}

.photo-caption strong {
    color: var(--ink);
}

.image-placeholder {
    width: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed rgba(16, 17, 20, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(16, 17, 20, 0.035), transparent 36%),
        rgba(255, 255, 255, 0.72);
    color: var(--muted);
    text-align: center;
}

.image-placeholder span {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.image-placeholder small {
    max-width: 28ch;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-image {
    width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    background: var(--white);
}

.profile-placeholder,
.portrait-placeholder {
    aspect-ratio: 4 / 5;
    max-height: 420px;
    width: 100%;
    object-fit: cover;
}

.landscape-placeholder,
.project-image-placeholder {
    aspect-ratio: 16 / 10;
    min-height: 260px;
}

.featured-project-image {
    aspect-ratio: 2940 / 1600;
    min-height: 260px;
    object-fit: contain;
}

.project-image-caption {
    padding: 0px 4px 2px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
}

.work-lab section {
    padding: clamp(54px, 7vw, 96px) 0;
}

.project-lab-hero {
    min-height: calc(88vh - 72px);
    display: grid;
    align-items: center;
    padding-top: clamp(96px, 12vh, 146px);
}

.project-lab-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.project-lab-copy {
    max-width: 900px;
}

.project-lab-title {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(5.2rem, 12vw, 11.5rem);
    line-height: 0.82;
    letter-spacing: 0;
}

.project-lab-intro {
    max-width: 42rem;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 750;
}

.project-lab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.project-console {
    overflow: hidden;
    border-color: var(--ink);
    background: #101114;
    color: #f4f7fb;
    box-shadow: 14px 14px 0 #c7ff45;
}

.project-console-top {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.project-console-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f4f7fb;
    opacity: 0.82;
}

.project-console-top span:nth-child(2) {
    background: var(--coral);
}

.project-console-top span:nth-child(3) {
    background: var(--lime);
}

.project-console-body {
    display: grid;
    gap: 12px;
    padding: clamp(22px, 4vw, 34px);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.project-console-body p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(244, 247, 251, 0.9);
    font-size: 0.92rem;
}

.project-console-body p:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.project-console-body span {
    color: var(--lime);
    font-weight: 900;
}

.project-feature-section {
    padding-top: 0;
}

.project-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 0.56fr) minmax(320px, 0.44fr);
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--ink);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(45, 107, 255, 0.08), transparent 48%),
        var(--white);
    box-shadow: var(--shadow);
}

.project-feature-media {
    padding: 12px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: #f4f7fb;
}

.project-feature-media .site-image {
    min-height: 320px;
}

.project-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-feature-meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(16, 17, 20, 0.035);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.project-feature-copy h2 {
    max-width: 10ch;
    margin-bottom: 18px;
    font-size: clamp(3rem, 6vw, 6.8rem);
    line-height: 0.86;
}

.project-feature-copy p {
    color: var(--muted);
    font-size: 1.02rem;
}

.project-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 4px;
}

.project-spec-grid span {
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.88rem;
}

.project-spec-grid strong {
    color: var(--ink);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-origin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
    gap: clamp(18px, 4vw, 36px);
    align-items: stretch;
}

.project-origin-card {
    padding: clamp(24px, 4vw, 36px);
    background: #101114;
    color: #f4f7fb;
}

.project-origin-card .kicker {
    color: var(--lime);
}

.project-origin-card h2 {
    max-width: 9ch;
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 6vw, 6rem);
    line-height: 0.88;
}

.project-origin-card p {
    color: rgba(244, 247, 251, 0.78);
}

.project-origin-card .text-link {
    color: #f4f7fb;
}

.project-commit-stack {
    display: grid;
    gap: 12px;
    align-content: center;
}

.project-commit-line {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 116px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 106, 77, 0.12), transparent 34%),
        var(--white);
}

.project-commit-line span {
    color: var(--blue);
    font-weight: 950;
    letter-spacing: 0.02em;
}

.project-commit-line p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.project-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.project-catalog-toolbar div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.project-catalog-toolbar div span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.76rem;
}

.project-catalog-list {
    display: grid;
    gap: 10px;
}

.project-catalog-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(170px, 0.24fr);
    gap: 18px;
    align-items: center;
    min-height: 142px;
    padding: 18px;
    background:
        linear-gradient(90deg, rgba(16, 17, 20, 0.035), transparent 38%),
        var(--white);
}

.project-catalog-type {
    display: inline-grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--lime);
    color: #101114;
    font-size: 0.78rem;
    font-weight: 950;
}

.project-catalog-main h3 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem, 2.7vw, 2.2rem);
    line-height: 1;
}

.project-catalog-main p {
    max-width: 62rem;
    color: var(--muted);
}

.project-catalog-main .tags {
    margin: 0;
    padding-top: 6px;
}

.project-catalog-side {
    display: grid;
    justify-items: end;
    gap: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 850;
    text-align: right;
}

.project-system-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.project-system-heading {
    display: grid;
    align-content: center;
    min-height: 220px;
    padding-right: 24px;
}

.project-system-heading h2 {
    max-width: 8ch;
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    line-height: 0.9;
}

.project-principle {
    min-height: 220px;
    padding: 22px;
}

.project-principle p {
    color: var(--muted);
}

/* ==========================================================================
   PROJECTS PAGE: CONSTRUCTION & BLUEPRINT THEME
   ========================================================================== */

.page-projects {
    --blueprint-line: rgba(15, 76, 129, 0.08);
    --safety-orange: #ff5500;
    --blueprint-bg: #f5f7fa;
    --metal-plate: #eef1f6;
    background-color: var(--blueprint-bg);
}

html[data-theme="dark"] .page-projects {
    --blueprint-line: rgba(255, 255, 255, 0.035);
    --safety-orange: #ff6611;
    --blueprint-bg: #0a0e14;
    --metal-plate: #161b22;
}

html[data-theme="dark"] body.page-projects .blueprint-desk {
    background-color: var(--blueprint-bg);
}

html[data-theme="dark"] body.page-projects .drafting-desk-header,
html[data-theme="dark"] body.page-projects .scaffold-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: #10141c;
    color: var(--ink);
    box-shadow: 5px 5px 0 #030508;
}

html[data-theme="dark"] body.page-projects .scaffold-card:hover {
    box-shadow: 7px 7px 0 #030508;
}

html[data-theme="dark"] body.page-projects .blueprint-meta-strip,
html[data-theme="dark"] body.page-projects .blueprint-image-container {
    border-color: rgba(255, 255, 255, 0.18);
    background: var(--metal-plate);
}

html[data-theme="dark"] body.page-projects .blueprint-image-container img {
    opacity: 0.9;
}

html[data-theme="dark"] body.page-projects .blueprint-dimension-tag {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 6, 8, 0.88);
    color: #f4f7fb;
}

html[data-theme="dark"] body.page-projects .spec-badge {
    border-color: rgba(255, 255, 255, 0.28);
    background: #181e28;
    color: #c4cedb;
}

html[data-theme="dark"] body.page-projects .blueprint-spec-list {
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] body.page-projects .blueprint-spec-item strong,
html[data-theme="dark"] body.page-projects .sitelog-title h3,
html[data-theme="dark"] body.page-projects .sitelog-status {
    color: var(--ink);
}

html[data-theme="dark"] body.page-projects .sitelog-section-header {
    border-color: rgba(255, 255, 255, 0.24);
}

html[data-theme="dark"] body.page-projects .hazard-divider {
    border-color: rgba(255, 255, 255, 0.24);
}



.blueprint-desk {
    position: relative;
    padding: clamp(36px, 5vh, 54px) 0 clamp(48px, 6vh, 84px);
    /* Graph paper blueprint background grid */
    background-image: 
        linear-gradient(var(--blueprint-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
    background-size: 24px 24px;
}

.blueprint-desk .shell {
    width: min(1380px, calc(100% - 48px));
    max-width: 100%;
    margin: 0 auto;
}

/* Hazard Warning Stripe Accent Divider */
.hazard-divider {
    height: 12px;
    width: 100%;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    background: repeating-linear-gradient(
        -45deg,
        #ffd200,
        #ffd200 8px,
        #101114 8px,
        #101114 16px
    );
}

html[data-theme="dark"] .hazard-divider {
    background: repeating-linear-gradient(
        -45deg,
        #ff6611,
        #ff6611 8px,
        #0d1117 8px,
        #0d1117 16px
    );
}

/* Scaffold Architectural Card */
.scaffold-card {
    position: relative;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--white);
    box-shadow: 5px 5px 0 var(--ink);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.scaffold-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ink);
}

/* Tech Spec Badges */
.spec-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px dashed var(--ink);
    border-radius: 3px;
    background: var(--metal-plate);
    color: var(--muted);
    font-family: monospace;
    font-size: 0.74rem;
    font-weight: 780;
}

/* Dotted corner markers and crosshairs */
.blueprint-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    font-family: monospace;
    line-height: 1;
    pointer-events: none;
}
.blueprint-corner.top-left { top: 6px; left: 6px; }
.blueprint-corner.top-right { top: 6px; right: 6px; }
.blueprint-corner.bottom-left { bottom: 10px; left: 6px; }
.blueprint-corner.bottom-right { bottom: 10px; right: 6px; }

/* Construction blueprint metadata block */
.blueprint-meta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ink);
    background: var(--metal-plate);
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--muted);
}

.blueprint-meta-strip span strong {
    color: var(--safety-orange);
}

/* Projects Drafting Header */
.drafting-desk-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--white);
    padding: 24px 28px;
    box-shadow: 5px 5px 0 var(--ink);
    position: relative;
    margin-bottom: 28px;
}

.drafting-info h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.0;
    margin: 0 0 12px;
}

.drafting-info p {
    color: var(--muted);
    margin: 0;
    max-width: 48rem;
    font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.drafting-coordinates {
    font-family: monospace;
    font-size: 0.76rem;
    color: var(--muted);
    text-align: right;
    display: grid;
    gap: 4px;
}

.drafting-coordinates span strong {
    color: var(--safety-orange);
}

/* Overview layout */
.blueprint-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 34px;
}

.project-blueprint-panel {
    display: flex;
    flex-direction: column;
}

.blueprint-image-container {
    position: relative;
    border-bottom: 1px solid var(--ink);
    background: var(--metal-plate);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blueprint-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blueprint-dimension-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--ink);
    color: var(--surface);
    font-family: monospace;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 750;
    letter-spacing: 0.05em;
}

.scaffold-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.scaffold-card-body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.1;
    margin: 0;
}

.scaffold-card-body p {
    color: var(--muted);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
}

/* Blueprint timeline/specs inside card */
.blueprint-spec-list {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.blueprint-spec-item {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--muted);
}

.blueprint-spec-item strong {
    color: var(--ink);
}

/* Site Log / Catalog Section */
.sitelog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
}

.sitelog-section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: 0;
}

.sitelog-section-header p {
    color: var(--muted);
    margin: 0;
    font-size: 0.94rem;
}

.sitelog-list {
    display: grid;
    gap: 12px;
}

.sitelog-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 140px 100px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
}

.sitelog-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 0.76rem;
    font-weight: 800;
}

.sitelog-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--safety-orange);
}

.sitelog-status-dot.active {
    background-color: #00cc66;
}

.sitelog-title h3 {
    margin: 0 0 4px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.sitelog-title p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.sitelog-tech {
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--muted);
}

.sitelog-link {
    text-align: right;
}

@media (max-width: 880px) {
    .blueprint-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .sitelog-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 16px;
    }
    
    .sitelog-status {
        grid-column: 1;
    }
    
    .sitelog-tech {
        grid-column: 1;
    }
    
    .sitelog-link {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: center;
    }
}

@media (max-width: 680px) {
    .drafting-desk-header {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .drafting-coordinates {
        text-align: left;
    }
}

.card-image-placeholder {
    min-height: 150px;
    margin-bottom: 18px;
}

.hobby-cover-image {
    height: 170px;
    object-fit: cover;
}

.about-film-hero {
    min-height: auto;
    padding: 54px 0 42px;
}

.about-film-stack {
    width: min(1400px, calc(100% - 48px));
    max-width: 1400px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    justify-items: center;
    gap: 16px;
}

.about-hero-title {
    width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
}

.about-hero-title h1 {
    max-width: none;
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.8rem, 8.5vw, 8.5rem);
    font-weight: 500;
    line-height: 0.9;
    white-space: nowrap;
}

.about-photo-reel {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    position: relative;
    padding: 0;
    border-color: #050608;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.06)),
        #0b0c10;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 18px 32px rgba(0, 0, 0, 0.42),
        inset 0 -18px 32px rgba(0, 0, 0, 0.42),
        0 22px 56px rgba(16, 17, 20, 0.16);
}

.about-photo-section {
    width: 100%;
    max-width: 1400px;
    margin-top: 18px;
    display: grid;
    justify-items: center;
}

.about-photo-track {
    width: max-content;
    min-height: 350px;
    display: flex;
    position: relative;
    gap: 18px;
    align-items: center;
    padding: 42px 18px;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 220ms ease;
    will-change: transform;
}

.about-photo-track.is-film-ready {
    opacity: 1;
}

.about-photo-track.is-stepping {
    transition: transform 420ms cubic-bezier(0.18, 0.9, 0.28, 1);
}

.about-photo-track::before,
.about-photo-track::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    height: 16px;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 16px,
            rgba(255, 255, 255, 0.9) 16px 30px,
            transparent 30px 50px
        );
    opacity: 0.92;
}

.about-photo-track::before {
    top: 13px;
}

.about-photo-track::after {
    bottom: 13px;
}

.about-reel-image {
    width: clamp(270px, 30vw, 390px);
    height: clamp(200px, 22vw, 286px);
    flex: 0 0 auto;
    border: 10px solid #fff;
    border-radius: 7px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.72),
        0 16px 28px rgba(0, 0, 0, 0.34);
    background: #fff;
    object-fit: cover;
}

.about-film-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.film-control,
.film-toggle {
    position: absolute;
    pointer-events: auto;
    border: 1px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 246, 250, 0.62)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(16, 17, 20, 0.22)) border-box;
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 16px 34px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(34px) saturate(1.12);
    backdrop-filter: blur(34px) saturate(1.12);
    transition: color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.film-control {
    top: 50%;
    width: 50px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.12rem;
}

.film-control-prev {
    left: 14px;
    transform: translateY(-50%);
}

.film-control-next {
    right: 14px;
    transform: translateY(-50%);
}

.film-toggle {
    right: auto;
    bottom: 8px;
    left: 50%;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    color: #15171c;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    transform: translateX(-50%);
}

.film-toggle-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
    animation: filmStatusBlink 1.45s ease-in-out infinite;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.film-toggle.is-paused .film-toggle-dot {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
    transform: scale(0.86);
}

.film-control:hover,
.film-control:focus-visible,
.film-toggle:hover,
.film-toggle:focus-visible {
    color: var(--blue);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 244, 255, 0.76)) padding-box,
        linear-gradient(135deg, rgba(45, 107, 255, 0.58), rgba(255, 255, 255, 0.72)) border-box;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 18px 36px rgba(45, 107, 255, 0.22);
}

.film-control-prev:hover,
.film-control-prev:focus-visible {
    transform: translate(-2px, -50%);
}

.film-control-next:hover,
.film-control-next:focus-visible {
    transform: translate(2px, -50%);
}

.film-toggle:hover,
.film-toggle:focus-visible {
    transform: translate(-50%, -2px);
}

.film-control:active,
.film-toggle:active {
    box-shadow: 0 7px 14px rgba(16, 17, 20, 0.1);
}

.film-control-prev:active {
    transform: translate(0, -50%);
}

.film-control-next:active {
    transform: translate(0, -50%);
}

.film-toggle:active {
    transform: translateX(-50%);
}

.about-text-reel {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.about-text-reel.is-dragging {
    cursor: grabbing;
}

.about-text-reel:hover .about-text-track,
.about-text-reel:focus-within .about-text-track,
.about-text-reel.is-dragging .about-text-track {
    animation-play-state: paused;
}

.about-text-track {
    width: max-content;
    display: flex;
    gap: 42px;
    align-items: center;
    padding: 16px 0;
    transform: translateX(0);
    will-change: transform;
}

.about-text-track span {
    flex: 0 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.0rem, 1.7vw, 1.48rem);
    font-style: italic;
    line-height: 1.35;
    white-space: nowrap;
    color: #2d3138;
}

.feature-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.feature-strip p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.project-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-visual {
    min-height: 142px;
    padding: 18px;
    border-bottom: 1px solid var(--ink);
    background:
        radial-gradient(circle at 20% 24%, rgba(199, 255, 69, 0.7), transparent 20%),
        linear-gradient(135deg, rgba(45, 107, 255, 0.95), rgba(255, 106, 77, 0.82));
    background-size: 180% 180%, 160% 160%;
}

.mini-window {
    height: 104px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 12px 12px 0 rgba(16, 17, 20, 0.26);
    position: relative;
    overflow: hidden;
}

.mini-window::before {
    content: "";
    position: absolute;
    inset: 16px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 38%, transparent 38% 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.48) 0 64%, transparent 64% 100%),
        linear-gradient(90deg, rgba(199, 255, 69, 0.78) 0 48%, transparent 48% 100%);
    background-size: 100% 10px, 100% 10px, 100% 10px;
    background-position: 0 0, 0 28px, 0 56px;
    background-repeat: no-repeat;
}

.mini-window::after {
    content: "";
    position: absolute;
    inset: -30% auto -30% -52%;
    width: 44%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
    transform: skewX(-16deg);
    animation: miniShine 3.8s ease-in-out infinite;
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
    line-height: 1.15;
}

.project-body p,
.about-copy p,
.resume-copy p {
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 18px;
    padding-top: 12px;
}

.tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f4f7fb;
    color: #354052;
    font-size: 0.8rem;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease;
}

.tag:hover {
    transform: translateY(-2px);
    background: #eef7d3;
}

.text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.project-case-hero {
    padding: 86px 0 42px;
}

.project-case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
    gap: 28px;
    align-items: center;
}

.project-case-hero h1 {
    max-width: 11ch;
    margin-bottom: 20px;
    font-size: clamp(4.2rem, 8vw, 7.8rem);
    line-height: 0.92;
}

.back-link {
    margin-bottom: 18px;
}

.case-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.case-meta-grid span {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.86rem;
}

.case-meta-grid strong {
    color: var(--ink);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-case-preview {
    padding: 14px;
}

.case-study-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
    gap: 18px;
    align-items: start;
}

.case-study-main,
.case-fact-card {
    padding: 24px;
}

.case-study-main h2 {
    max-width: 13ch;
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.94;
}

.case-study-main p,
.case-fact-card p,
.case-list,
.case-timeline p {
    color: var(--muted);
}

.case-study-image-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.case-study-image-row .site-image,
.case-study-image-row .image-placeholder {
    min-height: 260px;
    object-fit: contain;
}

.case-study-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
}

.case-list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    margin: 0;
}

.case-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.case-timeline {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.case-timeline div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.case-timeline span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resume-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
    gap: 18px;
    align-items: start;
}

.resume-snapshot {
    display: grid;
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
    gap: 18px;
    align-items: start;
}

.resume-profile {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.resume-profile p {
    color: var(--muted);
}

.resume-contact-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.resume-contact-list a {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.resume-contact-list a:hover,
.resume-contact-list a:focus-visible {
    color: var(--blue);
    outline: none;
}

.resume-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.resume-link-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: inherit;
    text-decoration: none;
}

.resume-link-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.resume-link-card:hover h3,
.resume-link-card:focus-visible h3 {
    color: var(--blue);
}

.resume-date {
    display: block;
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-list {
    display: grid;
    gap: 16px;
}

.detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
    gap: 20px;
    align-items: start;
    padding: 24px;
    scroll-margin-top: 96px;
}

.detail-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.detail-card .tags {
    margin: 0;
    padding-top: 0;
}

.hobby-jump-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.hobby-jump-grid .route-card {
    min-height: 128px;
}

.hobby-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
}

.hobby-detail-card .image-placeholder {
    min-height: 210px;
}

.resume-workspace-section {
    padding-top: 18px;
}

.resume-workspace-shell {
    width: min(1480px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(720px, 1fr) minmax(320px, 0.36fr);
    gap: 22px;
    align-items: start;
    margin: 0 auto;
}

.word-panel {
    overflow: hidden;
    background: #e8ebef;
}

.word-toolbar {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #d5dae2;
    background: #f7f8fa;
}

.word-tab,
.word-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    color: #46505f;
    font-size: 0.82rem;
    font-weight: 750;
}

.word-tab.active,
.word-pill {
    background: var(--white);
    box-shadow: inset 0 0 0 1px #dfe3e8;
}

.word-ruler {
    height: 22px;
    border-bottom: 1px solid #d5dae2;
    background:
        repeating-linear-gradient(90deg, transparent 0 29px, #c7ccd4 29px 30px),
        #fbfcfd;
}

.resume-page {
    width: min(760px, calc(100% - 40px));
    min-height: 980px;
    margin: 20px auto 28px;
    padding: 34px 48px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(16, 17, 20, 0.16);
    color: #111;
    font-family: "Times New Roman", Times, serif;
    font-size: 0.76rem;
    line-height: 1.13;
}

.rendered-resume-page {
    position: relative;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.resume-page-image {
    width: 100%;
    display: block;
}

.resume-hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: background 180ms ease;
}

.resume-hotspot::after {
    content: "";
    position: absolute;
    left: calc(var(--active-highlight-x, 0%) - 7px);
    top: calc(var(--active-highlight-y, 0%) - 7px);
    width: calc(var(--active-highlight-w, 100%) + 14px);
    height: calc(var(--active-highlight-h, 100%) + 14px);
    border-radius: 9px;
    background:
        radial-gradient(circle, rgba(92, 100, 112, 0.82) 1.4px, transparent 1.7px) top left / 10px 2px repeat-x,
        radial-gradient(circle, rgba(92, 100, 112, 0.82) 1.4px, transparent 1.7px) bottom left / 10px 2px repeat-x,
        radial-gradient(circle, rgba(92, 100, 112, 0.82) 1.4px, transparent 1.7px) top left / 2px 10px repeat-y,
        radial-gradient(circle, rgba(92, 100, 112, 0.82) 1.4px, transparent 1.7px) top right / 2px 10px repeat-y;
    opacity: 0;
    pointer-events: none;
}

.resume-hotspot::before {
    content: "";
    position: absolute;
    left: calc(var(--active-highlight-x, 0%) - 4px);
    top: calc(var(--active-highlight-y, 0%) - 4px);
    width: calc(var(--active-highlight-w, 100%) + 8px);
    height: calc(var(--active-highlight-h, 100%) + 8px);
    border-radius: 8px;
    background: rgba(45, 107, 255, 0.09);
    opacity: 0;
    pointer-events: none;
}

.resume-hotspot:hover,
.resume-hotspot:focus-visible,
.resume-hotspot.is-active {
    background: transparent;
    outline: none;
}

.resume-hotspot:hover::before,
.resume-hotspot:focus-visible::before,
.resume-hotspot.is-active::before,
.resume-hotspot:hover::after,
.resume-hotspot:focus-visible::after,
.resume-hotspot.is-active::after {
    opacity: 1;
}

.resume-hotspot:hover::after,
.resume-hotspot:focus-visible::after {
    left: calc(var(--highlight-x, var(--active-highlight-x, 0%)) - 7px);
    top: calc(var(--highlight-y, var(--active-highlight-y, 0%)) - 7px);
    width: calc(var(--highlight-w, var(--active-highlight-w, 100%)) + 14px);
    height: calc(var(--highlight-h, var(--active-highlight-h, 100%)) + 14px);
}

.resume-hotspot:hover::before,
.resume-hotspot:focus-visible::before {
    left: calc(var(--highlight-x, var(--active-highlight-x, 0%)) - 4px);
    top: calc(var(--highlight-y, var(--active-highlight-y, 0%)) - 4px);
    width: calc(var(--highlight-w, var(--active-highlight-w, 100%)) + 8px);
    height: calc(var(--highlight-h, var(--active-highlight-h, 100%)) + 8px);
}

.resume-hotspot:hover::after,
.resume-hotspot:focus-visible::after,
.resume-hotspot.is-active::after {
    animation: hotspotTrack 1.45s linear infinite;
}

.resume-doc-header {
    text-align: center;
    margin-bottom: 9px;
}

.resume-doc-click,
.resume-doc-heading {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 4px;
    margin: 0;
    padding: 2px 3px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.resume-entry {
    display: block;
}

.resume-doc-click:hover,
.resume-doc-click:focus-visible,
.resume-doc-heading:hover,
.resume-doc-heading:focus-visible,
.resume-doc-click.is-active,
.resume-doc-heading.is-active {
    background: rgba(45, 107, 255, 0.1);
    box-shadow: inset 3px 0 0 var(--blue);
    outline: none;
}

.resume-name {
    color: var(--ink);
    font-family: "Times New Roman", Times, serif;
    font-size: 1.22rem;
    font-weight: 800;
    text-align: center;
}

.resume-contact-line {
    color: #20242b;
    font-size: 0.72rem;
    text-align: center;
}

.resume-doc-section {
    margin-top: 8px;
}

.resume-doc-heading {
    border-bottom: 1px solid #111;
    margin-bottom: 2px;
    color: #111;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.resume-entry {
    margin-bottom: 3px;
}

.resume-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-weight: 700;
}

.resume-row span:last-child {
    flex: 0 0 auto;
    text-align: right;
}

.resume-role {
    display: block;
    font-style: italic;
}

.resume-subline {
    display: block;
    padding-left: 0;
}

.resume-bullet {
    display: block;
    position: relative;
    padding-left: 16px;
}

.resume-bullet::before {
    content: "•";
    position: absolute;
    left: 4px;
}

.resume-detail-panel {
    position: sticky;
    top: 96px;
    min-height: 520px;
    padding: 28px;
}

.resume-detail-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.resume-detail-panel p {
    color: var(--muted);
}

.resume-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.resume-detail-meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f6f8fb;
    color: #354052;
    font-size: 0.8rem;
    font-weight: 800;
}

.resume-detail-link[hidden] {
    display: none;
}

.resume-side,
.resume-main,
.contact-form,
.contact-panel {
    padding: 24px;
}

.resume-side {
    position: sticky;
    top: 96px;
}

.resume-copy {
    margin-bottom: 22px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pill-list li {
    padding: 8px 10px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--lime);
    font-size: 0.84rem;
    font-weight: 850;
    animation: pillBob 4.2s ease-in-out infinite;
}

.pill-list li:nth-child(2n) {
    animation-delay: 260ms;
}

.pill-list li:nth-child(3n) {
    animation-delay: 520ms;
}

.timeline,
.post-list {
    display: grid;
    gap: 18px;
}

.blog-masthead {
    padding: 72px 0 34px;
    position: relative;
    border-bottom: 0;
    background:
        linear-gradient(180deg, rgba(16, 17, 20, 0.025), transparent 58%),
        var(--white);
}

html, body {
    overflow-x: clip;
}

.blog-newspaper {
    --blog-rule-max-width: 100%;
    padding: 0 0 34px;
    background: var(--white);
    overflow-x: clip;
}

.blog-newspaper::after {
    display: none;
}

.blog-paper-sheet {
    width: min(1500px, calc(100% - 18px));
    padding: 4px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-masthead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(16, 17, 20, 0.035));
}

.blog-masthead-inner {
    max-width: none;
}

.blog-edition-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-inline: auto;
    position: relative;
    padding: 10px 0;
    border-top: 0;
    border-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-edition-bar::before,
.blog-edition-bar::after,
.blog-section-nav::after,
.blog-nameplate::after,
.blog-news-grid::after,
.blog-minimal-head::after,
.blog-newspaper-head::before,
.blog-newspaper-head::after {
    content: "";
    width: 100%;
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.blog-edition-bar::before {
    top: 0;
    border-top: 1px solid var(--ink);
}

.blog-edition-bar::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 3vw, 42px);
    position: relative;
    padding: 11px 0;
    border-bottom: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.88rem, 1.3vw, 1.05rem);
    font-weight: 800;
}

.blog-section-nav::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-nameplate {
    display: grid;
    justify-items: center;
    gap: 10px;
    position: relative;
    padding: clamp(18px, 3vw, 30px) 0 clamp(16px, 2.5vw, 24px);
    border-bottom: 0;
    text-align: center;
}

.blog-nameplate::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-nameplate p {
    max-width: min(100%, 980px);
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.94rem, 1.08vw, 1.08rem);
    font-weight: 750;
    white-space: nowrap;
}

.blog-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.54fr) minmax(390px, 0.46fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: stretch;
    position: relative;
    padding: 22px 0 24px;
    border-bottom: 0;
}

.blog-news-grid::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-lead-story {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(22px, 3vw, 38px);
    border-right: 1px solid var(--line);
}

.blog-masthead h1 {
    max-width: none;
    margin: 0;
    font-family: "Iowan Old Style", Georgia, "Times New Roman", Times, serif;
    font-size: clamp(4.8rem, 11vw, 10.4rem);
    font-weight: 900;
    line-height: 0.82;
    text-align: center;
}

.blog-lead-story h2 {
    max-width: 12ch;
    margin: 10px 0 16px;
    font-family: "Iowan Old Style", Georgia, "Times New Roman", Times, serif;
    font-size: clamp(2.6rem, 4.8vw, 5.3rem);
    line-height: 0.88;
}

.blog-masthead .hero-copy {
    max-width: 650px;
    font-weight: 750;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.blog-meta-row span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.blog-front-page {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.blog-paper-flag {
    grid-column: 1 / -1;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 4.6vw, 5rem);
    font-weight: 900;
    line-height: 0.82;
    text-align: center;
}

.blog-paper-rule {
    grid-column: 1 / -1;
    height: 8px;
    margin: 10px 0 2px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.blog-front-page article {
    display: grid;
    align-content: space-between;
    gap: 8px;
    aspect-ratio: 1 / 1;
    padding: 13px;
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(16, 17, 20, 0.025), transparent 58%),
        var(--white);
}

.blog-front-page article:last-child {
    border-bottom: 1px solid var(--line);
}

.blog-front-page article span {
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-front-page article strong {
    font-family: "Iowan Old Style", Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1rem, 1.38vw, 1.42rem);
    line-height: 1.02;
}

.blog-ticker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 0 0;
}

.blog-ticker span {
    display: grid;
    min-height: 66px;
    align-items: center;
    justify-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.blog-paper-continuation {
    padding-top: 18px;
}

.blog-minimal-head {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(260px, 0.66fr);
    gap: 24px;
    align-items: end;
    position: relative;
    padding: 0 0 14px;
    border-bottom: 0;
}

.blog-minimal-head::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-minimal-head h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 0.9;
}

.blog-minimal-head p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-weight: 750;
}

.blog-minimal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.74fr) minmax(240px, 0.26fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
    padding-top: 8px;
}

/* Editorial Dispatch Cards (Recent Posts) */
.blog-dispatches-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

.blog-dispatch-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 20px;
    padding: 16px 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    align-items: center;
}

.blog-dispatch-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
}

.blog-divider-h {
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 4px 0;
    pointer-events: none;
}

.blog-dispatch-media {
    width: 100%;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    border: 0;
    box-shadow: none;
}

.blog-dispatch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-dispatch-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-dispatch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 800;
}

.blog-dispatch-tag {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.blog-dispatch-date {
    color: var(--blue);
}

.blog-dispatch-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.15;
}

.blog-dispatch-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Blog Archive Column & Row Catalog System */
.archive-catalog-section {
    padding: 24px 0 64px;
}

.archive-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 20px;
}

.archive-catalog-header h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin: 0;
}

.archive-catalog-count {
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--blue);
}

.archive-rows-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-row-card {
    display: grid;
    grid-template-columns: 130px 140px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface, var(--white));
    text-decoration: none !important;
    color: var(--ink);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.archive-row-card:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 10px 28px rgba(16, 17, 20, 0.08);
}

.archive-row-date {
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--muted);
}

.archive-row-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(45, 107, 255, 0.08);
    border: 1px solid rgba(45, 107, 255, 0.2);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.archive-row-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.archive-row-content h3 {
    margin: 0;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.25;
    color: var(--ink);
    transition: color 180ms ease;
}

.archive-row-card:hover .archive-row-content h3 {
    color: var(--blue);
}

.archive-row-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--muted);
}

.archive-row-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 850;
    color: var(--blue);
    white-space: nowrap;
}

.archive-row-link .arrow {
    transition: transform 200ms ease;
}

.archive-row-card:hover .archive-row-link .arrow {
    transform: translateX(4px);
}

html[data-theme="dark"] .archive-row-card {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--ink);
}

html[data-theme="dark"] .archive-row-card:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
    .archive-row-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px;
    }
}

.blog-minimal-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
    padding: 14px 0 0 22px;
    border-left: 1px solid var(--line);
}

.blog-minimal-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.blog-minimal-topics a {
    display: grid;
    min-height: 64px;
    align-items: center;
    justify-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.blog-minimal-topics a:hover,
.blog-minimal-topics a:focus-visible {
    border-color: var(--ink);
    color: var(--blue);
    outline: none;
    transform: translateY(-1px);
}

.blog-minimal-note {
    display: grid;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.blog-minimal-note strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.blog-minimal-note span {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Editorial Newspaper Headers for Monthly & More */
.blog-newspaper-head {
    position: relative;
    text-align: center;
    padding: 24px 0 16px;
    margin-bottom: 24px;
    border-top: 0;
    border-bottom: 0;
}

.blog-newspaper-head::before {
    top: 0;
    border-top: 1px solid var(--ink);
}

.blog-newspaper-head::after {
    bottom: 0;
    border-bottom: 1px solid var(--ink);
}

.blog-newspaper-kicker {
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 6px;
}

.blog-newspaper-head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    margin: 0 0 6px;
}

.blog-newspaper-head p {
    margin: 0 auto;
    max-width: 680px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

/* Monthly Digest Edition Cards & Grid Vertical Dividers */
.blog-monthly-section {
    margin-top: clamp(40px, 6vw, 64px);
}

.blog-monthly-edition-grid,
.blog-wire-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
}

.blog-edition-card,
.blog-wire-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 16px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative;
}

.blog-edition-card:hover,
.blog-wire-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
}

.blog-divider-v {
    width: 1px;
    height: 100%;
    min-height: 100%;
    background: var(--line);
    margin: 0 12px;
    align-self: stretch;
    pointer-events: none;
}

.blog-edition-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--ink);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.blog-edition-vol {
    background: var(--ink);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 2px;
}

.blog-edition-date {
    color: var(--ink);
}

.blog-edition-status {
    color: var(--blue);
}

.blog-edition-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-edition-bullets {
    margin: 0 0 16px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.blog-edition-bullets li {
    margin-bottom: 8px;
}

.blog-edition-bullets strong {
    color: var(--ink);
}

.blog-edition-footer {
    padding-top: 12px;
    border-top: 1px dashed var(--ink);
}

/* More Section - Wire Service Style */
.blog-more-section {
    margin-top: clamp(40px, 6vw, 64px);
}

.blog-wire-tag {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 10px;
}

.blog-wire-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.25;
}

.blog-wire-card p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   FLAT & CENTERED MONTHLY DIGEST DESIGN (CARDLESS + TOGGLEABLE PANELS)
   ========================================================================== */
.page-digest {
    --digest-accent: #2563eb;
    --digest-accent-soft: rgba(37, 99, 235, 0.08);
    --digest-border: rgba(16, 17, 20, 0.12);
    --digest-bg: #ffffff;
}

html[data-theme="dark"] .page-digest {
    --digest-accent: #3b82f6;
    --digest-accent-soft: rgba(59, 130, 246, 0.14);
    --digest-border: rgba(255, 255, 255, 0.12);
    --digest-bg: #0b0e14;
}

/* Strictly disable all animations, transitions, keyframes, and transform shifts for Monthly Digest pages */
.page-digest,
.page-digest *,
.page-digest *::before,
.page-digest *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* Digest Hero & Centered Header */
.digest-hero-section {
    padding: clamp(32px, 4vh, 48px) 0 24px;
    border-bottom: 1px solid var(--digest-border);
}

.digest-masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 3px double var(--ink);
    margin-bottom: 20px;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.digest-masthead-badge {
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--digest-accent);
    color: #ffffff;
    font-weight: 900;
}

.digest-hero-center {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.digest-issue-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 10px 0 14px;
    letter-spacing: -0.02em;
}

.digest-issue-dek {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--muted);
    margin: 0 auto;
    max-width: 680px;
}

/* 3-Column Layout: [ Left Vertical Highlights ] [ Center Flat Chapters ] [ Right Vertical Issue Nav ] */
.digest-layout-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 220px;
    gap: 36px;
    align-items: start;
    padding: 40px 0 80px;
}

/* Left Vertical Highlights Panel (Toggleable, Flat) */
.digest-left-panel {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.digest-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--digest-border);
    border-radius: 8px;
    background: var(--digest-accent-soft);
    color: var(--digest-accent);
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.digest-toggle-btn:hover {
    border-color: var(--digest-accent);
}

.digest-vertical-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0 0;
    border-top: 1px solid var(--digest-border);
    transition: max-height 300ms ease, opacity 300ms ease;
    overflow: hidden;
}

.digest-vertical-metrics.is-collapsed {
    display: none;
}

.digest-vmetric-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--digest-border);
}

.digest-vmetric-item:last-child {
    border-bottom: none;
}

.digest-vmetric-label {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--digest-accent);
}

.digest-vmetric-val {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--ink);
    line-height: 1.3;
}

/* Center Column (Flat Chapters - NO CARDS) */
.digest-center-content {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.digest-flat-chapter {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--digest-border);
    text-align: left;
}

.digest-flat-chapter:last-child {
    border-bottom: none;
}

.digest-chapter-center-head {
    text-align: center;
    margin-bottom: 22px;
}

.digest-chapter-num {
    display: inline-block;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--digest-accent-soft);
    color: var(--digest-accent);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.digest-chapter-center-head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1.18;
    margin: 0;
}

.digest-flat-chapter p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 18px;
}

.digest-flat-chapter ul {
    margin: 18px 0;
    padding-left: 22px;
}

.digest-flat-chapter li {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 10px;
    color: var(--ink);
}

/* Right Side Issue Navigation (Vertical, Flat) */
.digest-right-panel {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.digest-right-panel h3 {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--digest-accent);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--digest-border);
}

.digest-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.digest-vnav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--digest-border);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 750;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.digest-vnav-link:hover {
    transform: translateX(3px);
    border-color: var(--digest-accent);
    color: var(--digest-accent);
}

.digest-vnav-link.active {
    background: var(--digest-accent);
    color: #ffffff;
    border-color: var(--digest-accent);
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
    .digest-layout-grid {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .digest-right-panel {
        grid-column: span 2;
        position: static;
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid var(--digest-border);
    }
}

@media (max-width: 768px) {
    .digest-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .digest-left-panel,
    .digest-right-panel {
        position: static;
    }
}

.blog-wire-status {
    font-size: 0.76rem;
    font-weight: 750;
    color: var(--muted);
}

@media (max-width: 840px) {
    .blog-monthly-edition-grid,
    .blog-wire-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .blog-edition-card,
    .blog-wire-card {
        padding: 20px 0;
    }

    .blog-divider-v {
        width: 100%;
        height: 1px;
        min-height: 1px;
        margin: 16px 0;
    }
}

/* Vintage Newspaper Archives Vault Card */
.blog-newspaper-archive-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.blog-newspaper-archive-card:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.archive-dek {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.archive-preview-stack {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

.archive-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--line);
}

.archive-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.archive-issue-code {
    font-size: 0.68rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 0.06em;
}

.archive-issue-label {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dark Mode Overrides */
html[data-theme="dark"] .blog-dispatch-card,
html[data-theme="dark"] .blog-edition-card,
html[data-theme="dark"] .blog-wire-card,
html[data-theme="dark"] .blog-newspaper-archive-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .archive-row {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .blog-dispatch-card:hover,
html[data-theme="dark"] .blog-edition-card:hover,
html[data-theme="dark"] .blog-wire-card:hover {
    border: 0;
    box-shadow: none;
}

html[data-theme="dark"] .blog-dispatch-media {
    border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .blog-newspaper-head::before,
html[data-theme="dark"] .blog-newspaper-head::after,
html[data-theme="dark"] .blog-edition-topbar,
html[data-theme="dark"] .blog-edition-footer {
    border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .blog-edition-vol {
    background: var(--ink);
    color: #10141c;
}

@media (max-width: 640px) {
    .blog-dispatch-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .blog-dispatch-media {
        height: 180px;
    }
}

.blog-post-main {
    background: var(--white);
}

.blog-post-hero {
    padding: 24px 0 16px;
}

.blog-post-hero-inner {
    display: grid;
    gap: 12px;
    padding: 14px 0 18px;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.blog-hero-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.blog-hero-top-row .back-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    margin-bottom: 0 !important;
}

.blog-hero-top-row .back-link:hover {
    transform: translateY(-1px);
    box-shadow: 4px 4px 0 rgba(45, 107, 255, 0.18);
}

html[data-theme="dark"] .blog-hero-top-row .back-link {
    background: rgba(16, 20, 28, 0.82);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.18);
}

.blog-hero-top-row .eyebrow {
    margin: 0 !important;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

html[data-theme="dark"] .blog-hero-top-row .eyebrow {
    background: rgba(16, 20, 28, 0.82);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.18);
}

.blog-hero-top-row .eyebrow .status-dot {
    display: none;
}

.blog-post-hero h1 {
    max-width: 860px;
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.0rem, 3.8vw, 3.2rem);
    line-height: 1.06;
}

.blog-post-dek {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(0.96rem, 1.2vw, 1.12rem);
    font-weight: 760;
    line-height: 1.4;
}

.blog-post-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--ink);
}

.blog-post-meta span {
    display: grid;
    gap: 2px;
    min-height: 52px;
    align-content: center;
    padding: 8px 12px;
    border-right: 1px solid var(--ink);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.blog-post-meta span:last-child {
    border-right: 0;
}

.blog-post-meta strong {
    color: var(--ink);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-post-wrap {
    padding: 8px 0 56px;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(240px, 0.3fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
}

.blog-post-layout.is-focus-mode {
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
}

.blog-post-layout.is-focus-mode .blog-post-article {
    justify-items: center;
}

.blog-post-layout.is-focus-mode .blog-post-article > * {
    width: 100%;
}

.blog-post-article {
    display: grid;
    gap: 22px;
}

.blog-post-cover {
    min-height: clamp(280px, 42vw, 560px);
    margin: 0 0 8px;
    border-radius: 2px;
}

.blog-post-media-frame {
    display: grid;
    gap: 8px;
}

.blog-post-media-frame .site-image {
    min-height: clamp(280px, 42vw, 560px);
    border: 1px solid var(--line);
    border-radius: 2px;
}

.blog-post-media-frame figcaption {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 750;
}

.blog-post-article h2 {
    margin: 18px 0 -4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
    line-height: 0.96;
}

.blog-post-article p,
.blog-post-list {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.75;
}

.blog-post-lede {
    max-width: 880px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.32rem, 2vw, 1.9rem);
    line-height: 1.32;
}

.blog-post-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.blog-post-quote {
    max-width: 820px;
    margin: 8px 0;
    padding: 22px 0 22px 24px;
    border-left: 4px solid var(--orange);
}

.blog-post-quote p {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.7vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
}

.blog-post-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.blog-post-image-grid .image-placeholder {
    min-height: 220px;
    border-radius: 2px;
}

.blog-post-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
}

.blog-focus-toggle {
    display: inline-flex;
    min-height: 42px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 rgba(16, 17, 20, 0.12);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.blog-focus-toggle:hover,
.blog-focus-toggle:focus-visible {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 rgba(45, 107, 255, 0.18);
}

.blog-post-layout.is-focus-mode .blog-post-side {
    position: fixed;
    bottom: 32px;
    right: 32px;
    top: auto;
    z-index: 100;
    transform: none;
}

.blog-post-layout.is-focus-mode .blog-post-side-card {
    display: none;
}

.blog-post-layout.is-focus-mode .blog-focus-toggle {
    min-height: 48px;
    width: auto;
    padding: 0 24px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(16, 17, 20, 0.28);
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blog-post-layout.is-focus-mode .blog-focus-toggle:hover,
.blog-post-layout.is-focus-mode .blog-focus-toggle:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(45, 107, 255, 0.36);
}

.blog-post-side-card {
    display: grid;
    gap: 12px;
    padding: 16px 0 18px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.blog-post-side-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

.blog-post-side-card .text-link {
    width: fit-content;
}

.blog-post-main.is-field-note .blog-post-hero-inner {
    grid-template-columns: minmax(0, 0.64fr) minmax(240px, 0.36fr);
    align-items: end;
}

.blog-post-main.is-field-note .blog-post-hero h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.08;
}

.blog-post-brief-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--ink);
    background:
        repeating-linear-gradient(0deg, rgba(16, 17, 20, 0.035) 0 1px, transparent 1px 12px),
        rgba(255, 255, 255, 0.72);
}

.blog-post-brief-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.blog-post-brief-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.blog-post-brief-card .blog-post-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-post-brief-card .blog-post-meta span:nth-child(2) {
    border-right: 0;
}

.blog-post-main.is-field-note .blog-post-article {
    gap: 18px;
}

.blog-post-main.is-field-note .blog-post-article h2 {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border: 1px solid var(--ink);
    background: var(--lime);
    font-family: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.blog-post-main.is-field-note .blog-post-lede {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ink);
}

.blog-post-main.is-visual-story .blog-post-hero {
    padding-top: 24px;
}

.blog-post-main.is-visual-story .blog-post-hero-inner {
    min-height: auto;
    gap: 12px;
    align-content: end;
    padding: 20px 24px;
    border: 1px solid var(--ink);
    background: #f6f7fb;
}

.blog-post-main.is-visual-story .blog-post-hero h1 {
    max-width: 880px;
    font-size: clamp(2.0rem, 3.8vw, 3.2rem);
    line-height: 1.06;
}

.blog-post-main.is-visual-story .blog-post-cover {
    min-height: clamp(280px, 40vw, 480px);
}

.blog-post-main.is-visual-story .blog-post-image-grid {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
}

.blog-post-main.is-visual-story .blog-post-quote {
    max-width: 980px;
    padding: 26px;
    border: 1px solid var(--ink);
    border-left-width: 1px;
    background: var(--yellow);
}

/* Inline Blog Post Photo Carousel */
.blog-carousel-container {
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--ink);
    background: var(--white);
}

.blog-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: transparent;
}

.blog-carousel-track {
    display: flex;
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.blog-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-carousel-slide img {
    width: 100%;
    max-width: 100%;
    height: clamp(280px, 55vw, 500px);
    object-fit: contain;
    border-radius: 4px;
    background: transparent;
}

.blog-carousel-meta {
    margin-top: 14px;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    width: 100%;
}

.blog-carousel-desc {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

.blog-carousel-date {
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.blog-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.blog-carousel-btn {
    background: none;
    border: 1px solid var(--ink);
    border-radius: 4px;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease, color 200ms ease;
}

.blog-carousel-btn:hover {
    background-color: var(--ink);
    color: var(--surface);
}

.blog-carousel-dots {
    display: flex;
    gap: 8px;
}

.blog-carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--line);
    cursor: pointer;
    transition: background-color 200ms ease;
}

.blog-carousel-dots .dot.active {
    background-color: var(--ink);
}

html[data-theme="dark"] .blog-carousel-container {
    background: #10141c;
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .blog-carousel-viewport {
    background: transparent;
}

html[data-theme="dark"] .blog-carousel-btn {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--ink);
}

html[data-theme="dark"] .blog-carousel-btn:hover {
    background-color: var(--ink);
    color: #10141c;
}

.blog-index {
    position: relative;
    z-index: 1;
    margin-top: -58px;
    padding: 0 0 34px;
    background:
        linear-gradient(180deg, rgba(16, 17, 20, 0.035), transparent 120px),
        var(--white);
}

.blog-issue {
    padding: 24px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 70px rgba(16, 17, 20, 0.09);
}

.blog-issue-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-issue-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--ink);
}

.blog-issue-lead {
    display: flex;
    min-height: 380px;
    flex-direction: column;
    justify-content: center;
    padding-right: 28px;
    border-right: 1px solid var(--line);
}

.blog-issue-lead h2 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 6.6vw, 6.6rem);
    line-height: 0.84;
}

.blog-issue-lead p {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.06rem;
}

.blog-issue-side {
    display: grid;
    gap: 0;
    align-content: stretch;
}

.blog-side-block {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.blog-side-block:first-child {
    padding-top: 0;
}

.blog-side-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.blog-side-block h3 {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.02;
}

.blog-side-block p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.blog-entry-ledger {
    padding: 26px 0 0;
}

.blog-ledger-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.blog-ledger-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.blog-ledger-row h3,
.blog-ledger-row p {
    margin-bottom: 0;
}

.blog-ledger-row h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.02;
}

.blog-ledger-row p {
    color: var(--muted);
}

.blog-future-strip {
    display: grid;
    grid-template-columns: minmax(120px, 0.14fr) minmax(220px, 0.3fr) minmax(0, 0.56fr);
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 18px 0 0;
    border-top: 2px solid var(--ink);
}

.blog-future-strip h3 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.4vw, 2.3rem);
    line-height: 1;
}

.blog-future-strip p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
    gap: 28px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 70px rgba(16, 17, 20, 0.09);
}

.blog-feed {
    display: grid;
    gap: 22px;
}

.featured-post {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
    gap: 24px;
    align-items: stretch;
    padding: 22px;
    border-width: 1px;
    border-color: var(--ink);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(16, 17, 20, 0.028), transparent 42%),
        var(--white);
    box-shadow: none;
}

.featured-post-copy {
    display: flex;
    flex-direction: column;
    padding: 2px 24px 2px 0;
    border-right: 1px solid var(--line);
}

.featured-post h2 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.8vw, 5.4rem);
    line-height: 0.88;
}

.featured-post p {
    color: var(--muted);
    font-size: 1.05rem;
}

.blog-cover-slot {
    display: flex;
}

.blog-cover-slot .image-placeholder {
    min-height: 100%;
    border-style: solid;
    border-color: var(--ink);
    border-radius: 8px;
    background:
        repeating-linear-gradient(0deg, rgba(16, 17, 20, 0.045) 0 1px, transparent 1px 12px),
        var(--white);
}

.post-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.blog-section-label {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 2px 0;
    border-top: 0;
}

.blog-section-label h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 0.92;
}

.blog-post-list {
    gap: 12px;
    border-top: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

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

.time {
    color: var(--blue);
    font-weight: 900;
}

.timeline-item h3 {
    margin-bottom: 4px;
}

.timeline-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
    gap: 18px;
}

.about-copy {
    padding: 28px;
}

.about-copy p {
    font-size: 1.05rem;
}

.fact-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.fact-list li {
    padding: 16px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--white);
    font-weight: 850;
}

.post-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.post-card h3,
.post-card p {
    margin-bottom: 0;
}

.blog-post-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 18px;
    border-width: 1px;
    border-color: var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: none;
}

.blog-post-card:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.blog-post-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.02;
}

.post-date {
    min-height: 76px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
}

.post-date span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.post-date strong {
    margin-top: -3px;
    font-size: 1.45rem;
    line-height: 1;
}

.blog-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 12px;
    border-top: 0;
}

.blog-sidebar-card {
    padding: 18px;
    border-width: 1px;
    border-color: var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(16, 17, 20, 0.026), transparent 38%),
        var(--white);
    box-shadow: none;
}

.blog-sidebar-card h3 {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.02;
}

.blog-sidebar-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.topic-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.topic-list a {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.topic-list a::after {
    content: "->";
    color: var(--muted);
    font-weight: 900;
}

.topic-list a:hover,
.topic-list a:focus-visible {
    color: var(--blue);
    background: transparent;
    outline: none;
    transform: translateX(4px);
}

.newsletter-card {
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(236, 72, 153, 0.06)),
        var(--white);
}

/* ==========================================================================
   SOCIALS PAGE: TOP-TIER MODERN NETWORK HUB (Vercel / Linear / Apple Standard)
   ========================================================================== */
.page-socials {
    --net-bg: #f8fafc;
    --net-surface: #ffffff;
    --net-surface-glass: rgba(255, 255, 255, 0.85);
    --net-card-bg: #ffffff;
    --net-border: rgba(16, 17, 20, 0.12);
    --net-border-hover: rgba(16, 17, 20, 0.28);
    --net-text: #0f172a;
    --net-muted: #64748b;
    --net-glow: rgba(0, 0, 0, 0.04);
    --net-green: #10b981;
    --net-blue: #3b82f6;
    --net-accent: #2563eb;
    --net-accent-bg: rgba(37, 99, 235, 0.08);
    background-color: var(--net-bg);
}

html[data-theme="dark"] .page-socials {
    --net-bg: #07090e;
    --net-surface: #0e121b;
    --net-surface-glass: rgba(14, 18, 27, 0.88);
    --net-card-bg: #0f1420;
    --net-border: rgba(255, 255, 255, 0.09);
    --net-border-hover: rgba(255, 255, 255, 0.24);
    --net-text: #f8fafc;
    --net-muted: #94a3b8;
    --net-glow: rgba(255, 255, 255, 0.03);
    --net-green: #34d399;
    --net-blue: #60a5fa;
    --net-accent: #3b82f6;
    --net-accent-bg: rgba(59, 130, 246, 0.14);
}

/* Floating Toast Notification */
.net-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--net-border-hover);
    border-radius: 999px;
    background: var(--net-surface-glass);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--net-text);
    transform: translateY(100px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

.net-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Click Ripple Animation Keyframes */
@keyframes socialClickRipple {
    0% {
        box-shadow: 0 0 0 0rem rgba(37, 99, 235, 0.4);
        transform: scale(0.96);
    }
    50% {
        box-shadow: 0 0 0 0.5rem rgba(37, 99, 235, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0rem rgba(37, 99, 235, 0);
        transform: scale(1);
    }
}

.social-click-effect,
.social-act-btn,
.feed-btn,
.sidebar-btn,
.social-tab {
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-click-effect:active,
.social-act-btn:active,
.feed-btn:active,
.sidebar-btn:active,
.social-tab:active {
    transform: scale(0.94);
}

.social-btn-click {
    animation: socialClickRipple 350ms ease forwards;
}

/* Clean Developer Hub Hero Section */
.net-hero-section {
    position: relative;
    padding: clamp(32px, 4vh, 48px) 0 clamp(20px, 2.5vh, 32px);
}

.net-hero-card {
    position: relative;
    border: 1px solid var(--net-border);
    border-radius: 20px;
    background: var(--net-surface-glass);
    box-shadow: 0 20px 50px var(--net-glow), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: clamp(24px, 3.5vw, 38px);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.net-spotlight {
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08), transparent 70%);
    pointer-events: none;
}

.net-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--net-border);
    margin-bottom: 24px;
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--net-muted);
}

.net-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    color: var(--net-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.net-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--net-green);
    box-shadow: 0 0 10px var(--net-green);
}

.net-sys-metrics {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--net-muted);
}

.net-sys-metrics strong {
    color: var(--net-text);
}

.net-profile-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 3.5vw, 32px);
    align-items: center;
    margin-bottom: 28px;
}

.net-avatar-wrapper {
    position: relative;
    width: clamp(84px, 10vw, 104px);
    height: clamp(84px, 10vw, 104px);
}

.net-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--net-border);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.net-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--net-blue);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 900;
    border: 2px solid var(--net-surface);
}

.net-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.net-title-row h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 850;
    margin: 0;
    letter-spacing: -0.03em;
    color: var(--net-text);
}

.net-version-tag {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--net-blue);
}

.net-bio {
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.55;
    color: var(--net-muted);
    max-width: 760px;
    margin: 8px 0 18px;
}

.net-quick-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.net-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--net-border);
    background: var(--net-surface);
    color: var(--net-text);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.net-pill-btn:hover {
    border-color: var(--net-border-hover);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.net-pill-btn.highlight {
    background: var(--net-text);
    color: var(--net-bg);
    border-color: transparent;
}

.net-controls-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--net-border);
}

.net-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0.6;
}

.net-search-input {
    width: 100%;
    padding: 10px 42px 10px 38px;
    border-radius: 12px;
    border: 1px solid var(--net-border);
    background: var(--net-surface);
    color: var(--net-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.net-search-input:focus {
    border-color: var(--net-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.keyboard-hint {
    position: absolute;
    right: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--net-border);
    color: var(--net-muted);
    pointer-events: none;
}

.net-filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.net-tab {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--net-border);
    background: var(--net-surface);
    color: var(--net-muted);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.net-tab:hover {
    color: var(--net-text);
    border-color: var(--net-border-hover);
}

.net-tab.active {
    background: var(--net-text);
    color: var(--net-bg);
    border-color: transparent;
}

.net-matrix-section {
    padding: 20px 0 48px;
}

.net-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.net-card {
    grid-column: span 6;
    position: relative;
    border: 1px solid var(--net-border);
    border-radius: 18px;
    background: var(--net-card-bg);
    box-shadow: 0 10px 30px var(--net-glow), 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: clamp(22px, 2.8vw, 30px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: opacity 700ms ease, translate 700ms cubic-bezier(0.18, 0.9, 0.28, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease, box-shadow 240ms ease;
}

.net-card.bento-wide {
    grid-column: span 6;
}

.net-card:hover {
    transform: translateY(-4px);
    border-color: var(--net-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.net-card-halo {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color, rgba(59, 130, 246, 0.15)), transparent 70%);
    opacity: 0;
    transition: opacity 240ms ease;
    pointer-events: none;
}

.net-card:hover .net-card-halo {
    opacity: 1;
}

/* Brand specific halos */
.net-card[data-brand="linkedin"] { --glow-color: rgba(10, 102, 194, 0.16); }
.net-card[data-brand="handshake"] { --glow-color: rgba(0, 87, 255, 0.16); }
.net-card[data-brand="github"] { --glow-color: rgba(110, 118, 129, 0.16); }
.net-card[data-brand="adobe"] { --glow-color: rgba(255, 0, 0, 0.16); }
.net-card[data-brand="instagram"] { --glow-color: rgba(228, 64, 95, 0.16); }
.net-card[data-brand="youtube"] { --glow-color: rgba(255, 0, 0, 0.16); }
.net-card[data-brand="steam"] { --glow-color: rgba(23, 26, 33, 0.2); }
.net-card[data-brand="discord"] { --glow-color: rgba(88, 101, 242, 0.18); }
.net-card[data-brand="roblox"] { --glow-color: rgba(100, 100, 100, 0.16); }
.net-card[data-brand="minecraft"] { --glow-color: rgba(98, 180, 122, 0.18); }

.net-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.net-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--net-surface);
    border: 1px solid var(--net-border);
    font-weight: 850;
    font-size: 1.1rem;
    color: var(--net-text);
}

.net-card-badge {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--net-blue);
}

.net-card-badge.featured {
    background: rgba(10, 102, 194, 0.14);
    color: #0a66c2;
}

.net-card-badge.code {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.net-card-badge.gaming {
    background: rgba(139, 92, 246, 0.14);
    color: #8b5cf6;
}

.net-card-badge.muted {
    background: var(--net-border);
    color: var(--net-muted);
}

.net-card-body {
    flex: 1;
}

.net-card-title h2 {
    font-size: 1.3rem;
    font-weight: 850;
    margin: 0 0 2px;
    color: var(--net-text);
}

.net-handle {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--net-muted);
}

.net-desc {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--net-muted);
    margin: 10px 0 16px;
}

.net-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.net-tag {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--net-surface);
    border: 1px solid var(--net-border);
    color: var(--net-text);
}

.net-tag.accent {
    background: rgba(59, 130, 246, 0.12);
    color: var(--net-blue);
    border-color: transparent;
}

.net-copy-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid var(--net-blue);
    color: var(--net-blue);
    cursor: pointer;
}

.net-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--net-border);
}

.net-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--net-text);
    text-decoration: none;
}

.net-action-link .arrow {
    transition: transform 200ms ease;
}

.net-card:hover .net-action-link .arrow {
    transform: translateX(4px);
}

.net-status-text {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--net-muted);
}

.net-empty-state {
    text-align: center;
    padding: 64px 20px;
    border: 1px dashed var(--net-border-hover);
    border-radius: 16px;
    background: var(--net-surface-glass);
}

.empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.net-empty-state h3 {
    font-size: 1.3rem;
    font-weight: 850;
    color: var(--net-text);
    margin: 0 0 6px;
}

.net-empty-state p {
    color: var(--net-muted);
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.net-terminal-section {
    padding: 0 0 72px;
}

.net-terminal-card {
    border: 1px solid var(--net-border);
    border-radius: 18px;
    background: var(--net-surface-glass);
    box-shadow: 0 16px 40px var(--net-glow);
    padding: clamp(24px, 3.5vw, 36px);
    backdrop-filter: blur(20px);
}

.net-terminal-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.terminal-tag {
    font-family: monospace;
    font-size: 0.76rem;
    font-weight: 850;
    color: var(--net-blue);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
}

.net-terminal-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 850;
    color: var(--net-text);
    margin: 0 0 6px;
}

.net-terminal-left p {
    color: var(--net-muted);
    font-size: 0.95rem;
    margin: 0;
}

.net-terminal-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--net-border);
    background: var(--net-surface);
    color: var(--net-text);
}

.sidebar-btn.primary {
    background: var(--net-accent);
    color: #ffffff;
    border-color: transparent;
}

.sidebar-btn.dark {
    background: var(--net-text);
    color: var(--net-bg);
    border-color: transparent;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .social-main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .social-profile-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-profile-actions {
        width: 100%;
    }

    .social-act-btn {
        flex: 1;
        justify-content: center;
    }

    .net-card {
        grid-column: span 12;
    }
}

.contact {
    padding-bottom: 92px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
    gap: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 850;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 13px 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 132px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(45, 107, 255, 0.24);
    box-shadow: 0 0 0 6px rgba(199, 255, 69, 0.18);
}

.field {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-panel {
    color: var(--white);
    background: var(--charcoal);
}

.contact-panel p {
    color: #c8d0da;
}

.contact-links {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-weight: 850;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    color: var(--lime);
    outline: none;
    transform: translateX(4px);
}

footer {
    width: 100%;
    margin: 0;
    padding: clamp(72px, 10vw, 92.5px) 0 34px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
    background:
        linear-gradient(180deg, rgba(16, 17, 20, 0.018), transparent 32%),
        var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    overflow: hidden;
}

.footer-canvas {
    --footer-rule: rgba(16, 17, 20, 0.16);
    display: grid;
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(230px, 0.8fr) minmax(360px, 1fr) minmax(230px, 0.8fr);
    grid-template-areas:
        "contact signoff socials"
        "bottom bottom bottom";
    align-items: end;
    gap: clamp(22px, 4.6vw, 66px);
}

.footer-canvas::before {
    content: "Mitchell Moscoso";
    width: 100vw;
    position: absolute;
    left: 50%;
    bottom: clamp(8px, 1.4vw, 24px);
    z-index: -1;
    color: rgba(16, 17, 20, 0.035);
    font-size: clamp(3.4rem, 10.8vw, 13.2rem);
    font-weight: 950;
    line-height: 0.78;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.footer-canvas::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    align-self: end;
    background: linear-gradient(90deg, var(--footer-rule), transparent 20%, transparent 80%, var(--footer-rule));
}

.footer-directory {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: min(48vw, 620px);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 720;
    line-height: 1;
}

.footer-directory::before {
    content: "Now viewing";
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-right: 3px;
    color: color-mix(in srgb, var(--muted) 72%, transparent);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-directory a,
.footer-directory span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    white-space: nowrap;
}

.footer-directory a {
    color: var(--muted);
    border-bottom: 1px solid transparent;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-directory a:hover,
.footer-directory a:focus-visible {
    border-color: currentColor;
    color: var(--ink);
    outline: none;
    transform: translateY(-2px);
}

.footer-directory-mark {
    min-width: auto;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
}

.footer-directory-separator {
    color: color-mix(in srgb, var(--muted) 45%, transparent);
    font-size: 0.7rem;
    font-weight: 760;
}

.footer-directory [aria-current="page"] {
    color: var(--ink);
    font-weight: 760;
}

.footer-contact-line {
    grid-area: contact;
    display: grid;
    align-content: end;
    justify-items: start;
    gap: 10px;
    min-height: 164px;
}

.footer-email-link {
    color: var(--ink);
    font-size: clamp(1rem, 1.9vw, 1.46rem);
    font-weight: 820;
    line-height: 1.05;
    text-decoration: none;
    text-wrap: balance;
}

.footer-contact-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact-line span::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ink);
}

.footer-email-link:hover,
.footer-email-link:focus-visible {
    color: var(--blue);
    outline: none;
}

.footer-center {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    text-align: center;
}

.footer-signoff {
    grid-area: signoff;
}

.footer-signature {
    width: clamp(210px, 22vw, 340px);
    aspect-ratio: 1030 / 242;
    display: grid;
    place-items: center;
    transform-origin: center;
}

.footer-center:not(.is-signature-ready) .footer-signature {
    visibility: hidden;
}

.footer-signature img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-signature-dark {
    display: none;
}

.footer-note {
    max-width: 42rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 620;
    white-space: nowrap;
}

.footer-newsletter {
    width: min(100%, 500px);
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 2px 0 4px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.footer-newsletter::before {
    content: "Newsletter";
    width: auto;
    height: auto;
    position: absolute;
    left: 0;
    bottom: calc(100% + 1px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 880;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-newsletter input {
    min-width: 0;
    min-height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: clamp(0.94rem, 1.5vw, 1.14rem);
    font-weight: 650;
    outline: none;
    padding: 0;
}

.footer-newsletter input:focus,
.footer-newsletter input:focus-visible {
    outline: none;
    box-shadow: none;
}

.footer-newsletter input::placeholder {
    color: color-mix(in srgb, var(--muted) 74%, transparent);
}

.footer-newsletter button {
    min-height: 38px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 0 18px;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
    background: var(--lime);
    color: #101114;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16, 17, 20, 0.1);
}

.footer-newsletter-status {
    min-height: 1em;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 640;
}

.footer-copyright {
    margin: 0;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 480;
    letter-spacing: 0.02em;
}

.footer-socials {
    grid-area: socials;
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, 38px);
    align-self: start;
    align-content: start;
    justify-content: center;
    justify-self: end;
    gap: 9px;
    min-height: auto;
}

.footer-socials::before {
    content: "Socials";
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: inherit;
    font-size: 0.62rem;
    font-weight: 950;
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    border-color: rgba(var(--nav-accent, 45, 107, 255), 0.28);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 22px rgba(16, 17, 20, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.footer-bottomline {
    grid-area: bottom;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
}

.footer-top-link {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-decoration: none;
}

.footer-top-link:hover,
.footer-top-link:focus-visible {
    color: var(--ink);
    outline: none;
}

html[data-theme="dark"] body,
html[data-theme="dark"] body.page-home,
html[data-theme="dark"] body.page-about,
html[data-theme="dark"] body.page-blog,
html[data-theme="dark"] body.page-socials,
html[data-theme="dark"] body.page-projects,
html[data-theme="dark"] body.page-resume {
    --surface: #090b10;
    --ink: #f4f7fb;
    --muted: #a9b3c2;
    --line: #27303b;
    --paper: #10141c;
    --charcoal: #f5f7fb;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    color: var(--ink);
    background: var(--surface);
}

html[data-theme="dark"] body.page-home::before,
html[data-theme="dark"] body.page-about::before,
html[data-theme="dark"] body.page-blog::before,
html[data-theme="dark"] body.page-socials::before,
html[data-theme="dark"] body.page-projects::before,
html[data-theme="dark"] body.page-resume::before {
    background: var(--surface);
}

html[data-theme="dark"] .nav {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(11, 15, 22, 0.78);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .nav::before {
    background: rgba(12, 16, 24, 0.32);
}

html[data-theme="dark"] .brand-mark {
    border-color: #101114;
    background: #ffffff;
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .nav-links a {
    border-color: transparent;
    background: transparent;
    color: #c9d2df;
}

html[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #c9d2df;
}

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a:focus-visible,
html[data-theme="dark"] .nav-links a[aria-current="page"]:hover,
html[data-theme="dark"] .nav-links a[aria-current="page"]:focus-visible,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 22px rgba(var(--nav-accent, 45, 107, 255), 0.2);
}

html[data-theme="dark"] .nav-links a[aria-current="page"]:not(:hover):not(:focus-visible) {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .theme-toggle-icon::before {
    inset: 5px;
    background: currentColor;
    box-shadow: none;
    transform: scale(1);
}

html[data-theme="dark"] .theme-toggle-icon::after {
    opacity: 1;
    transform: scale(1);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .card,
html[data-theme="dark"] .button:not(.primary):not(.dark),
html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
    border-color: rgba(255, 255, 255, 0.14);
    background: #10141c;
    color: var(--ink);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .button {
    border-color: rgba(255, 255, 255, 0.18);
    background: #111722;
    color: #f4f7fb;
    box-shadow: 4px 4px 0 rgba(93, 156, 255, 0.42);
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus-visible {
    box-shadow: 2px 2px 0 rgba(93, 156, 255, 0.52);
}

html[data-theme="dark"] .button.primary {
    border-color: rgba(199, 255, 69, 0.78);
    background: var(--lime);
    color: #101114;
    box-shadow: 4px 4px 0 rgba(93, 156, 255, 0.5);
}

html[data-theme="dark"] .button.primary:hover,
html[data-theme="dark"] .button.primary:focus-visible {
    box-shadow: 2px 2px 0 rgba(93, 156, 255, 0.6);
}

html[data-theme="dark"] .button.dark {
    border-color: rgba(255, 255, 255, 0.28);
    background: #f4f7fb;
    color: #101114;
    box-shadow: 4px 4px 0 rgba(199, 255, 69, 0.78);
}

html[data-theme="dark"] .button.dark:hover,
html[data-theme="dark"] .button.dark:focus-visible {
    box-shadow: 2px 2px 0 rgba(199, 255, 69, 0.86);
}

html[data-theme="dark"] .button:not(.primary):not(.dark).button-lift {
    border-color: rgba(255, 255, 255, 0.28);
    background: #050608;
    color: #f4f7fb;
    box-shadow: 4px 4px 0 #8f98a8;
}

html[data-theme="dark"] .button:not(.primary):not(.dark).button-lift:hover,
html[data-theme="dark"] .button:not(.primary):not(.dark).button-lift:focus-visible {
    box-shadow: 2px 2px 0 #9aa3b1;
}

html[data-theme="dark"] .button:not(.primary):not(.dark)::after {
    background: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .button.primary::after,
html[data-theme="dark"] .button.dark::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
}

html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .route-card strong,
html[data-theme="dark"] .post-card p,
html[data-theme="dark"] .project-body p,
html[data-theme="dark"] .about-copy p,
html[data-theme="dark"] .resume-copy p,
html[data-theme="dark"] .resume-detail-panel p,
html[data-theme="dark"] .social-card p,
html[data-theme="dark"] .feature-strip p:last-child,
html[data-theme="dark"] .photo-caption,
html[data-theme="dark"] .image-placeholder small {
    color: var(--muted);
}

html[data-theme="dark"] .image-placeholder,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .resume-detail-meta span {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

html[data-theme="dark"] .project-console {
    border-color: rgba(255, 255, 255, 0.18);
    background: #050608;
    box-shadow: 14px 14px 0 rgba(199, 255, 69, 0.72);
}

html[data-theme="dark"] .project-feature-card,
html[data-theme="dark"] .project-catalog-item,
html[data-theme="dark"] .project-commit-line {
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(93, 156, 255, 0.09), transparent 42%),
        #10141c;
}

html[data-theme="dark"] .project-feature-meta span,
html[data-theme="dark"] .project-catalog-toolbar div span {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

html[data-theme="dark"] .project-feature-media {
    border-color: rgba(255, 255, 255, 0.16);
    background: #050608;
}

html[data-theme="dark"] .project-spec-grid span {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

html[data-theme="dark"] .project-spec-grid strong,
html[data-theme="dark"] .project-catalog-type {
    color: #101114;
}

html[data-theme="dark"] .project-origin-card {
    border-color: rgba(255, 255, 255, 0.14);
    background: #050608;
}

html[data-theme="dark"] .project-origin-card p,
html[data-theme="dark"] .project-feature-copy p,
html[data-theme="dark"] .project-commit-line p,
html[data-theme="dark"] .project-catalog-main p,
html[data-theme="dark"] .project-principle p {
    color: var(--muted);
}

html[data-theme="dark"] .work-hero-panel,
html[data-theme="dark"] .work-card-topline,
html[data-theme="dark"] .work-catalog-heading,
html[data-theme="dark"] .work-origin-steps span {
    border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .work-hero-visual img,
html[data-theme="dark"] .work-hero-meta span {
    border-color: rgba(255, 255, 255, 0.14);
    background: #10141c;
}

html[data-theme="dark"] .work-feature-card,
html[data-theme="dark"] .work-origin-card,
html[data-theme="dark"] .work-catalog-row {
    border-color: rgba(255, 255, 255, 0.14);
    background: #10141c;
}

html[data-theme="dark"] .work-catalog-type {
    color: #101114;
}

html[data-theme="dark"] .work-card-body p,
html[data-theme="dark"] .work-origin-card p,
html[data-theme="dark"] .work-catalog-heading p,
html[data-theme="dark"] .work-catalog-row p,
html[data-theme="dark"] .work-hero-visual span,
html[data-theme="dark"] .work-catalog-year {
    color: var(--muted);
}

html[data-theme="dark"] .film-control,
html[data-theme="dark"] .film-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(18, 24, 35, 0.74), rgba(8, 12, 18, 0.62)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(93, 156, 255, 0.28)) border-box;
    color: #f4f7fb;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .film-control:hover,
html[data-theme="dark"] .film-control:focus-visible,
html[data-theme="dark"] .film-toggle:hover,
html[data-theme="dark"] .film-toggle:focus-visible {
    color: #9fc0ff;
    background:
        linear-gradient(180deg, rgba(24, 32, 47, 0.86), rgba(10, 15, 24, 0.74)) padding-box,
        linear-gradient(135deg, rgba(93, 156, 255, 0.58), rgba(255, 255, 255, 0.22)) border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 18px 36px rgba(45, 107, 255, 0.22);
}

html[data-theme="dark"] .social-icon {
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--lime);
    color: #101114;
    box-shadow: 4px 4px 0 rgba(93, 156, 255, 0.48);
}

html[data-theme="dark"] .social-icon.is-loaded {
    background: #ffffff;
    color: #101114;
}

html[data-theme="dark"] .social-signal-kicker,
html[data-theme="dark"] .social-signal-meta span {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

html[data-theme="dark"] .social-signal-board,
html[data-theme="dark"] .social-signal-core {
    border-color: rgba(255, 255, 255, 0.16);
    background-color: #10141c;
}

html[data-theme="dark"] .social-signal-core {
    box-shadow: 8px 8px 0 rgba(199, 255, 69, 0.55);
}

html[data-theme="dark"] .social-signal-board::before,
html[data-theme="dark"] .social-signal-topbar,
html[data-theme="dark"] .social-signal-meta {
    border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .social-signal-core img {
    border-color: rgba(255, 255, 255, 0.2);
    background: #ffffff;
    color: #101114;
}

html[data-theme="dark"] .social-signal-core span {
    background: transparent;
    color: var(--ink);
}

html[data-theme="dark"] .social-notification-card {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(16, 20, 28, 0.92);
    color: var(--muted);
    box-shadow: 5px 5px 0 rgba(236, 72, 153, 0.16);
}

html[data-theme="dark"] .social-notification-card strong,
html[data-theme="dark"] .social-signal-topbar span:nth-child(2) {
    color: var(--ink);
}

html[data-theme="dark"] .about-photo-reel {
    border-color: rgba(255, 255, 255, 0.92);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.05)),
        #f7f8fb;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 18px 32px rgba(255, 255, 255, 0.38),
        inset 0 -18px 32px rgba(0, 0, 0, 0.08),
        0 22px 56px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .about-photo-track::before,
html[data-theme="dark"] .about-photo-track::after {
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 16px,
            rgba(5, 6, 8, 0.92) 16px 30px,
            transparent 30px 50px
        );
    opacity: 1;
}

html[data-theme="dark"] .about-reel-image {
    border-color: #050608;
    background: #050608;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 16px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .image-placeholder span,
html[data-theme="dark"] .photo-caption strong,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .quote-card p,
html[data-theme="dark"] .about-text-track span,
html[data-theme="dark"] .social-card strong {
    color: var(--ink);
}

html[data-theme="dark"] .fact-list li,
html[data-theme="dark"] .blog-meta-row span,
html[data-theme="dark"] .post-date,
html[data-theme="dark"] .newsletter-card {
    border-color: rgba(255, 255, 255, 0.14);
    background: #10141c;
    color: var(--muted);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .blog-meta-row span,
html[data-theme="dark"] .post-date span {
    color: #9fc0ff;
}

html[data-theme="dark"] .post-date strong,
html[data-theme="dark"] .fact-list li {
    color: var(--ink);
}

html[data-theme="dark"] .blog-masthead,
html[data-theme="dark"] .blog-newspaper,
html[data-theme="dark"] .blog-index,
html[data-theme="dark"] .blog-post-main {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
        var(--surface);
}

html[data-theme="dark"] .blog-masthead::after {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.045));
}

html[data-theme="dark"] .blog-layout {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(16, 20, 28, 0.94);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .blog-issue {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(16, 20, 28, 0.94);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .blog-paper-sheet {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .blog-edition-bar,
html[data-theme="dark"] .blog-section-nav,
html[data-theme="dark"] .blog-news-grid,
html[data-theme="dark"] .blog-paper-continuation,
html[data-theme="dark"] .blog-minimal-head,
html[data-theme="dark"] .blog-post-hero-inner,
html[data-theme="dark"] .blog-post-meta,
html[data-theme="dark"] .blog-post-meta span,
html[data-theme="dark"] .blog-post-side-card,
html[data-theme="dark"] .blog-post-article h2,
html[data-theme="dark"] .blog-issue-bar,
html[data-theme="dark"] .blog-issue-grid,
html[data-theme="dark"] .blog-future-strip,
html[data-theme="dark"] .blog-section-label,
html[data-theme="dark"] .blog-sidebar,
html[data-theme="dark"] .featured-post {
    border-color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .featured-post,
html[data-theme="dark"] .blog-post-card,
html[data-theme="dark"] .blog-sidebar-card,
html[data-theme="dark"] .newsletter-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 44%),
        #10141c;
    box-shadow: none;
}

html[data-theme="dark"] .newsletter-card {
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(236, 72, 153, 0.08)),
        #10141c;
}

html[data-theme="dark"] .blog-lead-story,
html[data-theme="dark"] .blog-minimal-row,
html[data-theme="dark"] .blog-minimal-side,
html[data-theme="dark"] .blog-minimal-note,
html[data-theme="dark"] .blog-issue-lead,
html[data-theme="dark"] .blog-side-block,
html[data-theme="dark"] .blog-ledger-list,
html[data-theme="dark"] .blog-ledger-row,
html[data-theme="dark"] .featured-post-copy,
html[data-theme="dark"] .blog-post-list,
html[data-theme="dark"] .blog-post-card,
html[data-theme="dark"] .blog-sidebar-card,
html[data-theme="dark"] .topic-list,
html[data-theme="dark"] .topic-list a,
html[data-theme="dark"] .blog-front-page article,
html[data-theme="dark"] .blog-paper-rule {
    border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .blog-front-page,
html[data-theme="dark"] .blog-cover-slot .image-placeholder,
html[data-theme="dark"] .post-date,
html[data-theme="dark"] .blog-post-brief-card {
    border-color: rgba(255, 255, 255, 0.18);
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px),
        #10141c;
    color: var(--ink);
}

html[data-theme="dark"] .blog-ticker span,
html[data-theme="dark"] .blog-minimal-topics a {
    border-color: rgba(255, 255, 255, 0.18);
    background: #10141c;
    color: var(--ink);
}

html[data-theme="dark"] .blog-front-page article {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
        #10141c;
}

html[data-theme="dark"] .blog-front-page {
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .blog-paper-flag {
    border-color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .blog-front-page article span,
html[data-theme="dark"] .post-meta {
    color: #9fc0ff;
}

html[data-theme="dark"] .blog-ticker span,
html[data-theme="dark"] .topic-list a,
html[data-theme="dark"] .blog-post-meta strong,
html[data-theme="dark"] .blog-post-article p,
html[data-theme="dark"] .blog-post-list,
html[data-theme="dark"] .blog-post-quote p {
    color: var(--ink);
}

html[data-theme="dark"] .blog-focus-toggle {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(16, 20, 28, 0.82);
    color: var(--ink);
    box-shadow: 4px 4px 0 rgba(93, 156, 255, 0.18);
}

html[data-theme="dark"] .blog-post-layout.is-focus-mode .blog-focus-toggle {
    background: var(--ink);
    color: #101114;
}

html[data-theme="dark"] .blog-post-main.is-field-note .blog-post-article h2 {
    background: rgba(199, 255, 69, 0.72);
    color: #101114;
}

html[data-theme="dark"] .blog-post-main.is-visual-story .blog-post-hero-inner {
    background: #10141c;
}

html[data-theme="dark"] .blog-post-main.is-visual-story .blog-post-quote {
    background: rgba(255, 213, 87, 0.14);
}

html[data-theme="dark"] .blog-section-nav {
    color: var(--ink);
}

html[data-theme="dark"] .topic-list a::after,
html[data-theme="dark"] .blog-sidebar-card p:last-child,
html[data-theme="dark"] .featured-post p,
html[data-theme="dark"] .blog-minimal-head p:last-child,
html[data-theme="dark"] .blog-minimal-row p,
html[data-theme="dark"] .blog-minimal-note span,
html[data-theme="dark"] .blog-post-dek,
html[data-theme="dark"] .blog-post-meta span,
html[data-theme="dark"] .blog-post-side-card ul,
html[data-theme="dark"] .blog-issue-lead p,
html[data-theme="dark"] .blog-ledger-row p,
html[data-theme="dark"] .blog-side-block p:last-child,
html[data-theme="dark"] .blog-future-strip p:last-child {
    color: var(--muted);
}

html[data-theme="dark"] .word-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: #151a23;
}

html[data-theme="dark"] .word-toolbar {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #1a202b, #111722);
    color: #c9d2df;
}

html[data-theme="dark"] .word-tab,
html[data-theme="dark"] .word-pill {
    color: #c9d2df;
}

html[data-theme="dark"] .word-tab.active,
html[data-theme="dark"] .word-pill {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .word-ruler {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
        #0d1118;
}

html[data-theme="dark"] .resume-page,
html[data-theme="dark"] .rendered-resume-page {
    background: #ffffff;
    color: #111111;
}

html[data-theme="dark"] footer {
    border-color: rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%),
        var(--surface);
}

html[data-theme="dark"] .footer-canvas {
    --footer-rule: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .footer-canvas::before {
    color: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .footer-directory-mark {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
}

html[data-theme="dark"] .footer-directory a:hover,
html[data-theme="dark"] .footer-directory a:focus-visible,
html[data-theme="dark"] .footer-directory [aria-current="page"] {
    color: var(--ink);
}

html[data-theme="dark"] .footer-contact-line span::before {
    background: var(--ink);
}

html[data-theme="dark"] .footer-email-link {
    color: var(--ink);
}

html[data-theme="dark"] .footer-email-link:hover,
html[data-theme="dark"] .footer-email-link:focus-visible {
    color: #9fc0ff;
}

html[data-theme="dark"] .footer-signature-light {
    display: none;
}

html[data-theme="dark"] .footer-signature-dark {
    display: block;
}

html[data-theme="dark"] .footer-newsletter {
    border-color: rgba(255, 255, 255, 0.42);
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .footer-newsletter input {
    background: transparent;
    color: var(--ink);
}

html[data-theme="dark"] .footer-newsletter button {
    border-color: rgba(255, 255, 255, 0.2);
    background: #ffffff;
    color: #101114;
}

html[data-theme="dark"] .footer-newsletter button:hover,
html[data-theme="dark"] .footer-newsletter button:focus-visible {
    background: var(--lime);
    color: #101114;
}

html[data-theme="dark"] .footer-social-link {
    border-color: rgba(255, 255, 255, 0.14);
    background: transparent;
    color: var(--ink);
}

html[data-theme="dark"] .footer-social-link:hover,
html[data-theme="dark"] .footer-social-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .footer-social-icon svg {
    filter: brightness(0) invert(1);
}

/* Disable scroll/popup reveal animations on blog post pages so all content loads immediately */
.blog-post-main,
.blog-post-main *,
.blog-post-main .reveal,
.blog-post-main .media-rise {
    animation: none !important;
    transition: opacity 150ms ease, transform 150ms ease !important;
}

.blog-post-main .reveal,
.blog-post-main .media-rise {
    opacity: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
    filter: none !important;
}

body:not(.animate-ready) .reveal,
.animate-ready .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 700ms ease, translate 700ms cubic-bezier(0.18, 0.9, 0.28, 1);
    will-change: opacity, translate;
}

.animate-ready .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

.animate-ready .media-rise {
    opacity: 0;
    transform: translateY(38px) scale(0.985);
    filter: blur(8px);
    will-change: opacity, transform, filter;
}

.animate-ready .media-rise.media-is-visible {
    animation: mediaRiseUp 900ms cubic-bezier(0.18, 0.9, 0.28, 1) both;
}

@keyframes mediaRiseUp {
    from {
        opacity: 0;
        transform: translateY(38px) scale(0.985);
        filter: blur(8px);
    }

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

@keyframes filmStatusBlink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.78);
    }
}

@keyframes activeNavInnerBlink {
    0%,
    100% {
        border-color: rgba(var(--nav-accent), 0.42);
        box-shadow:
            0 0 0 0 rgba(var(--nav-accent), 0),
            0 0 0 rgba(var(--nav-accent), 0);
        opacity: 0.96;
    }

    50% {
        border-color: rgba(var(--nav-accent), 0.48);
        box-shadow:
            0 0 0 5px rgba(var(--nav-accent), 0.13),
            0 0 18px rgba(var(--nav-accent), 0.2);
        opacity: 1;
    }
}

@keyframes socialFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes gridDrift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 42px 42px, 42px 42px, 0 0;
    }
}

@keyframes layoutSweep {
    0% {
        background-position: 0% 50%, 0 0, 0 0;
    }

    100% {
        background-position: 100% 50%, 0 0, 0 0;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

@keyframes brandPop {
    0% {
        transform: scale(0.72) rotate(-10deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

@keyframes pulseDot {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(199, 255, 69, 0.32);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(199, 255, 69, 0);
    }
}

@keyframes heroScan {
    0% {
        background-position: 0% 50%, 100% 50%;
    }

    100% {
        background-position: 100% 50%, 0% 50%;
    }
}

@keyframes gradientSweep {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes panelFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

@keyframes panelShine {
    0%,
    45% {
        transform: translateX(-120%);
    }

    70%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes lightBlink {
    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
    }
}

@keyframes tickerNudge {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@keyframes visualShift {
    from {
        background-position: 0% 50%, 0% 50%;
    }

    to {
        background-position: 100% 50%, 100% 50%;
    }
}

@keyframes miniShine {
    0%,
    42% {
        left: -52%;
    }

    70%,
    100% {
        left: 118%;
    }
}

@keyframes pillBob {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes hotspotTrack {
    from {
        background-position:
            0 0,
            0 100%,
            0 0,
            100% 0;
    }

    to {
        background-position:
            10px 0,
            -10px 100%,
            0 -10px,
            100% 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .animate-ready .reveal {
        opacity: 1;
        translate: 0 0;
    }

    .animate-ready .media-rise {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .about-text-track,
    .about-photo-track {
        animation: none;
    }

    .film-toggle-dot {
        animation: none;
    }

    .nav-links a[aria-current="page"],
    .nav-links a[aria-current="page"]::before,
    .nav-links a[aria-current="page"]::after {
        animation: none;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .page-hero-grid,
    .section-heading,
    .resume-workspace-shell,
    .resume-layout,
    .resume-snapshot,
    .detail-card,
    .about-grid,
    .contact-grid,
    .blog-layout,
    .blog-minimal-head,
    .blog-minimal-grid,
    .blog-post-main.is-field-note .blog-post-hero-inner,
    .blog-post-layout,
    .blog-issue-grid,
    .blog-future-strip,
    .featured-post,
    .blog-news-grid,
    .project-case-hero-grid,
    .work-hero-panel,
    .work-overview-grid,
    .project-lab-hero-grid,
    .project-feature-card,
    .project-origin-grid,
    .case-study-layout {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .project-system-grid,
    .snapshot-grid,
    .case-step-grid,
    .case-study-image-row,
    .hobby-jump-grid,
    .link-grid,
    .social-grid {
        grid-template-columns: 1fr 1fr;
    }

    .resume-side {
        position: static;
    }

    .resume-profile {
        position: static;
    }

    .resume-detail-panel {
        position: static;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-minimal-side {
        position: static;
        padding-left: 0;
        border-left: 0;
    }

    .blog-post-side {
        position: static;
    }

    .blog-post-layout.is-focus-mode .blog-post-side {
        position: static;
        width: fit-content;
        transform: none;
    }

    .blog-post-layout.is-focus-mode {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-post-layout.is-focus-mode .blog-focus-toggle {
        min-height: 42px;
        width: fit-content;
        padding: 0 16px;
        border-right: 1px solid var(--ink);
        border-radius: 999px;
        writing-mode: horizontal-tb;
    }

    .blog-ticker {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-front-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-lead-story {
        min-height: auto;
        padding-right: 0;
        border-right: 0;
    }

    .blog-issue-lead {
        min-height: auto;
        padding-right: 0;
        border-right: 0;
    }

    .case-study-side {
        position: static;
    }

    .social-signal-board {
        grid-template-columns: 1fr;
    }

    .social-signal-center {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .social-notification-stack {
        display: none;
    }

    .social-signal-actions {
        justify-content: flex-start;
        justify-self: start;
    }

    .resume-page {
        width: min(860px, calc(100% - 24px));
        padding: 44px 38px;
    }

    .post-card,
    .blog-post-card,
    .blog-minimal-row,
    .blog-ledger-row,
    .social-card {
        grid-template-columns: 1fr;
    }

    .feature-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-lab-title,
    .project-feature-copy h2,
    .project-origin-card h2,
    .project-system-heading h2 {
        max-width: none;
    }

    .project-system-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-system-heading {
        min-height: auto;
        padding-right: 0;
    }

    .project-catalog-item {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .project-catalog-side {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }

    .work-hero-actions {
        justify-content: flex-start;
    }

    .work-hero-visual img {
        max-height: none;
    }

    .work-catalog-row {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .work-catalog-year,
    .work-catalog-row .text-link {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 24px, 1120px);
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .hero,
    .page-hero {
        min-height: auto;
        padding-top: 52px;
    }

    .social-signal-hero {
        min-height: auto;
        padding-top: 38px;
        padding-bottom: 46px;
    }

    .social-signal-title {
        max-width: none;
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .social-signal-board {
        gap: 12px;
        min-height: auto;
    }

    .social-signal-core {
        min-width: 0;
        width: 100%;
        justify-items: start;
    }

    .social-signal-core img {
        width: 44px;
        height: 44px;
    }

    .social-signal-topbar {
        grid-template-columns: 1fr;
    }

    .social-signal-topbar span:last-child {
        text-align: left;
    }

    .social-notification-stack {
        display: none;
    }

    .about-film-hero {
        padding-top: 58px;
    }

    .about-film-stack {
        width: min(100% - 24px, 1120px);
    }

    .about-hero-title h1 {
        font-size: clamp(2.1rem, 10vw, 5.8rem);
    }

    .about-reel-image {
        width: 72vw;
        height: 52vw;
        max-height: 360px;
    }

    .about-text-track span {
        max-width: none;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .blog-masthead {
        padding: 58px 0 36px;
    }

    .blog-newspaper {
        padding-top: 4px;
    }

    .blog-nameplate p {
        white-space: normal;
    }

    .blog-ticker,
    .blog-front-page,
    .blog-minimal-topics,
    .blog-post-meta,
    .blog-post-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-post-meta span:nth-child(2n) {
        border-right: 0;
    }

    .blog-post-meta span:nth-child(n + 3) {
        border-top: 1px solid var(--ink);
    }

    .blog-post-main.is-visual-story .blog-post-hero-inner {
        min-height: auto;
    }

    .blog-masthead h1,
    .blog-issue-lead h2,
    .featured-post h2,
    .project-case-hero h1,
    .case-study-main h2 {
        max-width: none;
    }

    .project-grid,
    .project-system-grid,
    .project-spec-grid,
    .work-hero-meta,
    .work-catalog-row,
    .snapshot-grid,
    .case-step-grid,
    .case-study-image-row,
    .hobby-jump-grid,
    .link-grid,
    .social-grid,
    .resume-card-grid,
    .metric-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .project-catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-catalog-toolbar div {
        justify-content: flex-start;
    }

    .project-catalog-item {
        grid-template-columns: 1fr;
    }

    .project-catalog-side {
        grid-column: auto;
    }

    .work-catalog-heading,
    .work-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .work-catalog-year,
    .work-catalog-row .text-link {
        grid-column: auto;
    }

    .footer-canvas {
        grid-template-areas:
            "directory"
            "contact"
            "signoff"
            "socials"
            "bottom";
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-directory {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .footer-canvas::before {
        bottom: 92px;
        font-size: clamp(3.4rem, 17vw, 7rem);
        white-space: normal;
    }

    .footer-contact-line {
        min-height: auto;
        justify-items: center;
        order: 2;
    }

    .footer-contact-line span::before {
        display: none;
    }

    .footer-socials {
        min-height: auto;
        justify-content: center;
    }

    .footer-socials::before {
        justify-self: center;
    }

    .footer-newsletter {
        width: min(100%, 360px);
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-note {
        white-space: normal;
    }

    .footer-newsletter button {
        width: 100%;
    }
}

/* ==========================================================================
   HOBBY SHOWCASE DESIGN SYSTEM (PAGE-HOBBY-SHOWCASE)
   ========================================================================== */
.page-hobby-showcase {
    --hobby-accent: #2563eb;
    --hobby-accent-bg: rgba(37, 99, 235, 0.06);
    --hobby-border: rgba(16, 17, 20, 0.12);
}

html[data-theme="dark"] .page-hobby-showcase {
    --hobby-accent: #3b82f6;
    --hobby-accent-bg: rgba(59, 130, 246, 0.12);
    --hobby-border: rgba(255, 255, 255, 0.12);
}

.hobby-hero-section {
    padding: clamp(36px, 5vh, 56px) 0 clamp(24px, 3vh, 36px);
    text-align: center;
    border-bottom: 1px solid var(--hobby-border);
}

.hobby-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto 20px;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
}

.hobby-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--hobby-accent-bg);
    color: var(--hobby-accent);
    border: 1px solid var(--hobby-accent);
    letter-spacing: 0.06em;
}

.hobby-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5.2vw, 3.8rem);
    line-height: 1.08;
    font-weight: 700;
    max-width: 860px;
    margin: 12px auto 16px;
    letter-spacing: -0.02em;
}

.hobby-dek {
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
}

/* Feature Image Showcase Stage */
.hobby-stage-section {
    padding: 32px 0 24px;
}

.hobby-stage-frame {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hobby-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.hobby-stage-frame img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.hobby-stage-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(16, 17, 20, 0.75);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.05em;
}

/* 2-Column Content Layout */
.hobby-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 0 64px;
}

.hobby-narrative-box h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0 0 16px;
    line-height: 1.2;
}

.hobby-narrative-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 18px;
}

.hobby-pillars-box {
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
}

.hobby-pillars-box h3 {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hobby-accent);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hobby-border);
}

.hobby-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hobby-tag-list li {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--hobby-border);
    background: var(--hobby-accent-bg);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 750;
}

/* Hobby Switcher Matrix */
.hobby-switcher-section {
    padding: 48px 0 64px;
    border-top: 1px solid var(--hobby-border);
}

.hobby-switcher-section .section-heading {
    text-align: center;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hobby-switcher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 20px auto 0;
}

.hobby-switch-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 750;
    transition: border-color 180ms ease, background 180ms ease;
}

.hobby-switch-card:hover {
    border-color: var(--hobby-accent);
    color: var(--hobby-accent);
}

.hobby-switch-card.active {
    background: var(--hobby-accent);
    color: #ffffff;
    border-color: var(--hobby-accent);
}

@media (max-width: 860px) {
    .hobby-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hobby-switcher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .hobby-switcher-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NEW HOBBY CAROUSEL & SCROLL STORY DESIGN SYSTEM
   ========================================================================== */
.hobby-carousel-section {
    padding: 32px 0 48px;
}

.hobby-carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.hobby-carousel-track {
    display: flex;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.hobby-carousel-slide {
    min-width: 100%;
    position: relative;
}

.hobby-carousel-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hobby-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 20px;
    background: linear-gradient(to top, rgba(10, 14, 20, 0.88), rgba(10, 14, 20, 0.4) 60%, transparent);
    color: #ffffff;
}

.hobby-carousel-caption {
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.4;
    color: #f1f5f9;
}

.hobby-carousel-nav {
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.hobby-carousel-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(16, 17, 20, 0.65);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.hobby-carousel-btn:hover {
    background: var(--hobby-accent);
    border-color: var(--hobby-accent);
}

.hobby-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hobby-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--hobby-border);
    background: var(--digest-bg, transparent);
    cursor: pointer;
    transition: background 180ms ease, width 180ms ease;
}

.hobby-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--hobby-accent);
    border-color: var(--hobby-accent);
}

/* Scroll Story Formatting (Text Below) */
.hobby-scroll-story {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 0 64px;
}

.hobby-story-chapter {
    margin-bottom: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hobby-border);
}

.hobby-story-chapter:last-child {
    border-bottom: none;
}

.hobby-chapter-tag {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    color: var(--hobby-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.hobby-story-chapter h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.hobby-story-chapter p {
    font-size: 1.08rem;
    line-height: 1.72;
    color: var(--muted);
    margin-bottom: 20px;
}

.hobby-quote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--hobby-accent);
    background: var(--hobby-accent-bg);
    border-radius: 0 12px 12px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--ink);
}

.hobby-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 28px 0;
}

.hobby-note-card {
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
}

.hobby-note-card h4 {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
    color: var(--hobby-accent);
    margin: 0 0 12px;
    letter-spacing: 0.06em;
}

.hobby-note-card ul {
    margin: 0;
    padding-left: 18px;
}

.hobby-note-card li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--ink);
}

.hobby-callout-banner {
    padding: 24px 28px;
    border-radius: 14px;
    border: 1px solid var(--hobby-accent);
    background: var(--hobby-accent-bg);
    margin-top: 32px;
}

.hobby-callout-banner h3 {
    font-size: 1.1rem;
    font-weight: 850;
    margin: 0 0 8px;
    color: var(--hobby-accent);
}

.hobby-callout-banner p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    color: var(--ink);
}

@media (max-width: 768px) {
    .hobby-notes-grid {
        grid-template-columns: 1fr;
    }
    .hobby-carousel-slide img {
        height: 340px;
    }
}

/* --------------------------------------------------------------------------
   MODULAR STORY VARIANTS
   -------------------------------------------------------------------------- */

/* Variant A: Telemetry & Spec Cards Grid */
.hobby-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 28px 0 36px;
}

.hobby-spec-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
    text-align: center;
}

.hobby-spec-num {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 850;
    color: var(--hobby-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.hobby-spec-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* Variant B: Timeline & Milestone Roadmap */
.hobby-timeline {
    position: relative;
    padding-left: 28px;
    margin: 28px 0;
    border-left: 2px solid var(--hobby-border);
}

.hobby-timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.hobby-timeline-item:last-child {
    margin-bottom: 0;
}

.hobby-timeline-marker {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hobby-accent);
    box-shadow: 0 0 0 4px var(--surface, var(--white));
}

.hobby-timeline-date {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 850;
    color: var(--hobby-accent);
    margin-bottom: 4px;
}

.hobby-timeline-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--ink);
}

.hobby-timeline-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

/* Variant C: Taste & Spotlight Card Grid */
.hobby-taste-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.hobby-taste-card {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
    transition: transform 180ms ease, border-color 180ms ease;
}

.hobby-taste-card:hover {
    border-color: var(--hobby-accent);
    transform: translateY(-2px);
}

.hobby-taste-badge {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 850;
    color: var(--hobby-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}

.hobby-taste-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--ink);
}

.hobby-taste-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

/* Variant D: Q&A Field Notes Breakdown */
.hobby-qa-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0;
}

.hobby-qa-item {
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid var(--hobby-border);
    background: var(--surface, var(--white));
}

.hobby-qa-q {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hobby-accent);
    margin: 0 0 8px;
}

.hobby-qa-a {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DEVICE PROFILES

   Phone: 0-599px
   Tablet: 600-1023px
   Laptop: 1024-1279px
   2022 M2 MacBook Air: 1280-1599px (1470px reference viewport)
   XL laptop / desktop: 1600px+
   ========================================================================== */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
canvas {
    max-width: 100%;
}

.site-header {
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
    will-change: transform;
}

.mobile-nav-toggle {
    display: none;
}

.experience-notice {
    width: min(520px, calc(100% - 24px));
    display: grid;
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 14px;
    align-items: start;
    padding: 18px 48px 18px 18px;
    border: 1px solid rgba(16, 17, 20, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(16, 17, 20, 0.22);
    -webkit-backdrop-filter: blur(30px) saturate(1.16);
    backdrop-filter: blur(30px) saturate(1.16);
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition: opacity 200ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.experience-notice.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.experience-notice.is-leaving {
    pointer-events: none;
}

.experience-notice-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--lime);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.experience-notice-copy {
    min-width: 0;
}

.experience-notice-kicker {
    margin: 0 0 3px;
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.experience-notice h2 {
    margin: 0 0 7px;
    font-size: 1.35rem;
    line-height: 1.05;
}

.experience-notice-copy > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.experience-notice-close {
    width: 36px;
    height: 36px;
    display: grid;
    position: absolute;
    top: 9px;
    right: 9px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.experience-notice-close:hover,
.experience-notice-close:focus-visible {
    background: rgba(16, 17, 20, 0.07);
    color: var(--ink);
    outline: none;
}

.experience-notice-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    justify-self: start;
    padding: 0 16px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.experience-notice-action:hover,
.experience-notice-action:focus-visible {
    box-shadow: 3px 3px 0 var(--lime);
    outline: none;
    transform: translate(-1px, -1px);
}

.resume-accessible-section {
    display: none;
    padding-top: 16px;
}

.resume-compact-alternative {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 34px);
    text-align: center;
}

.resume-compact-alternative h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 8vw, 3.5rem);
}

.resume-compact-alternative > p:not(.kicker) {
    max-width: 38rem;
    margin: 0 auto 22px;
    color: var(--muted);
}

.resume-compact-preview {
    display: block;
    max-width: 540px;
    margin: 26px auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #e8ebef;
    box-shadow: 0 18px 42px rgba(16, 17, 20, 0.12);
}

.resume-compact-preview img {
    width: 100%;
    display: block;
}

.resume-compact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Laptop: tighten only the navigation and wide two-column gaps. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .shell {
        width: min(1120px, calc(100% - 40px));
    }

    .nav {
        width: min(100% - 24px, 1180px);
        gap: 10px;
        padding-inline: 12px;
    }

    .brand {
        gap: 8px;
        font-size: 0.92rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .nav-links a {
        padding-inline: 10px;
        font-size: 0.84rem;
    }

    .theme-toggle-item {
        margin-left: 3px;
    }

    .hero-grid,
    .page-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
        gap: 28px;
    }
}

/* M2 MacBook Air: this band deliberately inherits the original desktop rules. */
@media (min-width: 1280px) and (max-width: 1599px) {
    .shell {
        width: min(1120px, calc(100% - 32px));
    }

    .nav {
        width: min(100% - 20px, 1440px);
    }
}

/* XL laptop / desktop: use the extra canvas without overscaling type. */
@media (min-width: 1600px) {
    .shell {
        width: min(1280px, calc(100% - 64px));
    }

    .nav {
        width: min(1520px, calc(100% - 32px));
        padding-inline: 18px;
    }

    .hero-grid,
    .page-hero-grid {
        gap: 56px;
    }

    .resume-workspace-shell {
        width: min(1520px, calc(100% - 64px));
    }
}

/* Wide tablet: preserve the same relaxed one-row treatment used on laptops. */
@media (min-width: 760px) and (max-width: 1024px) {
    .shell {
        width: min(100% - 32px, 880px);
    }

    .site-header {
        top: 8px;
    }

    .nav {
        width: min(100% - 20px, 1000px);
        min-height: 64px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
    }

    .brand {
        flex: 0 0 auto;
        min-height: 38px;
        gap: 8px;
        font-size: 0.92rem;
        line-height: 1;
    }

    .brand > span {
        display: inline;
        white-space: nowrap;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        width: auto;
        min-width: 0;
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 4px;
        margin: 0 0 0 auto;
    }

    .nav-links li,
    .nav-links a {
        width: auto;
    }

    .nav-links a {
        justify-content: center;
        min-height: 38px;
        padding-inline: 9px;
        font-size: 0.84rem;
        text-align: center;
        white-space: nowrap;
    }

    .theme-toggle-item {
        justify-content: center;
        flex: 0 0 auto;
        margin-left: 3px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .hero,
    .page-hero {
        padding-top: 64px;
    }

    .hero-grid,
    .page-hero-grid {
        gap: 30px;
    }

    .feature-strip,
    .project-catalog-toolbar,
    .work-catalog-heading {
        gap: 20px;
    }

    .blog-ticker {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .net-controls-bar {
        grid-template-columns: 1fr;
    }

    .net-filter-tabs {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }
}

/* Compact widths: use the hamburger once the relaxed row no longer fits. */
@media (max-width: 759px) {
    .shell {
        width: min(100% - 24px, 560px);
    }

    .site-header {
        top: 6px;
        padding-bottom: 6px;
        animation: none;
    }

    .site-header.is-scrolled-away:not(:focus-within) {
        opacity: 0;
        transform: translateY(calc(-100% - 16px));
        pointer-events: none;
    }

    .nav {
        width: calc(100% - 12px);
        min-height: 58px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 10px;
        padding: 9px 10px;
        border-radius: 18px;
        overflow: visible;
    }

    .brand {
        min-width: 0;
        gap: 8px;
        font-size: 0.9rem;
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        flex: 0 0 auto;
    }

    .mobile-nav-toggle {
        min-width: 82px;
        min-height: 42px;
        display: inline-flex;
        position: relative;
        z-index: 2;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 11px;
        border: 1px solid rgba(16, 17, 20, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--ink);
        box-shadow: 0 6px 18px rgba(16, 17, 20, 0.08);
        font: inherit;
        font-size: 0.78rem;
        font-weight: 850;
        cursor: pointer;
    }

    .mobile-nav-toggle:focus-visible {
        outline: 3px solid rgba(45, 107, 255, 0.28);
        outline-offset: 2px;
    }

    .mobile-nav-toggle-lines {
        width: 16px;
        height: 14px;
        display: grid;
        align-content: space-between;
    }

    .mobile-nav-toggle-lines i {
        width: 100%;
        height: 2px;
        display: block;
        border-radius: 99px;
        background: currentColor;
        transform-origin: center;
        transition: transform 180ms ease, opacity 160ms ease;
    }

    .nav.is-menu-open .mobile-nav-toggle-lines i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav.is-menu-open .mobile-nav-toggle-lines i:nth-child(2) {
        opacity: 0;
    }

    .nav.is-menu-open .mobile-nav-toggle-lines i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav.nav-mobile-ready .nav-links {
        width: 100%;
        display: grid;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        z-index: 5;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin: 0;
        padding: 10px;
        border: 1px solid rgba(16, 17, 20, 0.12);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 22px 52px rgba(16, 17, 20, 0.18);
        -webkit-backdrop-filter: blur(30px) saturate(1.12);
        backdrop-filter: blur(30px) saturate(1.12);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
    }

    .nav.nav-mobile-ready.is-menu-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }

    .nav-links li,
    .nav-links a {
        min-width: 0;
        width: 100%;
    }

    .nav-links a {
        min-height: 44px;
        justify-content: center;
        padding: 0 8px;
        font-size: 0.84rem;
    }

    .theme-toggle-item {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: stretch;
        margin: 2px 0 0;
    }

    .theme-toggle {
        width: 100%;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: 12px;
        font-size: 0.84rem;
        font-weight: 850;
    }

    .theme-toggle-label {
        display: inline;
    }

    section {
        padding: 56px 0;
    }

    .hero,
    .page-hero {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 4.2rem);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3.4rem);
    }

    .eyebrow {
        max-width: 100%;
        align-items: center;
        border-radius: 12px;
        line-height: 1.35;
    }

    .page-home .eyebrow .status-dot {
        flex: 0 0 8px;
        align-self: center;
    }

    .actions,
    .resume-compact-actions,
    .net-quick-actions,
    .social-profile-actions {
        width: 100%;
    }

    .actions .button,
    .resume-compact-actions .button,
    .net-quick-actions > *,
    .social-profile-actions > * {
        width: 100%;
    }

    .info-card,
    .route-card,
    .post-card,
    .quote-card,
    .resume-side,
    .resume-main,
    .contact-form,
    .contact-panel,
    .net-hero-card,
    .net-card {
        padding: 20px;
    }

    .blog-ticker,
    .blog-front-page,
    .blog-minimal-topics,
    .blog-post-meta,
    .blog-post-image-grid,
    .blog-edition-bar,
    .blog-meta-row,
    .net-profile-header,
    .net-controls-bar,
    .net-terminal-bar,
    .hobby-switcher-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-meta span,
    .blog-post-meta span:nth-child(2n) {
        border-right: 0;
        border-top: 1px solid var(--ink);
    }

    .blog-post-meta span:first-child {
        border-top: 0;
    }

    .blog-carousel-controls,
    .hobby-carousel-nav {
        gap: 12px;
    }

    .blog-carousel-btn,
    .hobby-carousel-btn,
    .film-control,
    .film-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .blog-carousel-viewport,
    .hobby-carousel {
        border-radius: 12px;
    }

    .hobby-carousel-slide img {
        height: clamp(240px, 76vw, 340px);
    }

    .net-filter-tabs {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .net-tab {
        min-height: 44px;
        flex: 0 0 auto;
    }

    .resume-accessible-section {
        display: block;
    }

    .resume-workspace-section {
        display: none;
    }

    .resume-compact-preview {
        margin-block: 20px;
    }

    .footer-newsletter {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .footer-newsletter input,
    .footer-newsletter button {
        min-height: 46px;
    }
}

/* Devices without a precise pointer receive the static resume experience. */
@media (hover: none) and (pointer: coarse) {
    .resume-accessible-section {
        display: block;
    }

    .resume-workspace-section {
        display: none;
    }

    .nav-links a:hover,
    .brand:hover,
    .button:hover,
    .card:hover,
    .net-card:hover,
    .hobby-card:hover,
    .hobby-taste-card:hover {
        transform: none;
    }
}

@media (max-width: 360px) {
    .brand span {
        max-width: 138px;
    }

    .nav.nav-mobile-ready .nav-links {
        grid-template-columns: 1fr;
    }

    .nav.nav-mobile-ready.is-menu-open .nav-links {
        max-height: none;
    }
}

html[data-theme="dark"] .mobile-nav-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(27, 30, 37, 0.9);
    color: #f4f7fb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .experience-notice {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(27, 30, 37, 0.95);
    color: #f4f7fb;
    box-shadow: 0 24px 74px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .experience-notice-copy > p:last-child,
html[data-theme="dark"] .experience-notice-close {
    color: #b8c0cc;
}

html[data-theme="dark"] .experience-notice-close:hover,
html[data-theme="dark"] .experience-notice-close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

html[data-theme="dark"] .experience-notice-action {
    border-color: rgba(255, 255, 255, 0.3);
    background: #f4f7fb;
    color: #101114;
}

html[data-theme="dark"] .nav.nav-mobile-ready.is-menu-open .nav-links {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(27, 30, 37, 0.96);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .resume-compact-preview {
    border-color: rgba(255, 255, 255, 0.16);
    background: #20242b;
}

/* Keep the wide About hero on its intended 1400px centered canvas. */
@media (min-width: 1200px) {
    .page-about .about-film-hero {
        display: grid;
        justify-items: center;
    }

    .about-film-stack.shell {
        width: min(1400px, calc(100% - 48px));
        max-width: 1400px;
        margin-inline: auto;
        justify-self: center;
    }
}

/* Keep the Blog nameplate on one line at every responsive profile. */
.blog-nameplate h1 {
    font-size: clamp(2.1rem, 9vw, 8.4rem);
    letter-spacing: -0.035em;
    white-space: nowrap;
}

/* Show the complete Home portrait once the hero becomes a single column. */
@media (max-width: 900px) {
    .page-home .photo-card {
        width: min(100%, 480px);
        justify-self: center;
        margin-inline: auto;
    }

    .page-home .photo-card .profile-placeholder {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 420px) {
    .experience-notice {
        width: calc(100% - 16px);
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        gap: 9px 12px;
        padding: 16px 44px 16px 14px;
        border-radius: 16px;
    }

    .experience-notice-mark {
        width: 38px;
        height: 38px;
    }

    .experience-notice h2 {
        font-size: 1.18rem;
    }

    .experience-notice-copy > p:last-child {
        font-size: 0.84rem;
    }

    .experience-notice-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .experience-notice {
        transition: opacity 120ms ease;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   COMPACT UI POLISH: PHONES + SMALL TABLETS
   -------------------------------------------------------------------------- */
@media (max-width: 759px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        font-size: 0.98rem;
    }

    main,
    main > section,
    .shell,
    .card,
    .scaffold-card {
        min-width: 0;
    }

    main > section[id] {
        scroll-margin-top: 84px;
    }

    .hero-grid,
    .page-hero-grid,
    .section-heading,
    .contact-grid,
    .blog-news-grid,
    .blog-minimal-head,
    .blog-minimal-grid,
    .project-case-hero-grid,
    .work-hero-panel,
    .work-overview-grid,
    .project-lab-hero-grid,
    .project-feature-card,
    .project-origin-grid,
    .case-study-layout {
        gap: 24px;
    }

    .section-heading {
        align-items: start;
        gap: 12px;
        margin-bottom: 22px;
    }

    .section-heading > p {
        max-width: 60ch;
        line-height: 1.65;
    }

    .card:not(.photo-card),
    .net-card,
    .resume-compact-alternative,
    .contact-form,
    .contact-panel {
        border-radius: 12px;
    }

    .feature-strip,
    .project-catalog-toolbar,
    .work-catalog-heading,
    .sitelog-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .feature-strip,
    .project-console,
    .project-feature-card,
    .project-origin-card,
    .project-principle,
    .blog-post-article,
    .blog-post-side-card {
        padding: 20px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .button,
    .text-link,
    .back-link {
        max-width: 100%;
    }

    .photo-caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .about-film-stack {
        width: min(100% - 24px, 680px);
        max-width: none;
    }

    .page-about .about-film-hero {
        width: 100%;
        overflow: hidden;
        padding: 42px 0 38px;
    }

    .page-about .about-film-stack.shell {
        width: calc(100% - 24px);
        max-width: 680px;
        margin-inline: auto;
        justify-items: center;
    }

    .page-about .about-hero-title,
    .page-about .about-photo-section,
    .page-about .about-photo-reel,
    .page-about .about-text-reel {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .page-about .about-hero-title h1 {
        max-width: 100%;
        margin-inline: auto;
        font-size: clamp(1.5rem, 7.7vw, 4.8rem);
        line-height: 0.96;
        white-space: nowrap;
    }

    .about-photo-section,
    .about-text-reel {
        width: 100%;
        max-width: none;
    }

    .about-photo-track {
        min-height: 300px;
        padding-block: 38px;
    }

    .about-reel-image {
        width: min(72vw, calc(100vw - 72px), 390px);
        height: clamp(190px, 52vw, 340px);
        border-width: 7px;
    }

    .page-about .film-control {
        width: 42px;
        height: 56px;
    }

    .page-about .film-control-prev {
        left: 8px;
    }

    .page-about .film-control-next {
        right: 8px;
    }

    .page-about .film-toggle {
        bottom: 7px;
        max-width: calc(100% - 112px);
        white-space: nowrap;
    }

    .blueprint-desk {
        padding: 30px 0 54px;
        background-size: 20px 20px;
    }

    .blueprint-desk .shell {
        width: min(100% - 24px, 680px);
    }

    .drafting-desk-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
        margin-bottom: 22px;
        padding: 20px;
    }

    .drafting-info h1 {
        font-size: clamp(2.25rem, 11vw, 3.8rem);
    }

    .drafting-coordinates {
        width: 100%;
        padding-top: 12px;
        border-top: 1px dashed var(--line);
        text-align: left;
        overflow-wrap: anywhere;
    }

    .blueprint-overview-grid {
        gap: 18px;
    }

    .blueprint-meta-strip {
        gap: 6px 12px;
        padding: 10px 14px;
        font-size: 0.72rem;
    }

    .scaffold-card-body {
        gap: 14px;
        padding: 20px;
    }

    .blueprint-spec-item {
        align-items: flex-start;
        gap: 14px;
    }

    .blueprint-spec-item strong {
        text-align: right;
    }

    .sitelog-section-header p {
        max-width: 52ch;
    }

    .sitelog-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 16px;
    }

    .sitelog-title,
    .sitelog-tech,
    .sitelog-status {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .blog-paper-sheet {
        padding-inline: clamp(14px, 4vw, 22px);
    }

    .blog-edition-bar {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        text-align: center;
    }

    .blog-section-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        text-align: center;
    }

    .blog-section-nav span:last-child {
        grid-column: 1 / -1;
    }

    .blog-nameplate p {
        max-width: 42ch;
        white-space: normal;
    }

    .blog-news-grid {
        padding-block: 18px;
    }

    .blog-lead-story {
        min-height: auto;
        padding: 8px 0 22px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .blog-front-page article {
        min-height: 132px;
        aspect-ratio: auto;
    }

    .blog-ticker {
        gap: 6px;
    }

    .blog-ticker span {
        min-height: 54px;
    }

    .blog-monthly-edition-grid,
    .blog-wire-grid {
        gap: 0;
    }

    .blog-divider-v {
        margin: 8px 0;
    }

    .net-topbar,
    .net-title-row,
    .net-card-header,
    .net-card-footer,
    .net-terminal-grid {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .net-title-row h1,
    .net-card-title,
    .net-handle,
    .net-desc {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .net-search-input {
        min-height: 48px;
    }

    .page-socials .net-hero-section {
        padding: 24px 0 16px;
    }

    .page-socials .net-hero-card {
        padding: 18px;
        border-radius: 16px;
    }

    .page-socials .net-topbar {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .page-socials .net-status-badge {
        width: 100%;
        min-height: 40px;
        justify-content: center;
        padding-inline: 10px;
        text-align: center;
        line-height: 1.35;
    }

    .page-socials .net-sys-metrics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 8px 12px;
    }

    .page-socials .net-sys-metrics span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .page-socials .net-sys-metrics span:last-child {
        grid-column: 1 / -1;
    }

    .page-socials .net-profile-header {
        justify-items: center;
        gap: 16px;
        margin-bottom: 22px;
        text-align: center;
    }

    .page-socials .net-avatar-wrapper {
        width: 84px;
        height: 84px;
    }

    .page-socials .net-profile-info,
    .page-socials .net-title-row {
        width: 100%;
        min-width: 0;
    }

    .page-socials .net-title-row {
        justify-content: center;
        gap: 8px;
    }

    .page-socials .net-title-row h1 {
        width: 100%;
        font-size: clamp(2rem, 10vw, 3.25rem);
        line-height: 1;
    }

    .page-socials .net-bio {
        margin: 10px auto 18px;
        line-height: 1.6;
    }

    .page-socials .net-quick-actions {
        display: grid;
        gap: 8px;
    }

    .page-socials .net-pill-btn {
        min-height: 46px;
        justify-content: center;
        padding: 10px 12px;
        border-radius: 12px;
        line-height: 1.35;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .page-socials .net-controls-bar {
        gap: 14px;
        padding-top: 16px;
    }

    .page-socials .net-filter-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }

    .page-socials .net-tab {
        width: 100%;
        min-width: 0;
        padding-inline: 8px;
    }

    .page-socials .net-tab:last-child {
        grid-column: 1 / -1;
    }

    .page-socials .net-matrix-section {
        padding: 12px 0 36px;
    }

    .page-socials .net-bento-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .page-socials .net-card,
    .page-socials .net-card.bento-wide {
        grid-column: 1;
        min-width: 0;
        padding: 18px;
    }

    .page-socials .net-card-header {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .page-socials .net-card-badge {
        max-width: 100%;
        justify-self: end;
        line-height: 1.3;
        text-align: right;
        white-space: normal;
    }

    .page-socials .net-tags-row {
        margin-bottom: 14px;
    }

    .page-socials .net-card-footer {
        width: 100%;
        align-items: center;
    }

    .page-socials .net-action-link,
    .page-socials .net-status-text {
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: space-between;
        overflow-wrap: anywhere;
    }

    .page-socials .net-status-text {
        display: flex;
    }

    .page-socials .net-terminal-section {
        padding-bottom: 52px;
    }

    .page-socials .net-terminal-card {
        padding: 20px;
        border-radius: 16px;
    }

    .page-socials .net-terminal-grid,
    .page-socials .net-terminal-right {
        width: 100%;
    }

    .page-socials .net-terminal-right {
        display: grid;
        gap: 10px;
    }

    .page-socials .net-terminal-right .button {
        width: 100%;
        min-height: 48px;
        padding-inline: 12px;
        text-align: center;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .page-socials .net-toast {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        justify-content: center;
        border-radius: 14px;
        text-align: center;
    }

    .footer-canvas {
        grid-template-areas:
            "directory"
            "contact"
            "signoff"
            "socials"
            "bottom";
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 28px;
        text-align: center;
    }

    .footer-directory {
        width: 100%;
        position: static;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px 7px;
        max-width: none;
    }

    .footer-contact-line {
        min-height: auto;
        justify-items: center;
    }

    .footer-email-link {
        overflow-wrap: anywhere;
    }

    .footer-center,
    .footer-signoff,
    .footer-socials,
    .footer-bottomline {
        width: 100%;
    }

    .footer-note {
        max-width: 34ch;
        white-space: normal;
    }

    .footer-newsletter {
        width: min(100%, 420px);
        gap: 8px;
    }

    .footer-bottomline {
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }
}
