:root {
    /* Raw approved palette */
    --palette-white: #FFFFFF;
    --palette-mint: #09D7AB;
    --palette-neutral: #F7F7F7;
    --palette-orange: #ED6419;
    --palette-mint-pale: #D7F8F1;
    --palette-mint-soft: #ABF1E2;
    --palette-grey: #5A5A5A;
    --palette-blush: #FACABC;
    --palette-warm: #FBF3EF;

    /* Global backgrounds */
    --page-background: var(--palette-neutral);
    --section-background-default: transparent;
    --section-background-mint: rgba(215, 248, 241, 0.44);
    --section-background-warm: rgba(251, 243, 239, 0.68);
    --section-background-blush: rgba(250, 202, 188, 0.18);

    /* Card surfaces */
    --surface-primary: rgba(255, 255, 255, 0.94);
    --surface-primary-solid: var(--palette-white);
    --surface-neutral: rgba(247, 247, 247, 0.88);
    --surface-mint: rgba(215, 248, 241, 0.48);
    --surface-mint-soft: rgba(171, 241, 226, 0.28);
    --surface-warm: rgba(251, 243, 239, 0.82);
    --surface-blush: rgba(250, 202, 188, 0.20);
    --page-base: #F7F7F7;
    --surface-white: rgba(255, 255, 255, 0.95);
    --warm-powder-strong: rgba(250, 202, 188, 0.18);
    --warm-powder-soft: rgba(251, 243, 239, 0.52);
    --warm-orange-trace: rgba(237, 100, 25, 0.035);
    --mint-powder-strong: rgba(215, 248, 241, 0.23);
    --mint-powder-soft: rgba(171, 241, 226, 0.11);
    --mint-trace: rgba(9, 215, 171, 0.025);
    --card-wash-warm: rgba(250, 202, 188, 0.11);
    --card-wash-neutral: rgba(247, 247, 247, 0.20);
    --card-wash-mint: rgba(215, 248, 241, 0.16);

    /* Text hierarchy */
    --text-heading: var(--palette-grey);
    --text-primary: rgba(90, 90, 90, 0.90);
    --text-secondary: rgba(90, 90, 90, 0.76);
    --text-muted: rgba(90, 90, 90, 0.58);
    --text-subtle: rgba(90, 90, 90, 0.46);
    --text-inverse: var(--palette-white);

    /* Actions */
    --action-primary: var(--palette-mint);
    --action-primary-hover: var(--palette-mint-soft);
    --action-secondary: var(--palette-white);
    --action-emphasis: var(--palette-orange);
    --project-text-accent: var(--palette-orange);

    /* Borders */
    --border-subtle: rgba(90, 90, 90, 0.08);
    --border-default: rgba(90, 90, 90, 0.13);
    --border-strong: rgba(90, 90, 90, 0.20);
    --border-active: rgba(9, 215, 171, 0.32);
    --border-emphasis: rgba(237, 100, 25, 0.24);

    /* Focus */
    --focus-color: var(--palette-mint);
    --focus-ring: rgba(9, 215, 171, 0.18);

    /* Shadows */
    --shadow-small: 0 8px 22px rgba(90, 90, 90, 0.045);
    --shadow-card: 0 16px 38px rgba(90, 90, 90, 0.065);
    --shadow-large: 0 24px 58px rgba(90, 90, 90, 0.085);
    --shadow-hover: 0 26px 60px rgba(90, 90, 90, 0.11);
    --max-width: 1240px;
    --shadow: var(--shadow-card);
    --shadow-xs: var(--shadow-small);
    --shadow-sm: var(--shadow-card);
    --shadow-md: var(--shadow-large);
    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --radius-xlarge: 34px;
    --space-card-small: clamp(1rem, 1.6vw, 1.35rem);
    --space-card-medium: clamp(1.4rem, 2.2vw, 1.9rem);
    --space-card-large: clamp(1.75rem, 3vw, 2.5rem);
    --space-card-xlarge: clamp(2rem, 4vw, 3.25rem);
    --font-size-hero: 3.75rem;
    --font-size-page-title: 3.05rem;
    --font-size-section-title: 2.25rem;
    --font-size-subsection-title: 1.55rem;
    --font-size-card-title: 1.22rem;
    --font-size-role-title: 1.78rem;
    --font-size-body-large: 1.12rem;
    --font-size-body: 1.02rem;
    --font-size-small: 0.88rem;
    --font-size-label: 0.74rem;
    --font-size-impact: 2.45rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 88% 5%, var(--warm-powder-strong), transparent 34rem),
        radial-gradient(ellipse at 10% 20%, var(--warm-powder-soft), transparent 38rem),
        radial-gradient(ellipse at 84% 48%, var(--warm-orange-trace), transparent 34rem),
        radial-gradient(ellipse at 12% 78%, rgba(215, 248, 241, 0.10), transparent 36rem),
        radial-gradient(ellipse at 88% 96%, var(--mint-powder-strong), transparent 42rem),
        linear-gradient(
            to bottom,
            rgba(251, 243, 239, 0.34) 0%,
            rgba(255, 255, 255, 0.18) 38%,
            rgba(247, 247, 247, 0.12) 58%,
            rgba(215, 248, 241, 0.22) 100%
        ),
        var(--page-base);
    color: var(--text-primary);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: var(--font-size-body);
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--palette-grey);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--action-primary);
}

:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    transform: translateY(-140%);
    background: var(--palette-grey);
    color: var(--palette-neutral);
    padding: 0.65rem 0.9rem;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border-default);
    backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.section-inner {
    width: min(var(--max-width), calc(100% - 40px));
    margin-inline: auto;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.05;
}

.brand strong {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0;
}

.brand span,
.eyebrow,
.meta-label,
.kicker {
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand span {
    color: var(--text-secondary);
    margin-top: 0.28rem;
    letter-spacing: 0;
}

.menu-toggle {
    display: none;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    color: var(--palette-grey);
    font: inherit;
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon {
    margin: auto;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: translateY(-7px) rotate(-90deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.72rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.94rem;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a[aria-current="location"] {
    color: var(--action-primary);
    border-bottom-color: var(--action-primary);
}

.nav-cv {
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
}

.section {
    padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.section.compact {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section-band {
    background:
        linear-gradient(135deg, rgba(250, 202, 188, 0.78), rgba(237, 100, 25, 0.68)),
        var(--section-background-mint);
    border-block: 1px solid var(--border-default);
}

.eyebrow,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--palette-grey);
    margin-bottom: 1rem;
}

.eyebrow::before,
.kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--action-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    line-height: 1.12;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

h1 {
    font-size: var(--font-size-page-title);
    line-height: 1.07;
    max-width: 24ch;
}

h2 {
    font-size: var(--font-size-section-title);
    line-height: 1.12;
    max-width: 28ch;
}

h3 {
    font-size: var(--font-size-subsection-title);
    line-height: 1.18;
}

h4,
h5,
h6 {
    font-size: var(--font-size-card-title);
    line-height: 1.24;
}

p {
    margin: 0;
}

.lede {
    font-size: var(--font-size-body-large);
    color: var(--text-secondary);
    max-width: 760px;
}

.muted {
    color: var(--text-secondary);
}

.hero {
    padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.25rem, 4vw, 4rem);
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.78), rgba(250, 202, 188, 0.58)),
        radial-gradient(circle at 78% 45%, rgba(237, 100, 25, 0.18), transparent 19rem);
    border-bottom: 1px solid rgba(90, 90, 90, 0.14);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 1.35rem;
}

.hero h1 {
    font-size: var(--font-size-hero);
    line-height: 1.04;
    max-width: 15ch;
}

.action-row,
.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border: 1px solid var(--action-primary);
    background: var(--action-primary);
    color: var(--text-heading);
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
    box-shadow: var(--shadow-small);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    background: var(--action-primary-hover);
    border-color: var(--action-primary);
    color: var(--text-heading);
    transform: translateY(-2px);
}

.button.secondary {
    background: var(--surface-primary);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.hero-actions {
    gap: 0.75rem;
}

.hero-cv-button {
    box-shadow: none;
}

.button.secondary:hover {
    background: var(--surface-mint);
    color: var(--text-heading);
    border-color: var(--border-active);
}

.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 650;
    color: var(--text-primary);
    text-decoration-color: var(--action-primary);
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--action-primary);
}

.metric,
.timeline-body,
.project-slide,
.project-card,
.career-entry__content,
.system-panel,
.skill-cluster,
.experience-skill-card,
.reference-card,
.contact-panel,
.contact-method,
.company-logo-frame {
    border: 1px solid var(--border-subtle);
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}

.portrait-frame {
    position: relative;
    padding: 1.1rem;
    border: 1px solid rgba(90, 90, 90, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(250, 202, 188, 0.72)),
        var(--surface-primary);
    box-shadow: var(--shadow);
}

.portrait-frame::before {
    content: "";
    position: absolute;
    inset: 2.3rem 0 0 2.3rem;
    border: 1px solid rgba(237, 100, 25, 0.44);
    z-index: 0;
}

.portrait-frame::after {
    content: "";
    position: absolute;
    left: -1rem;
    top: 26%;
    width: 4.5rem;
    height: 1px;
    background: var(--border-default);
}

.portrait-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 52% 50%;
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    box-shadow: var(--shadow-small);
}

.portrait-caption {
    position: relative;
    z-index: 2;
    margin: -1.2rem 1.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-default);
    padding: var(--space-card-small);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.8rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.metrics {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 1rem;
    border: 0;
    background: transparent;
}

.metric {
    padding: var(--space-card-medium);
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-small);
}

.metric:nth-child(1) {
    grid-row: span 2;
    display: grid;
    align-content: end;
    min-height: 230px;
    background:
        linear-gradient(135deg, rgba(90, 90, 90, 0.94), rgba(237, 100, 25, 0.88)),
        var(--palette-grey);
}

.metric:nth-child(1) strong,
.metric:nth-child(1) span {
    color: #F7F7F7;
}

.metric strong {
    display: block;
    font-size: var(--font-size-impact);
    line-height: 0.98;
    color: var(--palette-grey);
    margin-bottom: 0.55rem;
}

.metric span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
}

.section-heading {
    display: grid;
    gap: 0.8rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
}

.section-heading h2 {
    font-size: var(--font-size-section-title);
    line-height: 1.12;
    max-width: 28ch;
}

.workflow-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    margin-bottom: 1.3rem;
}

.workflow-flow span {
    position: relative;
    padding: var(--space-card-small);
    font-family: Consolas, "Courier New", monospace;
    color: var(--palette-grey);
    text-align: center;
    border-right: 1px solid var(--border-default);
}

.workflow-flow span:last-child {
    border-right: 0;
}

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

.system-panel,
.contact-panel,
.note-panel {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    padding: var(--space-card-large);
    box-shadow: var(--shadow-small);
}

.system-panel {
    position: relative;
}

.system-panel::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    right: -1.1rem;
    width: 1.1rem;
    height: 1px;
    background: var(--action-primary);
}

.system-panel:last-child::before {
    display: none;
}

.system-panel ul,
.skills-list,
.clean-list,
.case-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.system-panel li,
.skills-list li,
.clean-list li,
.case-list li {
    padding: 0.35rem 0 0.35rem 1.05rem;
    position: relative;
    color: var(--text-secondary);
}

.system-panel li::before,
.skills-list li::before,
.clean-list li::before,
.case-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.93rem;
    width: 0.38rem;
    height: 0.38rem;
    border: 1px solid var(--action-primary);
    background: var(--surface-primary);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--text-secondary);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
}

.project-visual {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    padding: 0.65rem;
    box-shadow: var(--shadow);
    transition: transform 220ms ease, border-color 220ms ease;
    text-decoration: none;
}

.project-visual:hover {
    transform: translateY(-3px);
    border-color: var(--action-primary);
}

.project-visual img {
    display: block;
    width: 100%;
}

.screenshot-frame {
    margin: 0;
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    padding: clamp(0.75rem, 1.5vw, 1rem);
    box-shadow: var(--shadow-small);
}

.screenshot-frame img {
    display: block;
    width: 100%;
    border: 1px solid rgba(90, 90, 90, 0.14);
    background: var(--surface-blush);
}

.screenshot-frame figcaption {
    color: var(--text-secondary);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-top: 0.55rem;
}

.company-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.company-identity__text {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.company-identity__text strong {
    color: var(--text-primary);
}

.company-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 70px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 0.55rem;
    box-shadow: var(--shadow-small);
}

.company-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.google-play-logo {
    max-width: 100%;
    max-height: 42px;
}

.youtube-logo {
    max-width: 100%;
    max-height: 38px;
}

.project-detail-identity {
    margin-top: 0.9rem;
    margin-bottom: 0.75rem;
}

.company-logo--small {
    width: 76px;
    height: 52px;
    padding: 0.42rem;
}

.company-logo--medium {
    width: 112px;
    height: 72px;
}

.company-logo--large {
    width: 140px;
    height: 88px;
}

.project-company-logo,
.timeline-company-logo {
    margin-bottom: 0.65rem;
}

.experience-company {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.experience-period,
.experience-role {
    margin: 0;
    color: var(--text-secondary);
}

.experience-period {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.experience-role {
    font-weight: 650;
}

.logo-context {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.82);
    padding: var(--space-card-small);
    box-shadow: var(--shadow-small);
}

.journey-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.journey-item {
    display: grid;
    gap: 0.7rem;
    align-content: start;
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.82);
    padding: var(--space-card-medium);
    box-shadow: var(--shadow-small);
}

.journey-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

.hero-projects {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.35rem;
}

.hero-project {
    display: grid;
    gap: 0.45rem;
    padding: var(--space-card-small);
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-small);
    transition: transform 180ms ease, border-color 180ms ease;
}

.hero-project:hover {
    color: var(--palette-grey);
    border-color: var(--action-primary);
    transform: translateY(-2px);
}

.hero-project img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(90, 90, 90, 0.14);
}

.hero-project span {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.project-thumbs,
.gallery-grid,
.metadata-grid,
.screenshot-collage {
    display: grid;
    gap: 1rem;
}

.project-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.35rem;
}

.screenshot-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metadata-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metadata-card {
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.82);
    padding: var(--space-card-medium);
    box-shadow: var(--shadow-small);
}

.metadata-card strong {
    display: block;
    color: var(--palette-grey);
    margin-bottom: 0.35rem;
    font-size: var(--font-size-card-title);
    line-height: 1.25;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.3rem;
}

.filter-row span {
    border: 1px solid var(--border-default);
    background: var(--surface-blush);
    color: var(--palette-grey);
    padding: 0.35rem 0.55rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.project-category-nav button {
    min-height: 44px;
    border: 1px solid var(--border-default);
    background: var(--surface-blush);
    color: var(--palette-grey);
    padding: 0.42rem 0.7rem;
    font: inherit;
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
    cursor: pointer;
}

.project-category-nav button:hover,
.project-category-nav button:focus-visible {
    border-color: var(--action-primary);
    background: var(--surface-mint);
}

.project-carousel-section .section-inner {
    width: min(1380px, calc(100% - 48px));
}

.project-carousel {
    --slide-accent: var(--action-primary);
    display: grid;
    gap: 0.95rem;
}

.project-carousel__progress {
    height: 4px;
    overflow: hidden;
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.75);
}

.project-carousel__progress span {
    display: block;
    width: 14.285%;
    height: 100%;
    background: var(--slide-accent);
    transition: width 280ms ease, background 280ms ease;
}

.project-carousel__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
    padding: 0.15rem 0 0.8rem;
}

.project-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.project-carousel__track {
    display: flex;
    gap: clamp(1.1rem, 2vw, 1.75rem);
    align-items: stretch;
}

.project-slide {
    --slide-accent: var(--action-primary);
    --slide-tint: var(--surface-blush);
    flex: 0 0 94%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.82fr);
    gap: clamp(1rem, 2.4vw, 2rem);
    align-items: center;
    min-height: 560px;
    border: 1px solid var(--border-default);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
        var(--slide-tint);
    padding: var(--space-card-xlarge);
    box-shadow: var(--shadow);
}

.project-slide--nybs {
    --slide-accent: var(--action-primary);
    --slide-tint: var(--surface-blush);
}

.project-slide--openit {
    --slide-accent: var(--action-emphasis);
    --slide-tint: var(--surface-neutral);
}

