body.automation-mode {
    --auto-ink: #0f1f29;
    --auto-ink-2: #193746;
    --auto-steel: #d9e5ea;
    --auto-steel-soft: rgba(217, 229, 234, 0.68);
    --auto-panel: rgba(248, 252, 253, 0.88);
    --auto-panel-strong: rgba(245, 250, 252, 0.96);
    --auto-line: rgba(25, 55, 70, 0.18);
    --auto-grid: rgba(25, 55, 70, 0.08);
    --auto-cyan: #00a6b2;
    --auto-acid: #d7ff39;
    --auto-orange: #ff7f32;
    --auto-coral: #ff5f45;
    --auto-shadow: 0 20px 60px rgba(15, 31, 41, 0.16);
    min-height: 100vh;
    color: var(--auto-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    background:
        radial-gradient(circle at 15% 18%, rgba(0, 166, 178, 0.16), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(215, 255, 57, 0.18), transparent 24%),
        radial-gradient(circle at 50% 80%, rgba(255, 127, 50, 0.15), transparent 30%),
        linear-gradient(135deg, #f4f8fa 0%, #e9f1f4 42%, #dce8ee 100%);
    background-attachment: fixed;
}

body.automation-mode::after {
    display: none;
}

body.automation-mode,
body.automation-mode .container,
body.automation-mode p,
body.automation-mode li,
body.automation-mode a,
body.automation-mode input,
body.automation-mode select,
body.automation-mode button {
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

body.automation-mode h1,
body.automation-mode h2,
body.automation-mode h3,
body.automation-mode .poi-brand,
body.automation-mode .poi-nav a {
    font-family: "Chakra Petch", "Space Grotesk", sans-serif;
    color: var(--auto-ink);
}

body.automation-mode .hero {
    padding: 18px 20px 0;
}

body.automation-mode .poi-header {
    width: min(1380px, 100%);
    margin-top: 0;
    padding: 18px 22px;
    border-radius: 28px;
    border: 1px solid rgba(25, 55, 70, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(245, 250, 252, 0.72)),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 18px,
            rgba(25, 55, 70, 0.025) 18px,
            rgba(25, 55, 70, 0.025) 19px
        );
    box-shadow: 0 14px 40px rgba(15, 31, 41, 0.08);
    backdrop-filter: blur(16px);
}

body.automation-mode .poi-header::before,
body.automation-mode .poi-header::after {
    display: none;
}

body.automation-mode .poi-header > * {
    opacity: 1;
    transform: none;
    animation: none;
}

body.automation-mode .poi-brand {
    gap: 14px;
    letter-spacing: 1.8px;
}

body.automation-mode .poi-brand__code {
    padding: 8px 12px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--auto-ink), var(--auto-ink-2));
    color: var(--auto-acid);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(215, 255, 57, 0.22);
}

body.automation-mode .poi-brand__name {
    color: rgba(15, 31, 41, 0.82);
}

body.automation-mode .poi-nav {
    gap: 18px;
}

body.automation-mode .poi-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: rgba(15, 31, 41, 0.82);
    letter-spacing: 1.2px;
}

body.automation-mode .poi-nav a::after {
    display: none;
}

body.automation-mode .poi-nav a:hover,
body.automation-mode .poi-nav a:focus-visible {
    color: var(--auto-ink);
    background: linear-gradient(135deg, rgba(0, 166, 178, 0.16), rgba(215, 255, 57, 0.18));
}

body.automation-mode .poi-burger span {
    background: var(--auto-ink);
}

body.automation-mode .container {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 0 84px;
}

body.automation-mode .footer {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto 24px;
    padding: 18px 22px 26px;
    color: rgba(15, 31, 41, 0.64);
    border-top: 1px solid rgba(15, 31, 41, 0.12);
    text-align: left;
}

.automation-home {
    position: relative;
    display: grid;
    gap: 28px;
}

.automation-home::before {
    content: "";
    position: absolute;
    inset: 14px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25, 55, 70, 0.24), transparent);
    pointer-events: none;
}

.auto-hero,
.auto-card,
.auto-exp-card {
    position: relative;
    overflow: hidden;
}

.auto-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 24px;
    padding: 34px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 250, 252, 0.64)),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 27px,
            rgba(25, 55, 70, 0.03) 27px,
            rgba(25, 55, 70, 0.03) 28px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 27px,
            rgba(25, 55, 70, 0.03) 27px,
            rgba(25, 55, 70, 0.03) 28px
        );
    border: 1px solid rgba(25, 55, 70, 0.1);
    box-shadow: var(--auto-shadow);
    isolation: isolate;
}

.auto-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(0, 166, 178, 0.12), transparent 38%),
        linear-gradient(300deg, rgba(215, 255, 57, 0.12), transparent 34%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    opacity: 0.95;
    mix-blend-mode: screen;
    pointer-events: none;
}