.project-slide--reporting {
    --slide-accent: #ED6419;
    --slide-tint: var(--surface-warm);
}

.project-slide--migration {
    --slide-accent: var(--palette-mint-soft);
    --slide-tint: var(--surface-mint);
}

.project-slide--logs {
    --slide-accent: var(--action-primary);
    --slide-tint: var(--surface-neutral);
}

.project-slide--pinlink {
    --slide-accent: var(--palette-grey);
    --slide-tint: var(--surface-blush);
}

.project-slide--youtube {
    --slide-accent: var(--action-primary);
    --slide-tint: var(--surface-mint);
}

.project-slide__visual {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.project-slide__hero {
    margin: 0;
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    padding: 0.55rem;
    box-shadow: var(--shadow-small);
}

.project-slide__hero {
    position: relative;
}

.project-slide__hero::before {
    content: "";
    position: absolute;
    inset: -0.45rem 1.2rem auto auto;
    width: 34%;
    height: 0.45rem;
    background: var(--slide-accent);
}

.project-slide__hero img {
    display: block;
    width: 100%;
    border: 1px solid rgba(90, 90, 90, 0.14);
    background: var(--surface-blush);
}

.project-slide__hero figcaption {
    margin-top: 0.45rem;
    color: var(--text-secondary);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    line-height: 1.35;
}

.project-slide__content {
    display: grid;
    gap: 1rem;
    align-content: center;
    min-width: 0;
}

.project-slide__eyebrow,
.project-slide__context {
    color: var(--palette-grey);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.project-slide__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    color: var(--project-text-accent);
}

.project-slide__title {
    font-size: 2.15rem;
    line-height: 1.1;
    max-width: 20ch;
}

.project-slide__description {
    color: var(--text-secondary);
}

.project-slide__metadata {
    display: grid;
    gap: 0.65rem;
}

.project-slide__metadata p {
    border-left: 3px solid var(--slide-accent);
    padding-left: 0.75rem;
}

.project-slide__metadata strong {
    display: block;
    color: var(--project-text-accent);
    margin-bottom: 0.12rem;
}

.project-slide__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
}

.project-slide__tags span {
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-secondary);
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.project-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.project-slide .button {
    box-shadow: var(--shadow-small);
}

.project-carousel__pagination {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.project-carousel__pagination button,
.project-overview-strip button {
    min-height: 44px;
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
}

.project-carousel__pagination button {
    flex: 0 0 auto;
    padding: 0.55rem 0.75rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.project-carousel__pagination button span {
    color: var(--action-emphasis);
    font-weight: 700;
}

.project-carousel__pagination button[aria-selected="true"],
.project-carousel__pagination button[aria-current="true"] {
    border-color: var(--slide-accent);
    background: var(--slide-tint);
    box-shadow: inset 0 -3px 0 var(--slide-accent);
}

.project-overview-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.7rem;
}

.project-overview-strip button {
    display: grid;
    gap: 0.4rem;
    padding: var(--space-card-small);
    text-align: left;
}

.project-overview-strip img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--border-default);
}

.project-overview-strip span {
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 9.2rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: var(--border-default);
}

.timeline-item {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.5rem;
    position: relative;
}

.timeline-date {
    font-family: Consolas, "Courier New", monospace;
    color: var(--palette-grey);
}

.timeline-body {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    padding: var(--space-card-large);
    box-shadow: var(--shadow-small);
}

.timeline-body::before {
    content: "";
    position: absolute;
    left: calc(9.2rem - 5px);
    top: 1.2rem;
    width: 9px;
    height: 9px;
    background: var(--action-primary);
    border: 2px solid var(--page-background);
}

.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    padding: var(--space-card-medium);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-small);
}

.process-step .meta-label {
    display: block;
    color: var(--action-primary);
    margin-bottom: 0.65rem;
}

.process-step h3,
.system-panel h3,
.contact-panel h2,
.note-panel h2,
.metadata-card h3 {
    font-size: var(--font-size-card-title);
    line-height: 1.25;
    max-width: none;
}

.system-panel h2,
.contact-panel h2,
.note-panel h2 {
    font-size: var(--font-size-subsection-title);
    line-height: 1.18;
    max-width: none;
}

.skills-architecture {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.skill-cluster {
    border: 1px solid var(--border-default);
    background: var(--surface-primary);
    padding: var(--space-card-large);
    box-shadow: var(--shadow-small);
}

.skill-cluster h3 {
    margin: 0 0 1.15rem;
    font-size: var(--font-size-card-title);
    text-transform: uppercase;
    letter-spacing: 0;
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid var(--border-default);
    background:
        linear-gradient(135deg, var(--palette-grey), var(--palette-grey) 52%, var(--action-emphasis)),
        var(--palette-grey);
    color: #F7F7F7;
    padding: var(--space-card-xlarge);
}

.cta-panel h2,
.cta-panel p {
    color: #F7F7F7;
}

.cta-panel h2 {
    font-size: var(--font-size-section-title);
    line-height: 1.12;
    max-width: 24ch;
}

.cta-panel .button {
    border-color: rgba(255, 255, 255, 0.42);
}

.page-hero {
    padding: clamp(2.7rem, 5vw, 4.8rem) 0 clamp(1.8rem, 3vw, 3.2rem);
    border-bottom: 1px solid var(--border-default);
    background:
        linear-gradient(135deg, rgba(250, 202, 188, 0.78), rgba(255, 255, 255, 0.55)),
        var(--page-background);
}

.page-hero .section-inner {
    display: grid;
    gap: 1.2rem;
}

.page-hero h1 {
    font-size: var(--font-size-page-title);
    line-height: 1.07;
    max-width: 24ch;
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.experience-inner {
    width: min(1380px, calc(100% - 64px));
    margin-inline: auto;
}

.experience-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.5rem, 6vw, 6rem);
    background:
        radial-gradient(ellipse at 84% 20%, rgba(250, 202, 188, 0.72), transparent 24rem),
        var(--page-background);
    overflow: hidden;
}

.experience-hero::before {
    content: "";
    position: absolute;
    right: max(1rem, calc((100vw - 1280px) / 2));
    top: 18%;
    width: min(32vw, 24rem);
    aspect-ratio: 1.65;
    border-radius: 58% 42% 68% 32% / 45% 62% 38% 55%;
    background: rgba(237, 100, 25, 0.62);
    z-index: -1;
}

.experience-hero .section-inner {
    display: grid;
    gap: 1.05rem;
}

.experience-hero h1 {
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0;
    max-width: 18ch;
}

.experience-hero .lede {
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.65;
    max-width: 720px;
}

.hero-support {
    max-width: 680px;
    color: var(--text-secondary);
}

.career-timeline-section {
    padding-top: clamp(3.25rem, 5vw, 5rem);
}

.career-timeline {
    --timeline-date: minmax(135px, 170px);
    --timeline-marker: 40px;
    position: relative;
    display: grid;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.career-timeline::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: calc(170px + clamp(1.25rem, 2.5vw, 2.5rem) + 19px);
    width: 2px;
    background: linear-gradient(to bottom, var(--action-primary), var(--palette-mint-pale), var(--palette-mint-soft));
}

.career-entry {
    position: relative;
    display: grid;
    grid-template-columns: var(--timeline-date) var(--timeline-marker) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: start;
}

.career-entry__date {
    display: grid;
    gap: 0.42rem;
    padding-top: 1.25rem;
    color: var(--palette-grey);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.35;
    text-transform: uppercase;
}

.career-entry__date small {
    color: var(--text-muted);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.78rem;
    line-height: 1.35;
    text-transform: none;
}

.career-entry__marker {
    position: relative;
    display: grid;
    justify-items: center;
    padding-top: 1.35rem;
}

.career-entry__dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    border: 4px solid var(--surface-primary);
    border-radius: 50%;
    background: var(--action-primary);
    box-shadow: 0 0 0 8px rgba(237, 100, 25, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.career-entry__content {
    position: relative;
    display: grid;
    gap: 1.05rem;
    min-width: 0;
    padding: var(--space-card-xlarge);
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-xs);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.career-entry--nybs .career-entry__content {
    border-radius: 34px 68px 38px 54px;
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.92), rgba(255, 255, 255, 0.94));
}

.career-entry--openit .career-entry__content {
    border-radius: 58px 34px 64px 38px;
    background: linear-gradient(135deg, rgba(237, 100, 25, 0.86), rgba(255, 255, 255, 0.94));
}

.career-entry--openlm .career-entry__content {
    border-radius: 38px 62px 34px 68px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 202, 188, 0.72));
}

.career-entry--dexcel .career-entry__content {
    border-radius: 48px 32px 58px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 100, 25, 0.52));
}

.career-entry--galam .career-entry__content {
    border-radius: 32px 56px 42px 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 202, 188, 0.46));
}

.career-entry--openit .career-entry__dot {
    background: var(--palette-blush);
}

.career-entry--openlm .career-entry__dot {
    background: var(--palette-blush);
}

.career-entry--dexcel .career-entry__dot {
    background: var(--palette-mint-soft);
}

.career-entry--galam .career-entry__dot {
    background: var(--palette-grey);
}

.career-entry:hover .career-entry__content {
    transform: translateY(-4px);
    border-color: var(--border-emphasis);
    box-shadow: var(--shadow-sm);
}

.career-entry:hover .career-entry__dot {
    transform: scale(1.12);
    box-shadow: 0 0 0 10px rgba(237, 100, 25, 0.16);
}

.career-entry__identity {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
}

.career-entry__company {
    color: var(--palette-grey);
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    font-weight: 700;
}

.career-entry__role {
    margin-top: 0.15rem;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.career-entry__mobile-date,
.career-entry__progression {
    display: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.career-entry__summary,
.career-context {
    max-width: 900px;
    color: var(--text-secondary);
}

.career-achievements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.career-achievements li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-secondary);
}

.career-achievements li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--action-primary);
}

.outcome-callout {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    align-items: baseline;
    width: fit-content;
    max-width: 100%;
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(237, 100, 25, 0.18);
    border-radius: 18px 30px 18px 26px;
    background: rgba(250, 202, 188, 0.76);
}

.outcome-callout strong {
    color: var(--action-emphasis);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.outcome-callout span {
    color: var(--text-primary);
}

.career-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    align-items: center;
    padding-top: 0.35rem;
}

.career-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--palette-grey);
    font-weight: 650;
    text-decoration: none;
}

.career-link::after {
    content: "->";
    margin-left: 0.35rem;
    transition: transform 180ms ease;
}

.career-link:hover::after {
    transform: translateX(3px);
}

.career-link--primary {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-emphasis);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--action-emphasis);
}

.education-grid,
.references-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.references-grid {
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.references-grid > .reference-card {
    align-self: start;
    height: auto;
}

.reference-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    align-self: start;
    gap: 1.25rem;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(90, 90, 90, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 32px rgba(90, 90, 90, 0.07);
}

.reference-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.15rem;
    width: 100%;
    margin: 0;
}

.reference-card__photo {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    display: block;
    object-fit: cover;
    object-position: center;
    align-self: flex-start;
    margin: 0;
    border-radius: 20px;
    background: #F7F7F7;
    border: 1px solid rgba(90, 90, 90, 0.12);
}

.reference-card__identity,
.reference-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reference-card__identity h3,
.reference-card__content h3 {
    margin: 0;
    color: #5A5A5A;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.2;
}

.reference-card__identity p,
.reference-card__content p {
    margin: 0.35rem 0 0;
    color: #5A5A5A;
    font-weight: 600;
}

.reference-card__identity a,
.reference-card__content a {
    display: inline-block;
    margin-top: 0.45rem;
    color: #5A5A5A;
    font-size: 0.98rem;
    text-decoration-color: rgba(9, 215, 171, 0.55);
    text-underline-offset: 0.18em;
    overflow-wrap: anywhere;
}

.reference-card__identity a:hover,
.reference-card__identity a:focus-visible,
.reference-card__content a:hover,
.reference-card__content a:focus-visible {
    color: #09D7AB;
    text-decoration-color: currentColor;
}

.reference-card__recommendation {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.recommendation-text {
    position: relative;
    width: 100%;
    margin: 0;
    color: var(--text-primary);
    font-size: 0.96rem;
    line-height: 1.65;
    overflow: visible;
    transition: max-height 280ms ease;
}

.recommendation-text p {
    margin: 0;
}

.recommendation-text p + p {
    margin-top: 1rem;
}

.js .recommendation-text:not(.is-expanded) {
    max-height: calc(1.65em * 4);
    overflow: hidden;
}

.js .recommendation-text:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5rem;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.94)
    );
}

.js .recommendation-text.is-expanded::after {
    display: none;
}

.recommendation-toggle {
    appearance: none;
    display: none;
    margin-top: 0.65rem;
    padding: 0.08rem 0.1rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-heading);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-color: var(--action-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25rem;
}

.js .recommendation-toggle {
    display: inline-block;
}

.recommendation-toggle:hover {
    color: var(--text-heading);
    text-decoration-color: var(--action-primary);
}

.recommendation-toggle:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .recommendation-text {
        transition: none;
    }
}

.compact-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-card-large);
    border: 1px solid var(--border-default);
    border-radius: 28px 54px 30px 46px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-xs);
}

.compact-contact-row h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 3.5rem);
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    font-style: normal;
}

.contact-method {
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 0.8rem;
}

.contact-method span {
    display: block;
    font-family: Consolas, "Courier New", monospace;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.site-footer {
    border-top: 0;
    background:
        radial-gradient(circle at 16% 0%, rgba(237, 100, 25, 0.16), transparent 22rem),
        var(--palette-grey);
    color: var(--text-inverse);
    padding: 2rem 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    justify-content: flex-end;
}

.footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--text-inverse);
    text-decoration-color: rgba(250, 202, 188, 0.55);
}

.footer-nav a:hover {
    color: var(--palette-blush);
    text-decoration-color: var(--palette-blush);
}

.footer-note {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.72);
}

.not-found {
    min-height: 58vh;
    display: grid;
    align-items: center;
}

/* Modern 2026 portfolio layer */
body {
    overflow-x: hidden;
}

.site-header {
    top: 0.8rem;
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto 0.8rem;
    border: 1px solid rgba(90, 90, 90, 0.15);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: none;
    transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(90, 90, 90, 0.22);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    width: auto;
    min-height: 64px;
    padding-inline: 1rem;
}

.site-nav a {
    position: relative;
    border: 0;
    border-radius: var(--radius-small);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a::after,
.text-link::after,
.card-link::after,
.cta-context-link::after {
    content: "";
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.36rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a[aria-current="location"] {
    background: rgba(250, 202, 188, 0.84);
    color: var(--action-emphasis);
    border-bottom-color: transparent;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a[aria-current="location"]::after,
.text-link:hover::after,
.card-link:hover::after,
.cta-context-link:hover::after {
    transform: scaleX(1);
}

.nav-cv,
.menu-toggle,
.button,
.filter-row span,
.project-category-nav button,
.project-carousel__pagination button,
.project-overview-strip button {
    border-radius: var(--radius-small);
}

.button {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button.has-arrow::after,
.card-link::before,
.cta-context-link::before {
    content: "->";
    display: inline-block;
    margin-left: 0.35rem;
    transition: transform 180ms ease;
}

.button.has-arrow:hover::after,
.card-link:hover::before,
.cta-context-link:hover::before {
    transform: translateX(3px);
}

.text-link,
.card-link,
.cta-context-link {
    position: relative;
    text-decoration: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(2.2rem, 5vw, 5rem);
}

.hero::before {
    content: "";
    position: absolute;
    right: max(1rem, calc((100vw - var(--max-width)) / 2));
    top: 8%;
    width: min(36vw, 27rem);
    aspect-ratio: 1;
    border-radius: 38% 62% 44% 56%;
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.92), rgba(237, 100, 25, 0.82));
    transform: rotate(-8deg);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-support {
    color: var(--text-secondary);
    max-width: 680px;
    font-size: 1.03rem;
}

.current-role-badge,
.floating-contact-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.82rem;
    border: 1px solid rgba(90, 90, 90, 0.16);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-xs);
}

.current-role-badge span,
.floating-contact-badge {
    color: var(--action-emphasis);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.portrait-frame,
.project-visual,
.screenshot-frame,
.system-panel,
.contact-panel,
.note-panel,
.metadata-card,
.journey-item,
.timeline-body,
.process-step,
.skill-cluster,
.cta-panel,
.career-entry__content {
    border-radius: var(--radius-large);
}

.portrait-frame {
    overflow: visible;
    border-radius: var(--radius-xlarge);
    transform-style: preserve-3d;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.portrait-frame img {
    border-radius: 30px;
}

.portrait-frame::before {
    border-radius: var(--radius-xlarge);
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.18), rgba(250, 202, 188, 0.24));
}

.portrait-frame:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(237, 100, 25, 0.42);
}

.floating-badge,
.portrait-project-card {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(90, 90, 90, 0.16);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.floating-badge {
    padding: 0.65rem 0.85rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    text-transform: uppercase;
}

.floating-badge--top {
    top: 1.4rem;
    left: -0.8rem;
    animation: gentle-float 6.5s ease-in-out infinite;
}

.floating-badge--side {
    right: -1rem;
    top: 31%;
}

.floating-badge--bottom {
    left: 1rem;
    bottom: 6rem;
}

.portrait-project-card {
    right: 1.2rem;
    bottom: 4.1rem;
    display: grid;
    gap: 0.12rem;
    min-width: 12rem;
    padding: var(--space-card-small);
    text-decoration: none;
}

.portrait-project-card span {
    color: var(--text-secondary);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.portrait-frame:hover .floating-badge--top,
.portrait-frame:hover .floating-badge--bottom,
.portrait-frame:hover .portrait-project-card {
    transform: translateY(-5px);
}

.portrait-frame:hover .floating-badge--side {
    transform: translateX(5px);
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-project,
.metric,
.capability-card,
.timeline-body,
.process-step,
.skill-cluster,
.project-slide,
.metadata-card,
.journey-item,
.career-entry__content,
.contact-method,
.project-overview-strip button {
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.hero-project:hover,
.metric:hover,
.capability-card:hover,
.timeline-item:hover .timeline-body,
.process-step:hover,
.skill-cluster:hover,
.metadata-card:hover,
.journey-item:hover,
.project-overview-strip button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.hero-project,
.hero-project img,
.screenshot-frame,
.screenshot-frame img,
.project-slide__hero,
.project-slide__hero img,
.project-overview-strip img {
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.hero-project {
    background: rgba(255, 255, 255, 0.86);
}

.hero-project img,
.screenshot-frame img,
.project-slide__hero img,
.project-overview-strip img {
    transition: transform 260ms ease, filter 260ms ease;
}

.hero-project:hover img,
.screenshot-frame:hover img,
.project-slide:hover .project-slide__hero img,
.project-overview-strip button:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
}

.metric {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.metric,
.metric-card,
.metric-card--featured {
    position: relative;
}

.metric::after,
.metric-card::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #09D7AB;
    box-shadow: 0 0 0 7px rgba(251, 243, 239, 0.92);
    pointer-events: none;
    z-index: 1;
}

.metric:nth-child(1) {
    background:
        linear-gradient(135deg, rgba(90, 90, 90, 0.96), rgba(237, 100, 25, 0.86)),
        var(--palette-grey);
}

.metric:nth-child(2),
.skill-cluster:nth-child(1),
.capability-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.88), rgba(255, 255, 255, 0.92));
}

.metric:nth-child(3),
.skill-cluster:nth-child(2),
.capability-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(237, 100, 25, 0.86), rgba(255, 255, 255, 0.92));
}

.metric:nth-child(4),
.skill-cluster:nth-child(3),
.capability-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(237, 100, 25, 0.84), rgba(255, 255, 255, 0.94));
}

.metric-label,
.timeline-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.65rem;
    color: var(--action-emphasis);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.capability-card {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    min-height: 100%;
    padding: var(--space-card-medium);
}

.capability-card p {
    color: var(--text-secondary);
}

.capability-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 16px;
    background:
        linear-gradient(90deg, transparent 47%, rgba(237, 100, 25, 0.72) 47% 53%, transparent 53%),
        linear-gradient(0deg, transparent 47%, rgba(237, 100, 25, 0.72) 47% 53%, transparent 53%),
        var(--surface-blush);
    box-shadow: var(--shadow-xs);
}

.capability-icon--data {
    background:
        radial-gradient(circle at 50% 26%, var(--action-primary) 0 0.28rem, transparent 0.3rem),
        radial-gradient(circle at 28% 70%, var(--palette-blush) 0 0.28rem, transparent 0.3rem),
        radial-gradient(circle at 72% 70%, var(--palette-blush) 0 0.28rem, transparent 0.3rem),
        var(--surface-blush);
}

.capability-icon--delivery {
    background:
        linear-gradient(135deg, transparent 42%, var(--action-primary) 42% 48%, transparent 48%),
        linear-gradient(45deg, transparent 42%, var(--palette-mint-soft) 42% 48%, transparent 48%),
        var(--surface-neutral);
}

.card-link {
    align-self: end;
    width: fit-content;
    font-weight: 700;
}

.project-slide {
    border-radius: var(--radius-xlarge);
    transform-style: preserve-3d;
}

.project-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.project-slide__tags span,
.flow-tags span,
.skills-list li {
    transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.project-slide__tags span:hover,
.flow-tags span:hover,
.skills-list li:hover {
    transform: translateY(-2px);
    border-color: var(--action-primary);
}

.project-slide__hero figcaption,
.screenshot-frame figcaption {
    display: inline-flex;
    width: fit-content;
    margin: -2.7rem 0.7rem 0.7rem;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(90, 90, 90, 0.14);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-xs);
    padding: 0.42rem 0.58rem;
    transition: transform 220ms ease, background 220ms ease;
}

.project-slide__hero:hover figcaption,
.screenshot-frame:hover figcaption {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.96);
}

.timeline-body {
    position: relative;
    overflow: hidden;
}

.timeline-body::after {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 999px;
    background: var(--action-primary);
    transition: height 220ms ease, top 220ms ease, bottom 220ms ease;
}

.timeline-item:hover .timeline-body::after {
    top: 0.65rem;
    bottom: 0.65rem;
}

.timeline-item:hover .timeline-body::before {
    transform: scale(1.25);
}

.timeline-item--galam .timeline-body::after { background: var(--palette-mint-soft); }
.timeline-item--dexcel .timeline-body::after { background: var(--palette-blush); }
.timeline-item--openlm .timeline-body::after { background: var(--action-primary); }
.timeline-item--openit .timeline-body::after { background: var(--palette-blush); }
.timeline-item--nybs .timeline-body::after { background: var(--palette-blush); }

.process {
    position: relative;
}

.process::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 2.25rem;
    height: 2px;
    background: linear-gradient(90deg, var(--action-primary), var(--palette-blush), var(--palette-blush));
}

.process-step {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.process-step .meta-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 16px;
    background: var(--surface-blush);
    color: var(--action-emphasis);
}

.process-step:hover .meta-label {
    background: var(--action-primary);
    color: #F7F7F7;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
}

.skills-list li,
.flow-tags span,
.project-slide__tags span,
.project-meta span {
    padding: 0.36rem 0.56rem;
    border: 1px solid rgba(90, 90, 90, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
}

.skills-list li::before,
.flow-tags span::before,
.project-slide__tags span::before,
.project-meta span::before {
    display: none;
}

.skill-toggle {
    min-height: 44px;
    width: fit-content;
    margin-top: 0.9rem;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.72);
    color: var(--action-emphasis);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0.54rem 0.75rem;
}

.js-enabled [data-expandable-skills]:not(.is-expanded) [data-extra-skill] {
    display: none;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    border-radius: var(--radius-xlarge);
    background:
        radial-gradient(circle at 92% 12%, rgba(250, 202, 188, 0.38), transparent 14rem),
        linear-gradient(135deg, #5A5A5A, #5A5A5A 55%, #5A5A5A);
    box-shadow: var(--shadow-md);
}

.cta-panel::after {
    content: "";
    position: absolute;
    right: 1.5rem;
    bottom: -2rem;
    width: 9rem;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 34px;
    transform: rotate(12deg);
}

.cta-context-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.cta-panel .button.secondary {
    background: rgba(255, 255, 255, 0.13);
    color: #F7F7F7;
    border-color: rgba(255, 255, 255, 0.28);
}


.logo-context {
    border-radius: var(--radius-medium);
}

.skills-architecture {
    align-items: stretch;
}

.skill-cluster,
.metadata-card {
    position: relative;
    overflow: hidden;
}

.skill-cluster::after {
    content: "";
    position: absolute;
    right: 1.125rem;
    top: 1.125rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(237, 100, 25, 0.22);
    border-radius: 14px;
    transform: rotate(12deg);
    opacity: 0.55;
    transition: transform 220ms ease, opacity 220ms ease;
}

.skill-cluster:hover::after {
    transform: rotate(16deg) translateY(-3px);
    opacity: 0.88;
}

.contact-panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 202, 188, 0.72)),
        var(--surface-primary);
}

.contact-method {
    border: 1px solid rgba(90, 90, 90, 0.12);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.7);
    padding: var(--space-card-small);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact-methods-section {
    width: min(100% - 2rem, 1100px);
    margin-inline: auto;
    padding-block: clamp(4rem, 7vw, 7rem);
}

.contact-methods-section .section-inner {
    width: 100%;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    padding: 0;
    font-style: normal;
}

.contact-method-card {
    position: relative;
    min-width: 0;
    min-height: 150px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    overflow: hidden;
    isolation: isolate;
    color: #5A5A5A;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(90, 90, 90, 0.08);
    border-radius: 28px;
    box-shadow: 0 16px 38px rgba(90, 90, 90, 0.06);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.contact-method-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -35% auto -35% -22%;
    width: 52%;
    border-radius: 50%;
    background: radial-gradient(ellipse at left center, rgba(250, 202, 188, 0.10), transparent 70%);
    pointer-events: none;
}

.contact-method-card:nth-child(n+3)::before {
    background: radial-gradient(ellipse at left center, rgba(215, 248, 241, 0.15), transparent 70%);
}

.contact-method-card:last-child {
    grid-column: 1 / -1;
}

.contact-method-card:last-child > * {
    max-width: 520px;
}

.contact-method-card:hover {
    transform: translateY(-3px);
    border-color: rgba(9, 215, 171, 0.26);
    box-shadow: 0 22px 48px rgba(90, 90, 90, 0.09);
}

.contact-method-card:focus-visible {
    outline: 3px solid rgba(9, 215, 171, 0.38);
    outline-offset: 4px;
}