.auto-hero::after {
    content: "AUTOMATION CONTROL ROOM";
    position: absolute;
    right: 30px;
    top: 30px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    color: rgba(15, 31, 41, 0.24);
}

.auto-hero__intro,
.auto-hero__board,
.auto-marquee {
    position: relative;
    z-index: 1;
}

.auto-hero__intro {
    display: grid;
    align-content: start;
    gap: 20px;
}

.auto-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 31, 41, 0.9);
    color: var(--auto-acid);
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.auto-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--auto-acid);
    box-shadow: 0 0 0 6px rgba(215, 255, 57, 0.15);
}

.auto-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.9rem, 6vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.auto-lead {
    margin: 0;
    max-width: 72ch;
    font-size: 1.05rem;
    line-height: 1.72;
    color: rgba(15, 31, 41, 0.82);
}

.auto-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.auto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 18px;
    border: 1px solid rgba(15, 31, 41, 0.12);
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auto-btn:hover,
.auto-btn:focus-visible {
    transform: translateY(-2px);
}

.auto-btn--primary {
    background: linear-gradient(135deg, var(--auto-ink), var(--auto-ink-2));
    color: #f7fbfc;
    box-shadow: 0 16px 30px rgba(15, 31, 41, 0.16);
}

.auto-btn--ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--auto-ink);
}

.auto-signal-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auto-signal-cloud span,
.auto-ribbons span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(15, 31, 41, 0.08);
    color: rgba(15, 31, 41, 0.82);
    backdrop-filter: blur(10px);
}

.auto-hero__board {
    display: grid;
    gap: 18px;
    align-content: start;
}

.auto-panel,
.auto-card,
.auto-exp-card {
    padding: 24px;
    background: var(--auto-panel);
    border: 1px solid rgba(15, 31, 41, 0.1);
    box-shadow: 0 18px 40px rgba(15, 31, 41, 0.09);
    backdrop-filter: blur(16px);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.auto-panel::before,
.auto-card::before,
.auto-exp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background:
        linear-gradient(135deg, rgba(0, 166, 178, 0.28), rgba(255, 127, 50, 0.18), rgba(215, 255, 57, 0.18)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.auto-panel__eyebrow,
.auto-card__tag {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 31, 41, 0.9);
    color: #f7fbfc;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auto-panel h2,
.auto-card h2,
.auto-section__head h2 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    line-height: 1;
}

.auto-status-grid,
.auto-focus-grid,
.auto-metrics,
.auto-mini-stats,
.auto-contact-grid {
    display: grid;
    gap: 14px;
}

.auto-status-grid,
.auto-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-status-grid div,
.auto-focus-item,
.auto-mini-stats div,
.auto-contact-grid div,
.auto-metric {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 31, 41, 0.04);
    border: 1px solid rgba(15, 31, 41, 0.07);
}

.auto-status-grid strong,
.auto-focus-item strong,
.auto-mini-stats strong,
.auto-contact-grid strong,
.auto-metric strong {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auto-status-grid span,
.auto-focus-item span,
.auto-mini-stats span,
.auto-contact-grid span,
.auto-metric span {
    color: rgba(15, 31, 41, 0.68);
    font-size: 0.92rem;
    line-height: 1.5;
}

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

.auto-metric strong {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--auto-cyan);
}

.auto-focus-item strong {
    text-transform: none;
    letter-spacing: 0.02em;
}

.auto-marquee {
    grid-column: 1 / -1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 16px;
    align-items: center;
    padding-top: 6px;
    overflow: hidden;
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(15, 31, 41, 0.48);
}

.auto-marquee span {
    position: relative;
    padding-left: 16px;
    animation: auto-marquee-drift 22s linear infinite;
}

.auto-marquee span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auto-coral);
    transform: translateY(-50%);
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.auto-card--summary {
    grid-column: span 5;
}

.auto-card--skills {
    grid-column: span 7;
}

.auto-card--stack {
    grid-column: span 8;
}

.auto-card--lang {
    grid-column: span 4;
}

.auto-card--intel,
.auto-card--contact,
.auto-card--projects {
    grid-column: span 12;
}

.auto-card p,
.auto-section__head p,
.auto-exp-card p {
    margin: 0;
    color: rgba(15, 31, 41, 0.78);
    line-height: 1.7;
}

.auto-ribbons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.auto-bullet-grid,
.auto-rail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.auto-bullet-grid li,
.auto-rail-list li {
    position: relative;
    padding: 14px 16px 14px 40px;
    border-radius: 18px;
    background: rgba(15, 31, 41, 0.04);
    border: 1px solid rgba(15, 31, 41, 0.07);
    line-height: 1.5;
}