.contact-method-card__label {
    color: #ED6419;
    font-size: 0.76rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-method-card__value {
    color: #5A5A5A;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.contact-method-card__action {
    color: rgba(90, 90, 90, 0.66);
    font-size: 0.88rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .contact-method-card {
        transition: none;
    }

    .contact-method-card:hover {
        transform: none;
    }
}

@media (max-width: 700px) {
    .contact-methods-section {
        width: min(100% - 2rem, 1100px);
        padding-block: 3.5rem;
    }

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

    .contact-method-card,
    .contact-method-card:last-child {
        grid-column: auto;
        min-height: 130px;
        padding: 1.4rem;
        border-radius: 24px;
    }

    .contact-method-card:last-child > * {
        max-width: none;
    }
}

.site-footer {
    border-radius: var(--radius-xlarge) var(--radius-xlarge) 0 0;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 420ms ease, transform 420ms ease;
}

    .js-enabled .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .project-slide {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .project-slide__content {
        align-content: start;
    }

    .career-timeline {
        --timeline-date: minmax(116px, 140px);
    }

    .career-timeline::before {
        left: calc(140px + clamp(1.25rem, 2.5vw, 2.5rem) + 19px);
    }
}

@media (max-width: 980px) {
    .site-header {
        width: min(100% - 28px, var(--max-width));
        top: 0.55rem;
        border-radius: var(--radius-medium);
    }

    .hero-grid,
    .editorial-grid,
    .contact-layout,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .metrics,
    .process,
    .skills-architecture,
    .gallery-grid,
    .metadata-grid,
    .hero-projects,
    .journey-strip,
    .project-overview-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-carousel-section .section-inner {
        width: min(100% - 40px, 1380px);
    }

    .project-slide {
        flex-basis: 90%;
    }

    .project-slide__title {
        font-size: 1.95rem;
        max-width: none;
    }

    .experience-inner {
        width: min(100% - 40px, 1380px);
    }

    .career-achievements {
        grid-template-columns: 1fr;
    }

    .positioning-grid {
        grid-template-columns: 1fr;
    }

    .system-panel::before {
        display: none;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .js-enabled .site-nav {
        position: fixed;
        inset: 78px 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface-primary);
        border: 1px solid var(--border-default);
        border-radius: var(--radius-medium);
        padding: 1rem 20px 1.3rem;
        box-shadow: var(--shadow);
    }

    .js-enabled .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        border: 1px solid var(--border-default);
        padding-inline: 1rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    :root {
        --font-size-hero: 2.45rem;
        --font-size-page-title: 2.35rem;
        --font-size-section-title: 1.9rem;
        --font-size-subsection-title: 1.38rem;
        --font-size-card-title: 1.14rem;
        --font-size-role-title: 1.52rem;
        --font-size-body-large: 1.04rem;
        --font-size-body: 1rem;
        --font-size-impact: 2rem;
    }

    body {
        font-size: var(--font-size-body);
        background-size: 30px 30px;
    }

    .header-inner,
    .footer-inner,
    .section-inner {
        width: min(100% - 28px, var(--max-width));
    }

    .header-inner {
        padding-inline: 0.7rem;
    }

    .brand strong {
        font-size: 0.93rem;
        letter-spacing: 0;
    }

    .brand span {
        font-size: 0.7rem;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        text-wrap: balance;
    }

    .hero h1,
    .page-hero h1 {
        max-width: none;
    }

    .metrics,
    .workflow-flow,
    .process,
    .skills-architecture,
    .gallery-grid,
    .metadata-grid,
    .hero-projects,
    .journey-strip,
    .education-grid,
    .references-grid,
    .project-thumbs,
    .screenshot-collage,
    .project-overview-strip,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .reference-card {
        align-items: stretch;
        gap: 1rem;
    }

    .reference-card__photo {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        border-radius: 18px;
    }

    .hero {
        padding-top: 1.5rem;
    }

    .hero::before,
    .portrait-frame::after {
        display: none;
    }

    .floating-badge,
    .portrait-project-card {
        position: relative;
        inset: auto;
        display: inline-flex;
        margin: 0.35rem 0.35rem 0 0;
        animation: none;
    }

    .portrait-project-card {
        display: grid;
        width: 100%;
    }

    .portrait-frame {
        display: block;
        overflow: hidden;
        border-radius: var(--radius-large);
    }

    .project-carousel-section .section-inner {
        width: min(100% - 28px, 1380px);
    }

    .project-slide__actions,
    .project-slide__actions .button {
        width: 100%;
    }

    .project-slide__actions .button {
        justify-content: center;
    }

    .project-slide {
        flex-basis: 90%;
        padding: clamp(1.15rem, 4.8vw, 1.45rem);
        border-radius: var(--radius-large);
    }

    .project-slide__title {
        font-size: 1.72rem;
        max-width: none;
    }

    .project-carousel__pagination {
        margin-inline: -0.1rem;
    }

    .project-summary div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .metric,
    .workflow-flow span {
        border-right: 0;
        border-bottom: 1px solid var(--border-default);
    }

    .metric:last-child,
    .workflow-flow span:last-child {
        border-bottom: 0;
    }

    .metric:nth-child(1) {
        grid-row: auto;
        min-height: 0;
    }

    .timeline::before {
        left: 0.45rem;
    }

    .process {
        gap: 0.75rem;
    }

    .process::before {
        left: 1.15rem;
        right: auto;
        top: 1rem;
        bottom: 1rem;
        width: 2px;
        height: auto;
    }

    .process-step {
        padding-left: 3.6rem;
    }

    .process-step .meta-label {
        position: absolute;
        left: 0.7rem;
        top: 1rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding-left: 1rem;
    }

    .experience-inner {
        width: min(100% - 28px, 1380px);
    }

    .career-timeline {
        gap: 2rem;
    }

    .career-timeline::before {
        left: 13px;
    }

    .career-entry {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .career-entry__date {
        display: none;
    }

    .career-entry__marker {
        padding-top: 1.55rem;
    }

    .career-entry__content {
        padding: clamp(1.25rem, 5vw, 1.65rem);
        border-radius: 26px 32px 28px 30px;
    }

    .career-entry__identity {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .career-entry__mobile-date,
    .career-entry__progression {
        display: block;
    }

    .career-links {
        gap: 0.35rem 0.8rem;
    }

    .company-logo-frame {
        width: 86px;
        min-width: 86px;
        height: 58px;
        flex-basis: 86px;
        padding: 0.42rem;
    }

    .company-logo--small {
        width: 68px;
        min-width: 68px;
        height: 48px;
        flex-basis: 68px;
    }

    .company-logo--large {
        width: 116px;
        height: 74px;
    }

    .experience-company,
    .company-identity,
    .logo-context {
        align-items: flex-start;
    }

    .timeline-body::before {
        left: 0;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .portrait-caption {
        margin-inline: 0.5rem;
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }

    .floating-badge,
    .portrait-frame,
    .project-slide,
    .hero-project,
    .metric,
    .capability-card,
    .timeline-body,
    .process-step,
    .skill-cluster,
    .metadata-card,
    .journey-item,
    .career-entry__content,
    .project-overview-strip button,
    .hero-project img,
    .screenshot-frame img,
    .project-slide__hero img {
        transform: none !important;
        animation: none !important;
    }
}

/* Four-page organic redesign */
.organic-page {
    background:
        radial-gradient(ellipse at 14% 5%, rgba(250, 202, 188, 0.17), transparent 28rem),
        radial-gradient(ellipse at 92% 28%, rgba(237, 100, 25, 0.18), transparent 32rem),
        radial-gradient(ellipse at 22% 76%, rgba(250, 202, 188, 0.22), transparent 34rem),
        var(--page-background);
}

.organic-page .section {
    position: relative;
    padding-block: clamp(4.2rem, 6.6vw, 6.8rem);
}

.organic-page .section-band {
    background: transparent;
}

.organic-page .section-band::before,
.organic-page .projects-flow::before,
.organic-page .career-timeline-section::before,
.organic-page .skills-section::before,
.organic-page .contact-layout::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.organic-page .section-band::before {
    inset: 1.2rem max(1rem, calc((100vw - 1320px) / 2)) 1.2rem max(1rem, calc((100vw - 1320px) / 2));
    border-radius: 78px 38px 86px 42px;
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.58), rgba(255, 255, 255, 0.58));
}

.organic-page .page-hero,
.organic-page .hero {
    border-bottom: 0;
    background: transparent;
}

.organic-page .page-hero .section-inner,
.organic-page .organic-hero .section-inner {
    position: relative;
}

.organic-page .page-hero .section-inner::after,
.organic-page .organic-hero .section-inner::after {
    content: "";
    position: absolute;
    right: 0;
    top: -1rem;
    width: min(30vw, 18rem);
    aspect-ratio: 1.35;
    border-radius: 52% 48% 62% 38% / 42% 62% 38% 58%;
    background: rgba(250, 202, 188, 0.62);
    z-index: -1;
}

.organic-page .home-portrait,
.organic-page .portrait-frame {
    border: 0;
    border-radius: 42% 58% 48% 52% / 38% 42% 58% 62%;
    box-shadow: var(--shadow-md);
}

.organic-page .home-portrait img,
.organic-page .portrait-frame img {
    border: 0;
    border-radius: 40% 60% 48% 52% / 42% 44% 56% 58%;
}

.organic-page .floating-badge,
.organic-page .company-logo-frame,
.organic-page .contact-method,
.organic-page .project-carousel__pagination button {
    border-radius: 18px 28px 18px 28px;
}

.organic-page .home-metrics .metric,
.organic-page .metric {
    border: 0;
    box-shadow: var(--shadow-xs);
}

.organic-page .home-metrics .metric {
    transform: none;
}

.organic-page .home-metrics .metric:nth-child(1) {
    border-radius: 42px 72px 46px 62px;
}

.organic-page .home-metrics .metric:nth-child(2),
.organic-page .home-metrics .metric:nth-child(5) {
    border-radius: 58px 30px 54px 34px;
}

.organic-page .home-metrics .metric:nth-child(3),
.organic-page .home-metrics .metric:nth-child(6) {
    border-radius: 30px 54px 58px 34px;
}

.organic-page .home-metrics .metric:nth-child(4),
.organic-page .home-metrics .metric:nth-child(7) {
    border-radius: 34px 58px 30px 46px;
}

.organic-page .projects-flow {
    isolation: isolate;
}

.organic-page .projects-flow::before {
    inset: 0 max(1rem, calc((100vw - 1440px) / 2)) 0 max(1rem, calc((100vw - 1440px) / 2));
    border-radius: 88px 44px 96px 54px;
    background:
        radial-gradient(ellipse at 8% 22%, rgba(250, 202, 188, 0.18), transparent 24rem),
        var(--surface-primary);
    box-shadow: 0 28px 80px rgba(90, 90, 90, 0.07);
}

.organic-page .project-slide {
    border: 0;
    border-radius: 42px 78px 44px 66px;
    box-shadow: var(--shadow-md);
}

.organic-page .project-slide__hero,
.organic-page .screenshot-frame {
    border: 0;
    border-radius: 28px 48px 28px 48px;
}

.organic-page .project-slide__hero img,
.organic-page .screenshot-frame img {
    border: 0;
    border-radius: 24px 44px 24px 44px;
}

.organic-page .project-slide__metadata p {
    border-left: 0;
    padding-left: 0;
}

.organic-page .project-slide__metadata p strong {
    display: inline;
    margin-right: 0.35rem;
}

.logo-float {
    box-shadow: var(--shadow-sm);
}

.project-detail-stack {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.js-enabled .project-detail-panel[hidden] {
    display: none;
}

.project-detail-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: clamp(1.3rem, 3vw, 3rem);
    align-items: center;
    padding: var(--space-card-xlarge);
    border-radius: 34px 78px 48px 72px;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(250, 202, 188, 0.14), transparent 18rem),
        rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.project-detail-panel:nth-child(even) {
    grid-template-columns: minmax(360px, 1.12fr) minmax(0, 0.88fr);
    border-radius: 78px 34px 72px 48px;
    background:
        radial-gradient(ellipse at 8% 10%, rgba(237, 100, 25, 0.16), transparent 18rem),
        rgba(255, 255, 255, 0.92);
}

.project-detail-panel:nth-child(even) .detail-copy {
    order: 2;
}

.detail-copy {
    display: grid;
    gap: 1.15rem;
}

.detail-copy h3 {
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.12;
}

.project-summary {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.project-summary div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.28fr) minmax(0, 1fr);
    gap: 0.8rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-default);
}

.project-summary div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.project-summary dt {
    color: var(--project-text-accent);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    text-transform: uppercase;
}

.project-summary dd {
    margin: 0;
    color: var(--text-secondary);
}

.detail-visuals {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 0.9rem;
    align-items: end;
}

.detail-visuals .screenshot-frame:nth-child(2) {
    transform: translateY(1.2rem);
}

.organic-selector-nav {
    justify-content: center;
}

.organic-page .career-timeline-section {
    isolation: isolate;
}

.organic-page .career-timeline-section::before {
    inset: 2rem max(1rem, calc((100vw - 1380px) / 2)) 2rem max(1rem, calc((100vw - 1380px) / 2));
    border-radius: 42px 92px 42px 92px;
    background: rgba(250, 202, 188, 0.45);
}

.organic-page .skills-architecture {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
}

.organic-page .skill-cluster {
    border: 0;
    border-radius: 42px 72px 36px 62px;
    box-shadow: var(--shadow-xs);
}

.organic-page .skill-cluster:nth-child(2n) {
    transform: translateY(1rem);
    border-radius: 72px 38px 64px 34px;
}

.organic-page .education-grid,
.organic-page .references-grid {
    position: relative;
}

.organic-page .education-grid::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 50%;
    height: 1px;
    background: var(--border-emphasis);
}

.organic-page .education-grid .system-panel,
.organic-page .references-grid .system-panel {
    border: 0;
    border-radius: 56px 34px 64px 38px;
    box-shadow: var(--shadow-xs);
}

.organic-page .education-grid .system-panel:nth-child(2) {
    transform: translateY(1.2rem);
    border-radius: 34px 64px 38px 56px;
}

.organic-page .contact-layout {
    position: relative;
    isolation: isolate;
    align-items: start;
}

.organic-page .contact-layout::before {
    inset: -1rem -2rem 1rem 40%;
    border-radius: 64px 88px 48px 76px;
    background: rgba(250, 202, 188, 0.62);
}

.organic-page .contact-panel {
    border: 0;
    border-radius: 48px 72px 40px 64px;
    box-shadow: var(--shadow-sm);
}

.organic-page .contact-layout > aside.contact-panel {
    background: transparent;
    box-shadow: none;
    padding-block: var(--space-card-medium);
    padding-inline: 0;
}

.organic-page .contact-layout > section.contact-panel {
    background: rgba(255, 255, 255, 0.92);
}

.organic-page .contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.organic-page .contact-method {
    width: min(100%, 18rem);
    background: rgba(255, 255, 255, 0.88);
}

.organic-mini-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-card-large);
    border-radius: 34px 72px 40px 64px;
    background: var(--surface-blush);
}

.organic-page .site-footer {
    border-radius: 72px 72px 0 0;
}

@media (max-width: 980px) {
    .project-detail-panel,
    .project-detail-panel:nth-child(even),
    .organic-page .skills-architecture {
        grid-template-columns: 1fr;
    }

    .project-detail-panel:nth-child(even) .detail-copy {
        order: 0;
    }

    .detail-visuals {
        grid-template-columns: 1fr;
    }

    .detail-visuals .screenshot-frame:nth-child(2),
    .organic-page .skill-cluster:nth-child(2n),
    .organic-page .education-grid .system-panel:nth-child(2),
    .organic-page .home-metrics .metric {
        transform: none;
    }
}

@media (max-width: 720px) {
    .organic-page .section-band::before,
    .organic-page .projects-flow::before,
    .organic-page .career-timeline-section::before,
    .organic-page .contact-layout::before {
        inset-inline: 0.6rem;
        border-radius: 32px;
    }

    .organic-page .project-slide,
    .project-detail-panel,
    .organic-page .career-entry__content,
    .organic-page .skill-cluster,
    .organic-page .contact-panel,
    .organic-mini-cta {
        border-radius: 28px 34px 30px 32px;
    }

    .organic-page .home-portrait,
    .organic-page .portrait-frame,
    .organic-page .home-portrait img,
    .organic-page .portrait-frame img {
        border-radius: 28px 34px 30px 32px;
    }

    .organic-page .education-grid::before {
        display: none;
    }

    .organic-page .contact-list {
        display: grid;
    }

    .organic-page .contact-method {
        width: 100%;
    }
}

/* Experience page skills */
.skills-section {
    background: #F7F7F7;
}

.organic-page .skills-section::before {
    content: none;
}

.skills-section .section-inner {
    width: min(1280px, calc(100% - 48px));
}

.skills-section .kicker,
.skills-section .section-heading h2,
.skills-section .section-heading p {
    color: #5A5A5A;
}

.skills-section .section-heading p {
    max-width: 62ch;
    margin-top: 0.75rem;
}

.skills-section .kicker::before {
    background: #09D7AB;
}

.experience-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.experience-skill-card {
    position: relative;
    min-width: 0;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    background: var(--surface-primary);
    box-shadow: var(--shadow-card);
    overflow: visible;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.experience-skill-card::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border-active);
    border-radius: 12px;
    opacity: 0.42;
}

.experience-skill-card:nth-child(1) {
    background: var(--surface-primary);
}

.experience-skill-card:nth-child(2) {
    background: var(--surface-mint);
}

.experience-skill-card:nth-child(3) {
    background: var(--surface-warm);
}

.experience-skill-card:nth-child(4) {
    background: var(--surface-primary);
}

.experience-skill-card:nth-child(5) {
    background: var(--surface-blush);
}

.experience-skill-card:nth-child(6) {
    background: var(--surface-mint);
}

.experience-skill-card:nth-child(2n)::after,
.experience-skill-card:nth-child(5)::after {
    border-color: var(--border-emphasis);
}

.experience-skill-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-hover);
}

.experience-skill-card:nth-child(2n):hover,
.experience-skill-card:nth-child(5):hover {
    border-color: var(--border-emphasis);
}

.experience-skill-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding-right: 2.6rem;
}

.experience-skill-card__number {
    flex: 0 0 auto;
    color: var(--action-primary);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.experience-skill-card:nth-child(2n) .experience-skill-card__number,
.experience-skill-card:nth-child(5) .experience-skill-card__number {
    color: var(--action-emphasis);
}

.experience-skill-card h3 {
    margin: 0;
    color: var(--text-heading);
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    line-height: 1.22;
}

.experience-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.experience-skill-tags li {
    max-width: 100%;
    padding: 0.5rem 0.72rem;
    border: 1px solid rgba(90, 90, 90, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #5A5A5A;
    font-size: 0.86rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .experience-skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .skills-section .section-inner {
        width: min(1280px, calc(100% - 32px));
    }

    .experience-skill-card {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .experience-skill-card__header {
        padding-right: 2.25rem;
    }

    .experience-skill-tags {
        gap: 0.45rem;
    }

    .experience-skill-tags li {
        padding: 0.48rem 0.62rem;
        font-size: 0.84rem;
    }
}

/* Experience page panel containment */
.experience-page main {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.4rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.experience-page .experience-hero,
.experience-page .career-timeline-section,
.experience-page .education-section,
.experience-page .skills-section,
.experience-page .references-section,
.experience-page .contact-action-section {
    position: relative;
    isolation: isolate;
    width: min(1360px, calc(100% - 48px));
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: clamp(32px, 5vw, 72px);
    overflow: visible;
}

.experience-page .experience-hero {
    margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
    background:
        radial-gradient(ellipse at 84% 20%, rgba(250, 202, 188, 0.54), transparent 24rem),
        rgba(255, 255, 255, 0.76);
}

.experience-page .career-timeline-section {
    background: rgba(250, 202, 188, 0.45);
}

.experience-page .education-section,
.experience-page .references-section {
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.58), rgba(255, 255, 255, 0.58));
}

.experience-page .contact-action-section {
    background: rgba(255, 255, 255, 0.68);
}

.experience-page .experience-hero::before,
.experience-page .career-timeline-section::before,
.experience-page .education-section::before,
.experience-page .references-section::before,
.experience-page .skills-section::before {
    content: none;
}

.experience-page .experience-hero .section-inner,
.experience-page .career-timeline-section > .section-inner,
.experience-page .education-section > .section-inner,
.experience-page .skills-section > .section-inner,
.experience-page .references-section > .section-inner,
.experience-page .contact-action-section > .section-inner {
    width: 100%;
    padding:
        clamp(3.25rem, 5.5vw, 5.5rem)
        clamp(3rem, 5vw, 5rem);
}

.experience-page .section-heading {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 760px;
    margin: 0 0 clamp(2rem, 4vw, 3.5rem);
    padding: 0;
    transform: none;
}

.experience-page .section-heading .kicker {
    margin: 0;
}

.experience-page .section-heading h2 {
    margin: 0;
    max-width: 20ch;
    text-wrap: balance;
}

.experience-page .career-timeline,
.experience-page .education-grid,
.experience-page .skills-architecture,
.experience-page .references-grid,
.experience-page .compact-contact-row {
    max-width: 100%;
}

@media (min-width: 981px) {
    .experience-page .education-grid,
    .experience-page .skills-architecture,
    .experience-page .references-grid {
        width: calc(100% + 2rem);
        margin-inline: -1rem;
    }

    .experience-page .career-entry__content {
        margin-right: -1rem;
    }
}

@media (max-width: 980px) {
    .experience-page main {
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .experience-page .experience-hero,
    .experience-page .career-timeline-section,
    .experience-page .education-section,
    .experience-page .skills-section,
    .experience-page .references-section,
    .experience-page .contact-action-section {
        width: calc(100% - 32px);
        border-radius: 32px;
    }

    .experience-page .experience-hero .section-inner,
    .experience-page .career-timeline-section > .section-inner,
    .experience-page .education-section > .section-inner,
    .experience-page .skills-section > .section-inner,
    .experience-page .references-section > .section-inner,
    .experience-page .contact-action-section > .section-inner {
        padding: clamp(2rem, 5vw, 3rem) clamp(2rem, 4vw, 2.5rem);
    }

    .experience-page .section-heading {
        margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
    }

    .experience-page .education-grid,
    .experience-page .skills-architecture,
    .experience-page .references-grid,
    .experience-page .career-entry__content {
        width: 100%;
        margin-inline: 0;
    }
}

@media (max-width: 600px) {
    .experience-page .experience-hero,
    .experience-page .career-timeline-section,
    .experience-page .education-section,
    .experience-page .skills-section,
    .experience-page .references-section,
    .experience-page .contact-action-section {
        width: calc(100% - 24px);
        border-radius: 26px;
    }

    .experience-page .experience-hero .section-inner,
    .experience-page .career-timeline-section > .section-inner,
    .experience-page .education-section > .section-inner,
    .experience-page .skills-section > .section-inner,
    .experience-page .references-section > .section-inner,
    .experience-page .contact-action-section > .section-inner {
        padding: clamp(1.45rem, 6vw, 2rem) clamp(1.25rem, 5vw, 1.65rem);
    }

    .experience-page .section-heading h2 {
        max-width: none;
    }

    .reference-card {
        align-items: flex-start;
        padding: 1.25rem;
    }
}

@media (max-width: 420px) {
    .reference-card {
        display: flex;
        gap: 0.9rem;
    }

    .reference-card__header {
        flex-direction: column;
        gap: 0.85rem;
    }

    .reference-card__photo {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
}

/* Simplified premium homepage */
.home-page .section {
    padding-block: clamp(4rem, 6vw, 6rem);
}

.home-page .section.compact {
    padding-block: clamp(3.5rem, 5vw, 5rem);
}

.home-page .section-heading {
    margin-bottom: clamp(1.3rem, 2.5vw, 2rem);
}

.home-page .section-heading h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.65rem);
    line-height: 1.12;
    max-width: 24ch;
}

.home-hero {
    padding-block: clamp(4rem, 7vw, 6rem) clamp(3.5rem, 5vw, 5rem);
    background:
        radial-gradient(circle at 72% 22%, rgba(250, 202, 188, 0.18), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(250, 202, 188, 0.52)),
        var(--page-background);
    border-bottom: 0;
}

.home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
    gap: clamp(2.5rem, 6vw, 6rem);
}

.home-hero h1 {
    font-size: clamp(2.45rem, 4.2vw, 4.4rem);
    line-height: 1.04;
    max-width: 15ch;
}

.home-hero .lede {
    max-width: 620px;
    font-size: clamp(1rem, 1.1vw, 1.16rem);
    line-height: 1.65;
}

.home-hero .hero-support {
    max-width: 560px;
    padding-left: 1rem;
    border-left: 3px solid var(--action-primary);
}

.home-social-links {
    gap: 1.1rem;
}

.home-portrait {
    padding: var(--space-card-small);
    background:
        linear-gradient(135deg, rgba(250, 202, 188, 0.92), rgba(237, 100, 25, 0.78)),
        var(--surface-primary);
}

.home-portrait::before {
    inset: 1.35rem -0.85rem -0.85rem 1.35rem;
    background: var(--surface-mint);
}

.home-portrait::after,
.home-portrait .portrait-caption,
.home-portrait .portrait-project-card {
    display: none;
}

.home-portrait img {
    aspect-ratio: 4 / 4.7;
}

.home-portrait .floating-badge {
    max-width: min(16rem, calc(100% - 2rem));
    animation: none;
}

.home-portrait .floating-badge--top {
    left: 1.25rem;
    top: 1.25rem;
}

.home-portrait .floating-badge--bottom {
    right: 1.25rem;
    left: auto;
    bottom: 1.25rem;
}

.home-metrics {
    grid-template-columns: minmax(280px, 0.95fr) repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.7vw, 1.25rem);
    align-items: stretch;
}