.auto-bullet-grid li::before,
.auto-rail-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--auto-cyan), var(--auto-acid));
    transform: rotate(45deg);
}

.auto-stack-list,
.auto-feed,
.auto-project-grid,
.auto-form {
    display: grid;
    gap: 14px;
}

.auto-stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-stack-item {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(15, 31, 41, 0.04);
    border: 1px solid rgba(15, 31, 41, 0.08);
}

.auto-stack-item strong {
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auto-stack-item span {
    color: rgba(15, 31, 41, 0.72);
    line-height: 1.6;
}

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

.auto-feed__item {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 31, 41, 0.95), rgba(25, 55, 70, 0.92));
    color: #f5fbfd;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.auto-feed__item:hover,
.auto-feed__item:focus-visible,
.auto-project:hover,
.auto-project:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(15, 31, 41, 0.16);
}

.auto-feed__source {
    color: rgba(215, 255, 57, 0.82);
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auto-section {
    display: grid;
    gap: 22px;
}

.auto-section__head {
    display: grid;
    gap: 10px;
    max-width: 72ch;
}

.auto-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.auto-exp-card {
    display: grid;
    gap: 18px;
    background: var(--auto-panel-strong);
}

.auto-exp-card--live {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 247, 234, 0.98), rgba(232, 246, 247, 0.94));
    border-color: rgba(255, 127, 50, 0.22);
    color: rgba(15, 31, 41, 0.92);
    box-shadow: 0 22px 42px rgba(15, 31, 41, 0.12);
}

.auto-exp-card--live::before {
    background:
        linear-gradient(135deg, rgba(255, 127, 50, 0.28), rgba(0, 166, 178, 0.2), rgba(255, 255, 255, 0.18)) border-box;
}

.auto-exp-card--live h3,
.auto-exp-card--live p,
.auto-exp-card--live .auto-exp-card__date {
    color: inherit;
}

.auto-exp-card--live .auto-exp-card__head p {
    color: rgba(15, 31, 41, 0.64);
}

.auto-exp-card--live .auto-exp-card__date {
    background: rgba(255, 255, 255, 0.72);
    color: rgba(188, 94, 28, 0.92);
}

.auto-exp-card--live .auto-exp-card__summary {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 127, 50, 0.14);
}

.auto-exp-card--web .auto-exp-card__glyph {
    background: linear-gradient(135deg, var(--auto-cyan), var(--auto-orange));
    color: #fff;
}

.auto-exp-card__date {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 31, 41, 0.08);
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 31, 41, 0.7);
}

.auto-exp-card__head {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 16px;
    align-items: center;
}

.auto-exp-card__head img,
.auto-exp-card__glyph {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    background: rgba(15, 31, 41, 0.05);
    border: 1px solid rgba(15, 31, 41, 0.08);
}

.auto-exp-card__head h3 {
    margin: 0 0 6px;
    font-size: 1.36rem;
}

.auto-exp-card__head p {
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 31, 41, 0.62);
}

.auto-exp-card__head--icon {
    grid-template-columns: 84px 1fr;
}

.auto-exp-card__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.auto-exp-card__head--cluster {
    grid-template-columns: minmax(180px, 220px) 1fr;
}

.auto-logo-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auto-logo-cluster img {
    width: 100%;
    height: 60px;
    padding: 8px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 31, 41, 0.08);
}

.auto-grid--lower .auto-card--projects {
    grid-column: span 7;
}

.auto-grid--lower .auto-card--certifications {
    grid-column: span 5;
}

.auto-grid--lower .auto-card--benevolat {
    grid-column: span 4;
}

.auto-grid--lower .auto-card--contact {
    grid-column: span 8;
}

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

.auto-project {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 100%;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(15, 31, 41, 0.95), rgba(25, 55, 70, 0.88));
    color: #f8fcfd;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.auto-project::before {
    content: "";
    position: absolute;
    inset: auto -30px -40px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 255, 57, 0.24), transparent 72%);
    z-index: -1;
}

.auto-project__index {
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(215, 255, 57, 0.84);
}

.auto-project strong {
    font-size: 1.5rem;
    line-height: 1;
}

.auto-project p {
    color: rgba(248, 252, 253, 0.76);
}

.auto-project__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.auto-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
    align-items: start;
}

.auto-contact-card {
    min-width: 0;
}

.auto-contact-card--email {
    grid-column: span 2;
}

.auto-contact-card strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.auto-form {
    gap: 16px;
}

.auto-form__row {
    display: grid;
    gap: 14px;
}

.auto-form__row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-form input,
.auto-form select,
.auto-file label,
.auto-form button {
    min-height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(15, 31, 41, 0.12);
}

.auto-form input,
.auto-form select {
    width: 100%;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--auto-ink);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.auto-form input:focus,