.home-metrics .metric {
    grid-row: auto;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.9rem;
    padding: var(--space-card-medium);
    background: var(--surface-primary);
}

.home-metrics .metric-card--featured {
    grid-column: 1;
    grid-row: span 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(90, 90, 90, 0.08);
    background: rgba(215, 248, 241, 0.52);
    color: #5A5A5A;
}

.home-metrics .metric:nth-child(2),
.home-metrics .metric:nth-child(5) {
    background: var(--surface-blush);
}

.home-metrics .metric:nth-child(3),
.home-metrics .metric:nth-child(7) {
    background: var(--surface-mint);
}

.home-metrics .metric:nth-child(4),
.home-metrics .metric:nth-child(6) {
    background: var(--surface-neutral);
}

.home-metrics .metric.metric-card--featured strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #ED6419;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
}

.home-metrics .metric-kicker {
    width: fit-content;
    color: var(--action-emphasis);
    font-family: Consolas, "Courier New", monospace;
    font-size: var(--font-size-label);
    font-weight: 700;
    text-transform: uppercase;
}

.home-metrics .metric.metric-card--featured .metric-kicker {
    display: block;
    margin-bottom: 0.65rem;
    color: #5A5A5A;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-metrics .metric-card--featured > span:last-child {
    max-width: 28ch;
    color: rgba(90, 90, 90, 0.78);
    font-size: 1rem;
    line-height: 1.55;
}

.home-metrics .metric strong {
    color: var(--action-emphasis);
}

.home-metrics .metric span {
    font-size: 0.9rem;
    line-height: 1.42;
}

.home-metrics .metric-card--wide span {
    font-size: 0.86rem;
    line-height: 1.38;
}

.home-page .project-carousel-section .section-inner {
    width: min(1380px, calc(100% - 48px));
}

.home-page .project-slide {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
    padding: var(--space-card-xlarge);
}

.home-page .project-slide__visual {
    align-self: stretch;
}

.home-page .project-slide__hero {
    height: 100%;
    display: grid;
    align-items: center;
    padding: clamp(0.55rem, 1vw, 0.85rem);
}

.home-page .project-slide__hero img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-page .project-slide__hero figcaption {
    display: none;
}

.home-page .project-slide__content {
    gap: 0.95rem;
}

.home-page .project-slide__title {
    font-size: clamp(1.75rem, 2.3vw, 2.45rem);
}

.home-page .project-slide__description {
    font-size: 0.98rem;
    line-height: 1.58;
}

.home-page .project-slide__metadata {
    gap: 0.48rem;
}

.home-page .project-slide__metadata p {
    font-size: 0.93rem;
    line-height: 1.45;
}

.home-page .project-slide__tags span {
    font-size: 0.7rem;
}

.home-section-link {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.home-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.home-experience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}

.home-timeline::before {
    left: 7%;
    right: 7%;
    top: 20px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: var(--border-emphasis);
    z-index: 0;
}

.home-timeline .timeline-item {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 1fr;
    align-content: start;
    align-items: stretch;
    gap: 1rem;
    height: 100%;
    padding: 0 0.55rem;
}

.home-timeline .timeline-date {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    align-self: start;
    min-height: 40px;
    height: 40px;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border-emphasis);
    border-radius: 999px;
    background: var(--surface-primary);
    color: var(--action-emphasis);
    line-height: 1;
    white-space: nowrap;
    transform: none;
}

.home-timeline .timeline-body {
    height: 100%;
    align-self: stretch;
    padding: clamp(1.5rem, 2vw, 2rem);
    background: rgba(255, 255, 255, 0.86);
}

.home-experience-card {
    display: flex;
    flex-direction: column;
}

.home-timeline .timeline-body::before {
    display: none;
}

.home-timeline .timeline-body::after {
    top: 0;
    left: 1rem;
    right: 1rem;
    bottom: auto;
    width: auto;
    height: 3px;
}

.home-timeline .company-identity {
    display: grid;
    gap: 0.75rem;
    height: 100%;
    align-content: start;
}

.home-experience-card__logo {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-experience-card__company {
    margin-top: 1.25rem;
}

.home-experience-card__role {
    min-height: 3.1em;
    line-height: 1.45;
}

.home-experience-card__summary {
    min-height: 6.2em;
    margin-top: 0.55rem;
    line-height: 1.55;
    overflow: visible;
}

.home-timeline .company-identity__text h3 {
    font-size: 1.05rem;
}

.home-timeline .company-identity__text p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.home-page .site-footer {
    margin-top: 0;
    padding-block: 1.7rem;
}

.home-page .footer-inner {
    grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
    gap: 1rem;
}

.home-page .footer-inner > div p {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
    .home-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-metrics .metric-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 240px;
    }

    .home-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .home-timeline::before {
        display: none;
    }
}

@media (max-width: 980px) {
    .home-hero .hero-grid,
    .home-page .project-slide {
        grid-template-columns: 1fr;
    }

    .home-page .project-slide {
        min-height: 0;
    }

    .home-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    .home-page .section,
    .home-page .section.compact {
        padding-block: 3.5rem;
    }

    .home-hero {
        padding-top: 2rem;
    }

    .home-hero h1 {
        font-size: clamp(2.25rem, 13vw, 3.05rem);
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .home-portrait {
        overflow: visible;
    }

    .home-portrait .floating-badge {
        position: absolute;
        display: inline-flex;
        margin: 0;
    }

    .home-portrait .floating-badge--top {
        left: 0.8rem;
        top: 0.8rem;
    }

    .home-portrait .floating-badge--bottom {
        right: 0.8rem;
        bottom: 0.8rem;
    }

    .home-metrics,
    .home-timeline,
    .home-page .footer-inner {
        grid-template-columns: 1fr;
    }

    .home-experience-grid {
        grid-template-columns: 1fr;
    }

    .home-metrics .metric {
        min-height: 0;
    }

    .home-metrics .metric-card--featured {
        min-height: 220px;
    }

    .metric::after,
    .metric-card::after {
        top: 14px;
        right: 14px;
    }

    .home-timeline {
        gap: 0.9rem;
    }

    .home-timeline .timeline-item {
        padding-left: 1rem;
        height: auto;
    }

    .home-timeline .timeline-body {
        height: auto;
    }

    .home-timeline .timeline-date {
        justify-self: start;
    }

    .home-experience-card__role,
    .home-experience-card__summary {
        min-height: 0;
    }

    .home-page .project-slide {
        flex-basis: 90%;
    }

    .home-page .project-slide__hero img {
        aspect-ratio: 16 / 10;
    }

    .home-page .footer-nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js-enabled .reveal,
    .home-portrait,
    .home-portrait .floating-badge,
    .home-page .project-slide,
    .home-page .project-slide__hero img,
    .home-metrics .metric,
    .home-timeline .timeline-body {
        transform: none !important;
        animation: none !important;
    }
}

/* Compact autoplay project carousels */
.project-carousel {
    --carousel-slide-height: 340px;
    --carousel-image-height: 220px;
    gap: 0.75rem;
    max-width: 1180px;
    margin-inline: auto;
}

.project-carousel--large {
    --carousel-slide-height: 420px;
    --carousel-image-height: 275px;
    max-width: 1240px;
}

.project-carousel__arrow {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    background: var(--surface-primary);
    color: var(--text-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.project-carousel__arrow:hover,
.project-carousel__arrow:focus-visible {
    border-color: var(--action-primary);
    background: var(--action-primary);
    color: #F7F7F7;
    box-shadow: var(--shadow-small);
    transform: translateY(-2px);
}

.project-carousel__shell {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: clamp(0.6rem, 1.4vw, 1rem);
    align-items: center;
}

.project-carousel__arrow {
    position: relative;
    z-index: 2;
    border-radius: 18px;
}

.project-carousel__arrow span {
    width: 0.85rem;
    height: 0.85rem;
    border-block-start: 3px solid currentColor;
    border-inline-start: 3px solid currentColor;
}

.project-carousel__arrow--previous span {
    transform: rotate(-45deg);
}

.project-carousel__arrow--next span {
    transform: rotate(135deg);
}

.project-carousel__viewport {
    overflow: hidden;
    border-radius: 24px;
    scrollbar-width: none;
}

.project-carousel__track {
    display: flex;
    gap: 0;
    align-items: stretch;
    transition: transform 420ms ease;
    will-change: transform;
}

.project-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1rem, 1.9vw, 1.65rem);
    align-items: center;
    min-height: var(--carousel-slide-height);
    max-height: var(--carousel-slide-height);
    padding: clamp(1.35rem, 2vw, 1.85rem);
    border-radius: 22px;
    overflow: hidden;
}

.organic-page .project-slide {
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.project-slide__visual {
    display: block;
    min-width: 0;
}

.project-slide__hero {
    height: var(--carousel-image-height);
    margin: 0;
    padding: clamp(0.6rem, 1vw, 0.8rem);
    border-radius: 18px;
    overflow: hidden;
}

.project-slide__hero::before,
.project-slide__hero figcaption {
    display: none;
}

.project-slide__hero img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 14px;
}

.project-slide__content {
    gap: 0.6rem;
    align-content: center;
    min-width: 0;
}

.project-slide__eyebrow {
    gap: 0;
    font-size: 0.68rem;
}

.project-slide__title {
    font-size: clamp(1.28rem, 2vw, 1.8rem);
    line-height: 1.1;
    max-width: 22ch;
}

.project-slide__description {
    display: -webkit-box;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-slide__metadata {
    gap: 0.32rem;
}

.project-slide__metadata p {
    padding-left: 0;
    border-left: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.35;
}

.project-slide__metadata strong {
    display: inline;
    margin-right: 0.32rem;
    color: var(--project-text-accent);
}

.project-slide__tags {
    gap: 0.45rem 0.55rem;
}

.project-slide__tags span {
    max-width: 100%;
    padding: 0.36rem 0.58rem;
    font-size: 0.66rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.project-slide__tags span:nth-child(n+4) {
    display: none;
}

.project-slide__actions {
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.project-slide__actions .button {
    min-height: 40px;
    padding: 0.5rem 0.72rem;
    font-size: 0.86rem;
}

.project-carousel__progress {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.28rem;
    height: auto;
    margin-top: 0.7rem;
    border: 0;
    background: transparent;
}

.project-carousel__progress span {
    position: relative;
    display: block;
    width: auto;
    height: 0.46rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-neutral);
}

.project-carousel__progress span.is-complete {
    background: var(--palette-blush);
}

.project-carousel__progress span.is-active {
    background: var(--surface-blush);
}

.project-carousel__progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--action-primary);
}

.project-carousel.is-autoplay-running .project-carousel__progress span.is-active i {
    animation: carousel-timer 3000ms linear forwards;
}

.project-carousel.is-autoplay-paused .project-carousel__progress span.is-active i {
    animation-play-state: paused;
}

@keyframes carousel-timer {
    from { width: 0; }
    to { width: 100%; }
}

.project-carousel__pagination {
    gap: 0.38rem;
    margin-top: 0.65rem;
    padding-bottom: 0.25rem;
    white-space: nowrap;
}

.project-carousel__pagination button {
    min-height: 40px;
    padding: 0.42rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
}

.project-carousel__pagination button[aria-selected="true"],
.project-carousel__pagination button[aria-current="true"] {
    border-color: var(--action-primary);
    background: var(--action-primary);
    color: #FFFFFF;
    box-shadow: none;
}

.project-carousel__pagination button[aria-selected="true"] span,
.project-carousel__pagination button[aria-current="true"] span {
    color: #FFFFFF;
}

.projects-page .project-detail-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: clamp(1.2rem, 2.4vw, 2rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 24px 34px 24px 30px;
}

.projects-page .project-detail-panel:nth-child(even) {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    border-radius: 34px 24px 30px 24px;
}

.projects-page .detail-visuals {
    grid-template-columns: 1fr;
}

.projects-page .detail-visuals .screenshot-frame:nth-child(2) {
    transform: none;
}

.projects-page .screenshot-frame img {
    max-height: 260px;
    object-fit: cover;
}

.projects-page .project-details-flow {
    padding-top: clamp(3rem, 5vw, 5rem);
}

.projects-list {
    display: grid;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.project-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    min-height: 480px;
    height: auto;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid rgba(90, 90, 90, 0.1);
    border-radius: 32px;
    background:
        radial-gradient(ellipse at 6% 10%, rgba(215, 248, 241, 0.55), transparent 24rem),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 48px rgba(90, 90, 90, 0.09);
    scroll-margin-top: 7rem;
}

.project-card:nth-child(2n) {
    background:
        radial-gradient(ellipse at 8% 14%, rgba(171, 241, 226, 0.28), transparent 22rem),
        rgba(251, 243, 239, 0.86);
}

.project-card:nth-child(3n) {
    background:
        radial-gradient(ellipse at 8% 14%, rgba(250, 202, 188, 0.25), transparent 22rem),
        rgba(255, 255, 255, 0.94);
}

.project-card__visual {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(90, 90, 90, 0.08);
}

.project-card__visual figure {
    margin: 0;
}

.project-card__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 0;
    border-radius: 22px;
}

.project-card__visual figcaption {
    margin-top: 0.7rem;
    color: #5A5A5A;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.45;
}

.project-card__content {
    display: grid;
    gap: 1.15rem;
    min-width: 0;
}

.project-card__content h3 {
    font-size: clamp(1.65rem, 2.6vw, 2.55rem);
    line-height: 1.08;
}

.project-card .project-summary {
    gap: 0;
}

.project-card .project-summary div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 1rem;
    border-bottom: 1px solid rgba(90, 90, 90, 0.12);
}

.project-card .project-summary div:first-child {
    padding-top: 0;
}

.project-card .project-summary dt {
    color: var(--project-text-accent);
}

.project-card .project-summary dd {
    color: #5A5A5A;
}

.project-card .project-slide__tags span {
    border-color: rgba(9, 215, 171, 0.22);
    background: rgba(215, 248, 241, 0.64);
    color: #5A5A5A;
}

@media (max-width: 800px) {
    .project-card {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 0;
        padding: clamp(1.25rem, 5vw, 1.75rem);
        border-radius: 26px;
    }

    .project-card__content {
        display: contents;
        order: 1;
    }

    .project-card__content > .meta-label,
    .project-card__content > h3 {
        order: 1;
    }

    .project-card__visual {
        order: 2;
        padding: 0.8rem;
        border-radius: 22px;
    }

    .project-card .project-summary,
    .project-card .project-slide__tags,
    .project-card .action-row {
        order: 3;
    }

    .project-card .project-summary div {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding-block: 0.85rem;
    }

    .project-card__visual img {
        border-radius: 18px;
    }

    .project-card .action-row {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.home-page .project-carousel-section .section-inner {
    width: min(1120px, calc(100% - 48px));
}

.home-page .project-carousel {
    --carousel-slide-height: 320px;
    --carousel-image-height: 205px;
}

.home-page .project-slide {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    min-height: var(--carousel-slide-height);
    max-height: var(--carousel-slide-height);
    padding: clamp(1.3rem, 2vw, 1.75rem);
}

.home-page .project-slide__title {
    font-size: clamp(1.22rem, 1.8vw, 1.62rem);
}

.home-page .project-slide__description {
    font-size: 0.9rem;
}

.home-page .project-slide__hero {
    height: var(--carousel-image-height);
}

/* Homepage carousel fit and equal-height correction */
.home-page .project-carousel {
    --carousel-slide-height: 410px;
    --carousel-image-height: 260px;
}

.home-page .project-carousel__viewport {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-block: 0.75rem 1rem;
    overflow: hidden;
}

.home-page .project-carousel__track {
    align-items: stretch;
}

.home-page .project-slide {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
    align-items: stretch;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    min-height: var(--carousel-slide-height);
    height: var(--carousel-slide-height);
    max-height: none;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    overflow: visible;
}

.home-page .project-slide__visual {
    min-height: 0;
    height: 100%;
}

.home-page .project-slide__hero {
    height: 100%;
    min-height: 250px;
    margin: 0;
    overflow: hidden;
}

.home-page .project-slide__hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-page .project-slide__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    gap: 0.72rem;
    overflow: visible;
}

.home-page .project-slide__title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.08;
}

.home-page .project-slide__description {
    font-size: 0.9rem;
    line-height: 1.45;
    overflow: visible;
}

.home-page .project-slide__eyebrow,
.home-page .company-identity,
.home-page .project-slide__title,
.home-page .project-slide__description,
.home-page .project-slide__metadata,
.home-page .project-slide__tags,
.home-page .project-slide__actions {
    flex: 0 0 auto;
}

.home-page .project-slide__metadata {
    gap: 0.35rem;
}

.home-page .project-slide__metadata p {
    font-size: 0.86rem;
    line-height: 1.35;
}

.home-page .project-slide__tags {
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.home-page .project-slide__tags span {
    padding: 0.35rem 0.6rem;
    font-size: 0.76rem;
    line-height: 1.2;
}

.home-page .project-slide__tags span:nth-child(n+4) {
    display: none;
}

.home-page .project-slide__actions {
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1rem;
    position: static;
}

.home-page .project-slide__actions .button {
    min-height: 42px;
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

.home-page .project-carousel__progress {
    margin-top: 0.8rem;
}

.home-page .project-carousel__pagination {
    margin-top: 1.25rem;
}

@media (max-width: 1024px) {
    .project-carousel,
    .project-carousel--large,
    .home-page .project-carousel {
        --carousel-slide-height: 455px;
        --carousel-image-height: 190px;
    }

    .project-slide,
    .home-page .project-slide {
        grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
    }

    .home-page .project-slide__hero {
        height: var(--carousel-image-height);
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .project-carousel,
    .project-carousel--large,
    .home-page .project-carousel {
        --carousel-slide-height: 640px;
        --carousel-image-height: 165px;
    }

    .project-carousel__shell {
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .project-carousel__viewport {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .project-carousel__arrow {
        grid-row: 2;
        min-width: 44px;
        min-height: 44px;
        width: 100%;
    }

    .project-carousel__arrow--previous {
        grid-column: 1;
    }

    .project-carousel__arrow--next {
        grid-column: 2;
    }

    .project-slide,
    .home-page .project-slide {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 0.85rem;
        padding: clamp(1.15rem, 4.8vw, 1.45rem);
    }

    .home-page .project-slide__visual,
    .home-page .project-slide__content {
        height: auto;
        min-height: 0;
    }

    .project-slide__hero {
        height: var(--carousel-image-height);
    }

    .home-page .project-slide__hero {
        min-height: 0;
    }

    .project-slide__title {
        font-size: 1.24rem;
    }

    .project-slide__description {
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .project-slide__metadata p {
        font-size: 0.78rem;
    }

    .project-slide__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .project-slide__actions .button {
        width: 100%;
        min-height: 38px;
        justify-content: center;
    }

    .project-carousel__pagination button {
        font-size: 0;
    }

    .project-carousel__pagination button span {
        font-size: 0.68rem;
    }

    .project-carousel__pagination button::after {
        font-size: 0.68rem;
    }

    .project-carousel__pagination button:nth-child(1)::after { content: " NYBS"; }
    .project-carousel__pagination button:nth-child(2)::after { content: " LOGS"; }
    .project-carousel__pagination button:nth-child(3)::after { content: " SNOW"; }
    .project-carousel__pagination button:nth-child(4)::after { content: " HUB"; }
    .project-carousel__pagination button:nth-child(5)::after { content: " MIGRATION"; }
    .project-carousel__pagination button:nth-child(6)::after { content: " PINLINK"; }
    .project-carousel__pagination button:nth-child(7)::after { content: " YOUTUBE"; }

    .projects-page .project-detail-panel,
    .projects-page .project-detail-panel:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .projects-page .project-detail-panel:nth-child(even) .detail-copy {
        order: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-carousel__track,
    .project-carousel__progress i {
        transition: none !important;
        animation: none !important;
    }
}

/* Standardized sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 82px;
    margin: 0;
    padding-block: 0.65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: none;
}

.header-inner {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    min-height: 64px;
    margin-inline: auto;
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    border: 1px solid rgba(90, 90, 90, 0.15);
    border-radius: 26px 42px 26px 42px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
    backdrop-filter: blur(12px);
    transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header--scrolled,
.site-header--scrolled .header-inner {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.site-header--scrolled .header-inner {
    border-color: rgba(90, 90, 90, 0.22);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.14em;
}

.brand span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.66rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 1vw, 1rem);
}

.site-nav > a {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    color: var(--text-primary);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav > a::after {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.42rem;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.site-nav > a[aria-current="location"] {
    border-color: rgba(237, 100, 25, 0.18);
    background: rgba(250, 202, 188, 0.36);
    color: var(--action-emphasis);
}

.nav-cv,
.site-nav > .nav-cv {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-default);
    border-radius: 14px;
    background: var(--surface-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cv::after {
    display: none;
}

main > :first-child,
section[id],
article[id] {
    scroll-margin-top: 7rem;
}

#skills {
    scroll-margin-top: 7rem;
}

@media (max-width: 980px) {
    .site-header {
        width: 100%;
        min-height: 82px;
        padding-block: 0.65rem;
    }

    .header-inner {
        width: calc(100% - 24px);
        min-height: 58px;
        padding: 0.5rem 0.7rem 0.5rem 1rem;
        border-radius: var(--radius-medium);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: var(--radius-small);
    }

    .site-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .js-enabled .site-nav {
        position: absolute;
        inset: calc(100% + 0.5rem) 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding: 1rem;
        border: 1px solid var(--border-default);
        border-radius: var(--radius-medium);
        background: var(--surface-primary);
        box-shadow: var(--shadow);
    }

    .js-enabled .site-nav.is-open {
        display: flex;
    }

    .site-nav > a {
        width: 100%;
        min-height: 44px;
        padding: 0.7rem 1rem;
        font-size: 0.93rem;
    }

    .site-nav > .nav-cv {
        min-height: 44px;
    }
}

/* Final semantic color system */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.project-slide__title,
.project-card__content h3,
.reference-card__identity h3,
.reference-card__content h3,
.experience-skill-card h3 {
    color: var(--text-heading);
}

a,
.text-link {
    color: var(--text-primary);
}

a:hover,
a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--action-primary);
}

.kicker,
.eyebrow,
.meta-label,
.metric-kicker,
.project-card .project-summary dt {
    color: var(--action-emphasis);
}

.metric,
.timeline-body,
.project-slide,
.project-card,
.career-entry__content,
.system-panel,
.skill-cluster,
.experience-skill-card,
.reference-card,
.contact-panel,
.contact-method,
.company-logo-frame {
    border-color: var(--border-subtle);
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}

.project-slide,
.project-card {
    --slide-accent: var(--action-primary);
    --slide-tint: var(--surface-mint-soft);
}

.project-slide--openit,
.project-card:nth-child(3n) {
    --slide-accent: var(--action-emphasis);
    --slide-tint: var(--surface-blush);
}

.project-slide__tags span,
.flow-tags span,
.experience-skill-tags li,
.project-card .project-slide__tags span {
    border-color: var(--border-subtle);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-secondary);
}

.project-slide__tags span:hover,
.flow-tags span:hover {
    border-color: var(--border-active);
    background: var(--surface-mint);
    color: var(--text-heading);
}

.button,
.project-slide__actions .button {
    border-color: var(--action-primary);
    background: var(--action-primary);
    color: var(--text-heading);
}

.button:hover,
.button:focus-visible,
.project-slide__actions .button:hover,
.project-slide__actions .button:focus-visible {
    border-color: var(--action-primary);
    background: var(--action-primary-hover);
    color: var(--text-heading);
}

.button.secondary,
.nav-cv,
.site-nav > .nav-cv {
    border-color: var(--border-default);
    background: var(--action-secondary);
    color: var(--text-primary);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.nav-cv:hover,
.site-nav > .nav-cv:hover,
.site-nav > .nav-cv[aria-current="page"],
.site-nav > .nav-cv[aria-current="location"] {
    border-color: var(--border-active);
    background: var(--surface-mint);
    color: var(--text-heading);
}

.site-header,
.header-inner,
.site-header--scrolled .header-inner {
    border-color: var(--border-default);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-small);
}

.site-nav > a {
    color: var(--text-primary);
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.site-nav > a[aria-current="location"] {
    border-color: var(--border-active);
    background: var(--surface-mint);
    color: var(--text-heading);
}

.site-footer,
.home-page .site-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(9, 215, 171, 0.12), transparent 22rem),
        var(--palette-grey);
    color: var(--text-inverse);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration-color: var(--palette-mint-soft);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--palette-mint);
    text-decoration-color: var(--palette-mint);
}

.footer-note {
    color: rgba(255, 255, 255, 0.76);
}

.footer-note strong,
.footer-note em {
    color: var(--palette-orange);
}

.home-metrics .metric,
.home-timeline .timeline-body,
.organic-page .home-metrics .metric,
.organic-page .metric {
    background: var(--surface-primary);
}

.home-metrics .metric-card--featured,
.organic-page .home-metrics .metric-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
    padding: clamp(2rem, 4vw, 3rem);
    border-color: rgba(90, 90, 90, 0.08);
    background: rgba(215, 248, 241, 0.52);
    color: #5A5A5A;
}

.home-metrics .metric-card--featured .metric-kicker,
.organic-page .home-metrics .metric-card--featured .metric-kicker {
    display: block;
    margin-bottom: 0.65rem;
    color: #5A5A5A;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-metrics .metric-card--featured strong,
.organic-page .home-metrics .metric-card--featured strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #ED6419;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
}

.home-metrics .metric-card--featured > span:last-child,
.organic-page .home-metrics .metric-card--featured > span:last-child {
    max-width: 28ch;
    color: rgba(90, 90, 90, 0.78);
    font-size: 1rem;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .home-metrics .metric-card--featured,
    .organic-page .home-metrics .metric-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .home-metrics .metric-card--featured,
    .organic-page .home-metrics .metric-card--featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 220px;
    }
}

.home-page {
    background: var(--page-background, #F7F7F7);
}

.experience-preview,
.home-page .experience-preview {
    position: relative;
    isolation: isolate;
    padding-block:
        clamp(4.5rem, 7vw, 7rem)
        clamp(4.5rem, 7vw, 7rem);
    background: transparent;
    background-color: transparent;
    border-top: 0;
    border-bottom: 0;
    overflow: visible;
}

.experience-preview::before,
.home-page .experience-preview::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: -10rem;
    right: -8rem;
    width: min(42vw, 620px);
    height: calc(100% + 18rem);
    background:
        radial-gradient(
            ellipse at right top,
            rgba(250, 202, 188, 0.12),
            transparent 58%
        ),
        radial-gradient(
            ellipse at right center,
            rgba(215, 248, 241, 0.18),
            transparent 68%
        );
}

.experience-preview > .section-inner,
.home-page .experience-preview > .section-inner {
    position: relative;
    background: transparent;
}

.home-timeline::before {
    background: rgba(9, 215, 171, 0.24);
}

.home-timeline .timeline-date {
    border: 1px solid rgba(9, 215, 171, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #ED6419;
}

.home-timeline .timeline-body {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(90, 90, 90, 0.08);
    box-shadow: 0 16px 36px rgba(90, 90, 90, 0.06);
}

@media (max-width: 700px) {
    .experience-preview::before,
    .home-page .experience-preview::before {
        top: -5rem;
        right: -10rem;
        width: 24rem;
        height: 28rem;
        opacity: 0.65;
    }
}

.experience-skill-card:nth-child(1),
.experience-skill-card:nth-child(4) {
    background: var(--surface-primary);
}

.experience-skill-card:nth-child(2),
.experience-skill-card:nth-child(6) {
    background: var(--surface-mint);
}

.experience-skill-card:nth-child(3) {
    background: var(--surface-warm);
}

.experience-skill-card:nth-child(5) {
    background: var(--surface-blush);
}

@media (max-width: 980px) {
    .js-enabled .site-nav {
        border-color: var(--border-default);
        background: var(--surface-primary-solid);
        box-shadow: var(--shadow-card);
    }
}

/* Homepage carousel containment */
.project-carousel,
.project-carousel *,
.project-carousel *::before,
.project-carousel *::after {
    box-sizing: border-box;
}

.home-page .project-carousel {
    --carousel-contained-slide-height: 460px;
    --carousel-contained-image-min: 280px;
    --carousel-contained-image-max: 340px;
}

.home-page .project-carousel__shell {
    align-items: center;
}

.home-page .project-carousel__viewport {
    width: 100%;
    min-height: calc(var(--carousel-contained-slide-height) + 2rem);
    padding: 0.75rem 0.75rem 1.25rem;
    overflow: hidden;
    border-radius: 28px;
}

.home-page .project-carousel__track {
    display: flex;
    align-items: stretch;
}

.home-page .project-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.38fr);
    align-items: stretch;
    gap: clamp(1.4rem, 2.5vw, 2.5rem);
    width: 100%;
    min-height: var(--carousel-contained-slide-height);
    height: auto;
    max-height: none;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    overflow: visible;
}