.auto-form select:focus {
    border-color: rgba(0, 166, 178, 0.46);
    box-shadow: 0 0 0 4px rgba(0, 166, 178, 0.1);
}

.auto-file {
    position: relative;
}

.auto-file label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    background: rgba(15, 31, 41, 0.92);
    color: #f7fbfc;
    cursor: pointer;
}

.auto-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.auto-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--auto-cyan), var(--auto-orange));
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(0, 166, 178, 0.22);
}

.auto-form button:hover,
.auto-form button:focus-visible {
    transform: translateY(-2px);
}

.auto-hero,
.auto-card,
.auto-exp-card {
    animation: auto-rise 700ms ease both;
}

.auto-card:nth-child(2) { animation-delay: 60ms; }
.auto-card:nth-child(3) { animation-delay: 120ms; }
.auto-card:nth-child(4) { animation-delay: 180ms; }
.auto-card:nth-child(5) { animation-delay: 240ms; }
.auto-exp-card:nth-child(2) { animation-delay: 80ms; }
.auto-exp-card:nth-child(3) { animation-delay: 120ms; }
.auto-exp-card:nth-child(4) { animation-delay: 160ms; }
.auto-exp-card:nth-child(5) { animation-delay: 200ms; }
.auto-exp-card:nth-child(6) { animation-delay: 240ms; }
.auto-exp-card:nth-child(7) { animation-delay: 280ms; }
.auto-exp-card:nth-child(8) { animation-delay: 320ms; }

@keyframes auto-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auto-marquee-drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-18px);
    }
}

@media (max-width: 1240px) {
    .auto-hero {
        grid-template-columns: 1fr;
    }

    .auto-hero__intro h1,
    .auto-hero h1 {
        max-width: 100%;
    }

    .auto-card--summary,
    .auto-card--skills,
    .auto-card--stack,
    .auto-card--lang,
    .auto-grid--lower .auto-card--projects,
    .auto-grid--lower .auto-card--certifications,
    .auto-grid--lower .auto-card--benevolat,
    .auto-grid--lower .auto-card--contact {
        grid-column: span 12;
    }
}

@media (max-width: 980px) {
    body.automation-mode .container,
    body.automation-mode .footer {
        width: min(100% - 24px, 1380px);
    }

    .auto-grid,
    .auto-timeline,
    .auto-feed,
    .auto-project-grid,
    .auto-contact-grid,
    .auto-form__row--split,
    .auto-stack-list,
    .auto-bullet-grid {
        grid-template-columns: 1fr;
    }

    .auto-exp-card--live {
        grid-column: span 1;
    }

    .auto-status-grid,
    .auto-focus-grid,
    .auto-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .auto-contact-card--email {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    body.automation-mode .hero {
        padding-inline: 12px;
    }

    body.automation-mode .poi-header {
        padding: 16px;
        border-radius: 24px;
    }

    body.automation-mode .poi-nav {
        gap: 10px;
    }

    body.automation-mode .poi-nav a {
        text-align: center;
    }

    body.automation-mode .container {
        width: calc(100% - 24px);
        padding-bottom: 56px;
    }

    body.automation-mode .footer {
        width: calc(100% - 24px);
        padding-inline: 0;
    }

    .automation-home {
        gap: 20px;
    }

    .auto-hero,
    .auto-card,
    .auto-exp-card {
        padding: 20px;
        border-radius: 28px;
        clip-path: none;
    }

    .auto-hero::after {
        position: static;
        display: block;
        margin-bottom: 6px;
        color: rgba(15, 31, 41, 0.38);
    }

    .auto-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.3rem);
    }

    .auto-hero__actions,
    .auto-signal-cloud,
    .auto-ribbons {
        gap: 10px;
    }

    .auto-status-grid,
    .auto-focus-grid,
    .auto-metrics {
        grid-template-columns: 1fr;
    }

    .auto-exp-card__head,
    .auto-exp-card__head--cluster {
        grid-template-columns: 1fr;
    }

    .auto-logo-cluster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auto-marquee {
        font-size: 0.78rem;
    }
}

@media (max-width: 540px) {
    .auto-kicker,
    .auto-panel__eyebrow,
    .auto-card__tag,
    .auto-project__cta,
    .auto-exp-card__date {
        letter-spacing: 0.1em;
    }

    .auto-hero,
    .auto-card,
    .auto-exp-card {
        padding: 18px;
    }

    .auto-btn {
        width: 100%;
    }

    .auto-contact-grid div,
    .auto-status-grid div,
    .auto-focus-item,
    .auto-mini-stats div,
    .auto-metric {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auto-hero,
    .auto-card,
    .auto-exp-card,
    .auto-marquee span {
        animation: none;
    }

    .auto-btn,
    .auto-feed__item,
    .auto-project,
    .auto-form button {
        transition: none;
    }
}