.home-page .project-slide__visual {
    min-width: 0;
    min-height: 0;
    height: auto;
    display: flex;
}

.home-page .project-slide__hero {
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    display: flex;
    overflow: hidden;
}

.home-page .project-slide__hero img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: var(--carousel-contained-image-min);
    max-height: var(--carousel-contained-image-max);
    object-fit: cover;
    border-radius: inherit;
}

.project-slide__hero img[src^="assets/images/projects/"],
.project-card__visual figure > img[src^="assets/images/projects/"] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--palette-white);
}

.project-slide__hero,
.project-card__visual figure {
    background: var(--palette-white);
}

.home-page .project-slide__content {
    min-width: 0;
    min-height: 100%;
    height: auto;
    display: grid;
    grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
    align-content: start;
    gap: 0.72rem;
    overflow: visible;
}

.home-page .project-slide__eyebrow,
.home-page .company-identity,
.home-page .project-slide__title,
.home-page .project-slide__description,
.home-page .project-slide__metadata,
.home-page .project-slide__tags,
.home-page .project-slide__actions {
    min-width: 0;
    margin-block: 0;
}

.home-page .project-slide__tags {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    align-self: stretch;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.home-page .project-slide__tags span {
    max-width: 100%;
    padding: 0.4rem 0.65rem;
    line-height: 1.2;
    white-space: normal;
}

.home-page .project-slide__tags span:nth-child(n+4) {
    display: none;
}

.home-page .project-slide__actions {
    position: static;
    inset: auto;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: end;
    gap: 0.75rem;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0.9rem 0 0;
}

.home-page .project-slide__actions .button {
    min-height: 42px;
    max-width: 100%;
    padding: 0.7rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
}

.home-page .project-carousel__progress,
.home-page .project-carousel__pagination {
    position: static;
    margin-top: 1.25rem;
    transform: none;
}

@media (max-width: 1050px) {
    .home-page .project-carousel {
        --carousel-contained-slide-height: 500px;
        --carousel-contained-image-min: 245px;
        --carousel-contained-image-max: 300px;
    }

    .home-page .project-slide {
        grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.22fr);
    }
}

@media (max-width: 760px) {
    .home-page .project-carousel {
        --carousel-contained-slide-height: 0px;
        --carousel-contained-image-min: 165px;
        --carousel-contained-image-max: 210px;
    }

    .home-page .project-carousel__viewport {
        min-height: 0;
        padding: 0.75rem 0.75rem 1.25rem;
    }

    .home-page .project-slide {
        grid-template-columns: 1fr;
        min-height: 0;
        height: auto;
        gap: 0.9rem;
    }

    .home-page .project-slide__content {
        min-height: 0;
        grid-template-rows: auto;
    }

    .home-page .project-slide__hero img {
        min-height: var(--carousel-contained-image-min);
        max-height: var(--carousel-contained-image-max);
    }

    .home-page .project-slide__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-page .project-slide__actions .button {
        width: 100%;
    }
}

/* Experience page soft white surface pass */
body.experience-page {
    background:
        radial-gradient(ellipse at 14% 4%, rgba(9, 215, 171, 0.05), transparent 30rem),
        radial-gradient(ellipse at 90% 18%, rgba(250, 202, 188, 0.04), transparent 32rem),
        radial-gradient(ellipse at 22% 82%, rgba(251, 243, 239, 0.08), transparent 34rem),
        #F7F7F7;
}

.experience-page .experience-hero {
    background:
        radial-gradient(ellipse at 84% 20%, rgba(250, 202, 188, 0.08), transparent 24rem),
        rgba(255, 255, 255, 0.78);
}

.experience-page .career-timeline-section {
    background:
        linear-gradient(
            135deg,
            rgba(215, 248, 241, 0.16),
            rgba(255, 255, 255, 0.78) 45%,
            rgba(251, 243, 239, 0.22)
        );
    border: 1px solid rgba(90, 90, 90, 0.06);
}

.experience-page .education-section {
    background:
        linear-gradient(
            135deg,
            rgba(250, 202, 188, 0.12),
            rgba(255, 255, 255, 0.82)
        );
}

.experience-page .skills-section {
    background: rgba(247, 247, 247, 0.72);
}

.experience-page .references-section {
    background: rgba(215, 248, 241, 0.18);
}

.experience-page .contact-action-section {
    background: rgba(255, 255, 255, 0.76);
}

.experience-page .experience-hero::before,
.experience-page .career-timeline-section::before,
.experience-page .career-timeline-section::after,
.experience-page .education-section::before,
.experience-page .references-section::before,
.experience-page .skills-section::before,
.organic-page.experience-page .section-band::before,
.organic-page.experience-page .career-timeline-section::before,
.organic-page.experience-page .skills-section::before {
    content: none;
}

.experience-page .career-timeline::before {
    background: rgba(9, 215, 171, 0.24);
}

.experience-page .career-entry {
    --career-accent: #09D7AB;
}

.experience-page .career-entry--nybs {
    --career-accent: #09D7AB;
}

.experience-page .career-entry--openit {
    --career-accent: #ED6419;
}

.experience-page .career-entry--openlm {
    --career-accent: #09D7AB;
}

.experience-page .career-entry--dexcel {
    --career-accent: #FACABC;
}

.experience-page .career-entry--galam {
    --career-accent: #5A5A5A;
}

.experience-page .career-entry__content,
.experience-page .career-entry--nybs .career-entry__content,
.experience-page .career-entry--openit .career-entry__content,
.experience-page .career-entry--openlm .career-entry__content,
.experience-page .career-entry--dexcel .career-entry__content,
.experience-page .career-entry--galam .career-entry__content {
    border: 1px solid rgba(90, 90, 90, 0.08);
    border-top: 3px solid var(--career-accent);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 247, 247, 0.92)
        );
    color: #5A5A5A;
    box-shadow: 0 18px 42px rgba(90, 90, 90, 0.065);
}

.experience-page .career-entry__content::before,
.experience-page .career-entry__content::after {
    content: none;
}

.experience-page .career-entry__dot,
.experience-page .career-entry--nybs .career-entry__dot,
.experience-page .career-entry--openit .career-entry__dot,
.experience-page .career-entry--openlm .career-entry__dot,
.experience-page .career-entry--dexcel .career-entry__dot,
.experience-page .career-entry--galam .career-entry__dot {
    background: #FFFFFF;
    border: 3px solid var(--career-accent);
    box-shadow: 0 0 0 7px rgba(9, 215, 171, 0.10);
}

.experience-page .career-entry--openit .career-entry__dot {
    box-shadow: 0 0 0 7px rgba(237, 100, 25, 0.10);
}

.experience-page .career-entry--dexcel .career-entry__dot {
    box-shadow: 0 0 0 7px rgba(250, 202, 188, 0.14);
}

.experience-page .career-entry--galam .career-entry__dot {
    box-shadow: 0 0 0 7px rgba(90, 90, 90, 0.08);
}

.experience-page .career-entry:hover .career-entry__content {
    transform: translateY(-2px);
    border-color: rgba(90, 90, 90, 0.12);
    border-top-color: var(--career-accent);
    box-shadow: 0 22px 48px rgba(90, 90, 90, 0.09);
}

.experience-page .career-entry:hover .career-entry__dot {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(9, 215, 171, 0.11);
}

.experience-page .career-entry--openit:hover .career-entry__dot {
    box-shadow: 0 0 0 8px rgba(237, 100, 25, 0.10);
}

.experience-page .career-entry__role,
.experience-page .career-entry__company {
    color: #5A5A5A;
}

.experience-page .career-entry__summary,
.experience-page .career-context {
    color: rgba(90, 90, 90, 0.82);
}

.experience-page .career-achievements li {
    color: rgba(90, 90, 90, 0.76);
}

.experience-page .career-entry__date,
.experience-page .career-entry__date small,
.experience-page .career-entry__mobile-date,
.experience-page .career-entry__progression {
    color: rgba(90, 90, 90, 0.62);
}

.experience-page .career-achievements li::before {
    background: #09D7AB;
}

.experience-page .outcome-callout {
    border: 1px solid rgba(9, 215, 171, 0.14);
    background: rgba(215, 248, 241, 0.30);
    color: #5A5A5A;
    box-shadow: none;
}

.experience-page .outcome-callout strong {
    color: #ED6419;
}

.experience-page .outcome-callout span {
    color: #5A5A5A;
}

.experience-page .career-link {
    color: #5A5A5A;
}

.experience-page .career-link--primary {
    border: 1px solid rgba(9, 215, 171, 0.18);
    background: rgba(215, 248, 241, 0.42);
    color: #5A5A5A;
}

.experience-page .career-link:not(.career-link--primary) {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(90, 90, 90, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.experience-page .career-link:hover,
.experience-page .career-link:focus-visible {
    background: rgba(171, 241, 226, 0.50);
    color: #5A5A5A;
}

.experience-page .company-logo-frame {
    background: #FFFFFF;
    border: 1px solid rgba(90, 90, 90, 0.08);
    box-shadow: 0 8px 22px rgba(90, 90, 90, 0.05);
}

.experience-page .education-grid .system-panel,
.experience-page .education-grid .system-panel:nth-child(2),
.experience-page .experience-skill-card,
.experience-page .reference-card {
    border: 1px solid rgba(90, 90, 90, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(90, 90, 90, 0.065);
}

.experience-page .experience-skill-card:nth-child(1),
.experience-page .experience-skill-card:nth-child(4) {
    background: rgba(255, 255, 255, 0.94);
}

.experience-page .experience-skill-card:nth-child(2),
.experience-page .experience-skill-card:nth-child(6) {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(215, 248, 241, 0.10)
        );
}

.experience-page .experience-skill-card:nth-child(3) {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(251, 243, 239, 0.08)
        );
}

.experience-page .experience-skill-card:nth-child(5) {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(250, 202, 188, 0.08)
        );
}

.experience-page .experience-skill-card:hover,
.experience-page .reference-card:hover {
    transform: translateY(-2px);
    border-color: rgba(9, 215, 171, 0.18);
    box-shadow: 0 22px 48px rgba(90, 90, 90, 0.09);
}

.experience-page .experience-skill-card::after {
    opacity: 0.16;
}

.experience-page .experience-skill-tags li {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(90, 90, 90, 0.09);
    color: #5A5A5A;
}

.experience-page .recommendation-text {
    color: rgba(90, 90, 90, 0.82);
}

@media (max-width: 760px) {
    .experience-page .career-entry__content,
    .experience-page .experience-skill-card,
    .experience-page .reference-card {
        box-shadow: 0 8px 22px rgba(90, 90, 90, 0.04);
    }
}

/* Projects page unified white project cards */
.projects-page .project-card {
    --project-wash: rgba(9, 215, 171, 0.10);
    --project-accent: var(--project-text-accent);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(90, 90, 90, 0.08);
    border-radius: 34px;
    box-shadow: 0 18px 44px rgba(90, 90, 90, 0.065);
    color: #5A5A5A;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.projects-page .project-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -12%;
    left: -8%;
    width: 48%;
    height: 124%;
    background:
        radial-gradient(
            ellipse at left center,
            var(--project-wash) 0%,
            transparent 72%
        );
    pointer-events: none;
}

.projects-page .project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 3rem;
    width: 7rem;
    height: 2px;
    border-radius: 2px;
    background: var(--project-accent);
    opacity: 0.55;
    pointer-events: none;
}

.projects-page #nybs-consulting {
    --project-wash: rgba(9, 215, 171, 0.10);
}

.projects-page #license-log-analysis {
    --project-wash: rgba(171, 241, 226, 0.16);
}

.projects-page #openit-servicenow {
    --project-wash: rgba(250, 202, 188, 0.14);
}

.projects-page #reporting-hub {
    --project-wash: rgba(215, 248, 241, 0.20);
}

.projects-page #migration-tool {
    --project-wash: rgba(251, 243, 239, 0.42);
}

.projects-page #pinlink {
    --project-wash: rgba(171, 241, 226, 0.15);
}

.projects-page #youtube-channel {
    --project-wash: rgba(250, 202, 188, 0.15);
}

.projects-page .project-card:nth-child(2n),
.projects-page .project-card:nth-child(3n) {
    background: rgba(255, 255, 255, 0.96);
}

.projects-page .project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(90, 90, 90, 0.12);
    box-shadow: 0 24px 54px rgba(90, 90, 90, 0.09);
}

.projects-page .project-card__visual,
.projects-page .project-card__content {
    position: relative;
    z-index: 1;
}

.projects-page .project-card__visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: transparent;
    box-shadow: none;
}

.projects-page .project-card .company-identity {
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.projects-page .project-card .company-identity__text {
    flex: 1 1 auto;
    min-width: 0;
}

.projects-page .project-card .company-logo-frame {
    width: 88px;
    min-width: 88px;
    height: 62px;
    flex: 0 0 88px;
    padding: 10px 12px;
    border: 1px solid rgba(90, 90, 90, 0.08);
    border-radius: 16px;
    background: #FFFFFF;
    box-sizing: border-box;
    overflow: visible;
}

.projects-page .project-card .company-logo {
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 44px;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
}

.projects-page .project-card .google-play-logo {
    max-width: 62px;
    max-height: 42px;
}

.projects-page .project-card .youtube-logo {
    max-width: 78px;
    max-height: 42px;
}

.projects-page .project-card__visual figure {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(90, 90, 90, 0.07);
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(90, 90, 90, 0.055);
    overflow: hidden;
}

.projects-page .project-card__visual img {
    filter: none;
    opacity: 1;
}

.projects-page .project-card__visual figcaption,
.projects-page .project-card .muted {
    color: rgba(90, 90, 90, 0.62);
}

.projects-page .project-card__content {
    background: transparent;
}

.projects-page .project-card__content h3 {
    color: #5A5A5A;
}

.projects-page .project-card .meta-label,
.projects-page .project-card .project-summary dt {
    color: var(--project-text-accent);
}

.projects-page .project-card .project-summary div {
    border-bottom: 1px solid rgba(90, 90, 90, 0.09);
    background: transparent;
}

.projects-page .project-card .project-summary dd,
.projects-page .project-card__content p,
.projects-page .project-card__content li {
    color: rgba(90, 90, 90, 0.84);
}

.projects-page .project-card .project-summary strong,
.projects-page .project-card__content strong {
    color: #5A5A5A;
    font-weight: 700;
}

.projects-page .project-card .project-slide__tags span {
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(90, 90, 90, 0.10);
    color: #5A5A5A;
}

.projects-page .project-card .project-slide__tags span:hover {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(90, 90, 90, 0.10);
    color: #5A5A5A;
}

.projects-page .project-card .button {
    background: #09D7AB;
    color: #5A5A5A;
    border: 1px solid #09D7AB;
}

.projects-page .project-card .button:hover,
.projects-page .project-card .button:focus-visible {
    background: #ABF1E2;
    border-color: #09D7AB;
    color: #5A5A5A;
}

.projects-page .project-card .button.secondary {
    background: #FFFFFF;
    color: #5A5A5A;
    border: 1px solid rgba(90, 90, 90, 0.15);
}

.projects-page .project-card .button.secondary:hover,
.projects-page .project-card .button.secondary:focus-visible {
    background: #FBF3EF;
    border-color: rgba(237, 100, 25, 0.22);
    color: #5A5A5A;
}

.projects-page .project-card .text-link {
    color: #5A5A5A;
    text-decoration-color: #09D7AB;
}

.projects-page .project-card .text-link:hover,
.projects-page .project-card .text-link:focus-visible {
    color: #5A5A5A;
    text-decoration-color: #09D7AB;
}

@media (max-width: 800px) {
    .projects-page .project-card::before {
        top: -6%;
        left: -12%;
        width: 115%;
        height: 42%;
        opacity: 0.75;
    }

    .projects-page .project-card::after {
        left: 1.5rem;
        width: 5rem;
    }
}

/* Shared top-to-bottom page color flow */
body.organic-page,
body.home-page,
body.experience-page,
body.projects-page {
    background:
        radial-gradient(ellipse at 88% 5%, var(--warm-powder-strong), transparent 34rem),
        radial-gradient(ellipse at 10% 20%, var(--warm-powder-soft), transparent 38rem),
        radial-gradient(ellipse at 84% 48%, var(--warm-orange-trace), transparent 34rem),
        radial-gradient(ellipse at 12% 78%, rgba(215, 248, 241, 0.10), transparent 36rem),
        radial-gradient(ellipse at 88% 96%, var(--mint-powder-strong), transparent 42rem),
        linear-gradient(
            to bottom,
            rgba(251, 243, 239, 0.34) 0%,
            rgba(255, 255, 255, 0.18) 38%,
            rgba(247, 247, 247, 0.12) 58%,
            rgba(215, 248, 241, 0.22) 100%
        ),
        var(--page-base);
}

body.organic-page {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

.page-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.page-shape {
    position: absolute;
    display: block;
    pointer-events: none;
    filter: blur(0.2px);
}

body.organic-page > main,
body.organic-page > .site-footer {
    position: relative;
    z-index: 1;
}

body.organic-page > .site-header {
    position: sticky;
    z-index: 100;
}

.page-shape--top-a {
    top: clamp(5rem, 8vw, 8rem);
    right: clamp(2rem, 7vw, 7rem);
    width: clamp(220px, 24vw, 390px);
    aspect-ratio: 1.24;
    border-radius: 58% 42% 63% 37% / 45% 57% 43% 55%;
    background: rgba(250, 202, 188, 0.22);
    opacity: 0.78;
    transform: rotate(-8deg);
}

.page-shape--top-b {
    top: clamp(14rem, 24vw, 22rem);
    left: clamp(-12rem, -8vw, -5rem);
    width: clamp(360px, 38vw, 620px);
    aspect-ratio: 1.35;
    border-radius: 44% 56% 39% 61% / 58% 37% 63% 42%;
    background: radial-gradient(
        ellipse at center,
        rgba(251, 243, 239, 0.46),
        rgba(250, 202, 188, 0.10) 52%,
        transparent 74%
    );
    opacity: 0.9;
    transform: rotate(11deg);
}

.page-shape--middle-a {
    top: 43%;
    right: clamp(-16rem, -12vw, -7rem);
    width: clamp(380px, 44vw, 700px);
    aspect-ratio: 1.6;
    border-radius: 53% 47% 61% 39% / 41% 60% 40% 59%;
    background: radial-gradient(
        ellipse at center,
        rgba(251, 243, 239, 0.18),
        rgba(215, 248, 241, 0.055) 54%,
        transparent 76%
    );
    opacity: 0.74;
    transform: rotate(-5deg);
}

.page-shape--bottom-a {
    bottom: clamp(20rem, 24vw, 32rem);
    left: clamp(2rem, 5vw, 5rem);
    width: clamp(260px, 30vw, 460px);
    aspect-ratio: 1.3;
    border-radius: 41% 59% 52% 48% / 61% 42% 58% 39%;
    background: rgba(215, 248, 241, 0.24);
    opacity: 0.78;
    transform: rotate(9deg);
}

.page-shape--bottom-b {
    right: clamp(-12rem, -8vw, -5rem);
    bottom: clamp(1rem, 6vw, 8rem);
    width: clamp(440px, 52vw, 760px);
    aspect-ratio: 1.5;
    border-radius: 58% 42% 39% 61% / 47% 63% 37% 53%;
    background: radial-gradient(
        ellipse at center,
        rgba(171, 241, 226, 0.13),
        rgba(215, 248, 241, 0.18) 42%,
        transparent 74%
    );
    opacity: 0.76;
    transform: rotate(-12deg);
}

.home-page .page-shape--top-a {
    top: clamp(7rem, 10vw, 10rem);
    right: clamp(0rem, 4vw, 4rem);
    transform: rotate(-12deg);
}

.home-page .page-shape--top-b {
    top: clamp(23rem, 33vw, 34rem);
    left: clamp(-14rem, -10vw, -6rem);
}

.home-page .page-shape--middle-a {
    top: 47%;
    right: clamp(-18rem, -13vw, -8rem);
}

.home-page .page-shape--bottom-a {
    bottom: clamp(26rem, 30vw, 40rem);
    left: clamp(-4rem, 3vw, 4rem);
}

.home-page .page-shape--bottom-b {
    bottom: clamp(6rem, 9vw, 11rem);
    right: clamp(-14rem, -10vw, -6rem);
}

.projects-page .page-shape--top-a {
    top: clamp(6rem, 9vw, 9rem);
    right: clamp(3rem, 9vw, 9rem);
    width: clamp(230px, 24vw, 390px);
    border-radius: 62% 38% 54% 46% / 42% 58% 42% 58%;
    transform: rotate(-7deg);
}

.projects-page .page-shape--top-b {
    top: clamp(17rem, 23vw, 25rem);
    left: clamp(-13rem, -9vw, -6rem);
    transform: rotate(14deg);
}

.projects-page .page-shape--middle-a {
    top: 45%;
    right: clamp(-17rem, -12vw, -8rem);
    opacity: 0.62;
}

.projects-page .page-shape--bottom-a {
    bottom: clamp(22rem, 22vw, 34rem);
    left: clamp(1rem, 5vw, 6rem);
    transform: rotate(12deg);
}

.projects-page .page-shape--bottom-b {
    bottom: clamp(7rem, 9vw, 12rem);
    right: clamp(-16rem, -11vw, -7rem);
}

.experience-page .page-shape--top-a {
    top: clamp(8rem, 10vw, 12rem);
    right: clamp(-2rem, 5vw, 5rem);
    border-radius: 47% 53% 38% 62% / 59% 41% 59% 41%;
    transform: rotate(8deg);
}

.experience-page .page-shape--top-b {
    top: clamp(19rem, 26vw, 29rem);
    left: clamp(-15rem, -11vw, -7rem);
    opacity: 0.78;
}

.experience-page .page-shape--middle-a {
    top: 40%;
    right: clamp(-15rem, -11vw, -7rem);
    opacity: 0.56;
}

.experience-page .page-shape--bottom-a {
    bottom: clamp(25rem, 28vw, 40rem);
    left: clamp(-5rem, 2vw, 3rem);
}

.experience-page .page-shape--bottom-b {
    bottom: clamp(10rem, 12vw, 16rem);
    right: clamp(-15rem, -10vw, -6rem);
    opacity: 0.82;
}

body.organic-page:not(.home-page):not(.projects-page):not(.experience-page) .page-shape--top-a {
    top: clamp(7rem, 10vw, 11rem);
    right: clamp(0rem, 6vw, 6rem);
    width: clamp(220px, 22vw, 360px);
    transform: rotate(-4deg);
}

body.organic-page:not(.home-page):not(.projects-page):not(.experience-page) .page-shape--top-b {
    top: clamp(18rem, 26vw, 27rem);
    left: clamp(-15rem, -10vw, -7rem);
}

body.organic-page:not(.home-page):not(.projects-page):not(.experience-page) .page-shape--middle-a {
    top: 46%;
    right: clamp(-18rem, -12vw, -8rem);
    opacity: 0.6;
}

body.organic-page:not(.home-page):not(.projects-page):not(.experience-page) .page-shape--bottom-a {
    bottom: clamp(18rem, 22vw, 30rem);
    left: clamp(-6rem, 2vw, 3rem);
    transform: rotate(6deg);
}

body.organic-page:not(.home-page):not(.projects-page):not(.experience-page) .page-shape--bottom-b {
    bottom: clamp(4rem, 8vw, 10rem);
    right: clamp(-16rem, -11vw, -7rem);
}

main,
.page-zone--top,
.page-zone--middle,
.page-zone--bottom,
.organic-page .section,
.organic-page .section-band,
.organic-page .page-hero,
.organic-page .hero,
.experience-page .experience-hero,
.experience-page .career-timeline-section,
.experience-page .education-section,
.experience-page .skills-section,
.experience-page .references-section,
.experience-page .contact-action-section,
.home-page .experience-preview {
    position: relative;
    background: transparent;
    background-color: transparent;
}

.organic-page .section-band::before,
.organic-page .projects-flow::before,
.organic-page .career-timeline-section::before,
.organic-page .skills-section::before,
.organic-page .contact-layout::before,
.experience-preview::before,
.home-page .experience-preview::before,
.experience-page .experience-hero::before,
.experience-page .career-timeline-section::before,
.experience-page .career-timeline-section::after,
.experience-page .education-section::before,
.experience-page .references-section::before,
.experience-page .skills-section::before,
.organic-page.experience-page .section-band::before,
.organic-page.experience-page .career-timeline-section::before,
.organic-page.experience-page .skills-section::before {
    content: none;
}

.metric,
.timeline-body,
.project-slide,
.project-card,
.career-entry__content,
.system-panel,
.experience-skill-card,
.reference-card,
.contact-panel,
.contact-method {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-white);
    border: 1px solid rgba(90, 90, 90, 0.08);
    box-shadow: 0 16px 38px rgba(90, 90, 90, 0.06);
}

.metric > *,
.timeline-body > *,
.project-slide > *,
.project-card > *,
.career-entry__content > *,
.system-panel > *,
.experience-skill-card > *,
.reference-card > *,
.contact-panel > *,
.contact-method > * {
    position: relative;
    z-index: 1;
}

.page-zone--top .metric::before,
.page-zone--top .timeline-body::before,
.page-zone--top .project-slide::before,
.page-zone--top .career-entry__content::before,
.page-zone--top .system-panel::before,
.page-zone--top .experience-skill-card::before,
.page-zone--top .reference-card::before,
.page-zone--top .contact-panel::before,
.page-zone--top .contact-method::before,
.project-card.page-zone--top::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -20%;
    left: -12%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse at left center, var(--card-wash-warm), transparent 70%);
    pointer-events: none;
}

.page-zone--middle .metric::before,
.page-zone--middle .timeline-body::before,
.page-zone--middle .project-slide::before,
.page-zone--middle .career-entry__content::before,
.page-zone--middle .system-panel::before,
.page-zone--middle .experience-skill-card::before,
.page-zone--middle .reference-card::before,
.page-zone--middle .contact-panel::before,
.page-zone--middle .contact-method::before,
.project-card.page-zone--middle::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -20%;
    left: -12%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse at left center, var(--card-wash-neutral), transparent 70%);
    pointer-events: none;
}

.page-zone--bottom .metric::before,
.page-zone--bottom .timeline-body::before,
.page-zone--bottom .project-slide::before,
.page-zone--bottom .career-entry__content::before,
.page-zone--bottom .system-panel::before,
.page-zone--bottom .experience-skill-card::before,
.page-zone--bottom .reference-card::before,
.page-zone--bottom .contact-panel::before,
.page-zone--bottom .contact-method::before,
.project-card.page-zone--bottom::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -20%;
    left: -12%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse at left center, var(--card-wash-mint), transparent 70%);
    pointer-events: none;
}

.projects-page .project-card.page-zone--top::before,
.projects-page .project-card.page-zone--middle::before,
.projects-page .project-card.page-zone--bottom::before {
    z-index: 0;
    opacity: 1;
}

.projects-page .project-card::after {
    background: var(--project-text-accent);
}

.experience-page .education-grid .system-panel,
.experience-page .education-grid .system-panel:nth-child(2),
.experience-page .experience-skill-card,
.experience-page .experience-skill-card:nth-child(1),
.experience-page .experience-skill-card:nth-child(2),
.experience-page .experience-skill-card:nth-child(3),
.experience-page .experience-skill-card:nth-child(4),
.experience-page .experience-skill-card:nth-child(5),
.experience-page .experience-skill-card:nth-child(6),
.experience-page .reference-card,
.home-metrics .metric,
.home-metrics .metric-card--featured,
.organic-page .home-metrics .metric,
.organic-page .home-metrics .metric-card--featured,
.home-timeline .timeline-body,
.experience-page .career-entry__content,
.experience-page .career-entry--nybs .career-entry__content,
.experience-page .career-entry--openit .career-entry__content,
.experience-page .career-entry--openlm .career-entry__content,
.experience-page .career-entry--dexcel .career-entry__content,
.experience-page .career-entry--galam .career-entry__content {
    background: var(--surface-white);
}

@media (max-width: 700px) {
    body.organic-page,
    body.home-page,
    body.experience-page,
    body.projects-page {
        background:
            radial-gradient(ellipse at 86% 4%, rgba(250, 202, 188, 0.14), transparent 22rem),
            radial-gradient(ellipse at 8% 22%, rgba(251, 243, 239, 0.38), transparent 24rem),
            radial-gradient(ellipse at 12% 82%, rgba(215, 248, 241, 0.08), transparent 24rem),
            radial-gradient(ellipse at 90% 98%, rgba(215, 248, 241, 0.18), transparent 28rem),
            var(--page-base);
    }

    .page-shape--top-b,
    .page-shape--middle-a,
    .page-shape--bottom-b {
        display: none;
    }

    .page-shape--top-a {
        top: 6.5rem;
        right: -6rem;
        width: 240px;
        opacity: 0.58;
    }

    .page-shape--bottom-a {
        left: -7rem;
        bottom: 12rem;
        width: 260px;
        opacity: 0.66;
    }
}

/* Keep the homepage portrait free-floating while preserving its organic peach halo. */
.home-page .home-portrait {
    border: 0;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(250, 202, 188, 0.92), rgba(237, 100, 25, 0.78));
}

.home-page .home-portrait::before {
    content: none;
}

.home-page .home-portrait:hover {
    border-color: transparent;
    box-shadow: none;
}

@media (max-width: 800px) {
    .home-page .home-portrait {
        overflow: visible;
    }
}

/* Homepage project carousel mobile readability correction */
@media (max-width: 820px) {
    .home-page .project-carousel__viewport,
    .home-page .project-carousel__track,
    .home-page .project-slide,
    .home-page .project-slide__content {
        min-height: 0;
    }

    .home-page .project-carousel__viewport {
        overflow-x: hidden;
        overflow-y: visible;
        height: auto;
        max-height: none;
    }

    .home-page .project-carousel__track {
        align-items: flex-start;
    }

    .home-page .project-slide {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 1.25rem;
        height: auto;
        max-height: none;
    }

    .home-page .project-slide__visual,
    .home-page .project-slide__content {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .home-page .project-slide__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 700px) {
    .home-page .project-carousel-section .section-inner {
        width: min(100%, calc(100% - 36px));
    }

    .home-page .project-carousel {
        width: 100%;
    }

    .home-page .project-carousel__shell {
        align-items: flex-start;
    }

    .home-page .project-carousel__viewport {
        padding: 0.5rem 0.35rem 1rem;
        border-radius: 24px;
    }

    .home-page .project-slide {
        padding: 1rem;
        border-radius: 24px;
        overflow: visible;
    }

    .home-page .project-slide__content {
        gap: 0;
        padding: 0.25rem 0.35rem 0.5rem;
    }

    .home-page .project-slide__eyebrow {
        margin: 0;
        color: #ED6419;
        font-size: 0.72rem;
        line-height: 1.4;
        letter-spacing: 0.05em;
        white-space: normal;
    }

    .home-page .project-slide__eyebrow span {
        white-space: normal;
    }

    .home-page .project-slide .company-logo-frame {
        margin-top: 1rem;
        width: fit-content;
        max-width: 110px;
        height: 56px;
        padding: 0.6rem 0.85rem;
    }

    .home-page .project-slide__title {
        margin: 0.8rem 0 0;
        max-width: none;
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.1;
        letter-spacing: 0;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .home-page .project-slide__description {
        display: block;
        margin: 0.8rem 0 0;
        max-width: none;
        max-height: none;
        overflow: visible;
        text-overflow: clip;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
        font-size: 1rem;
        line-height: 1.55;
        color: rgba(90, 90, 90, 0.82);
    }

    .home-page .project-slide__metadata {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-top: 1.25rem;
    }

    .home-page .project-slide__metadata p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
        min-width: 0;
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.5;
        color: rgba(90, 90, 90, 0.82);
        overflow-wrap: break-word;
        word-break: normal;
    }

    .home-page .project-slide__metadata strong {
        display: block;
        margin: 0;
        color: #ED6419;
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .home-page .project-slide__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1.25rem;
    }

    .home-page .project-slide__tags span {
        max-width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        line-height: 1.25;
        letter-spacing: 0;
        white-space: normal;
    }

    .home-page .project-slide__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1.4rem;
        padding-top: 0;
    }

    .home-page .project-slide__actions .button {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 54px;
        padding: 0.85rem 1rem;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }
}
