/* =========================================================
   HOME PAGE COLOUR SYSTEM
========================================================= */

.home-page {
    --home-bg: #ffffff;
    --home-bg-soft: #f7f7fb;
    --home-panel: #ffffff;
    --home-panel-light: #f9fafb;

    --home-text: #0f172a;
    --home-muted: #47536b;
    --home-muted-soft: #64748b;

    --home-primary: #f97316;
    --home-primary-light: #fb923c;
    --home-primary-soft: rgba(249, 115, 22, 0.1);

    --home-secondary: #3b82f6;
    --home-secondary-light: #60a5fa;
    --home-secondary-soft: rgba(59, 130, 246, 0.1);

    --home-success: #22c55e;
    --home-success-light: #4ade80;
    --home-success-soft: rgba(34, 197, 94, 0.08);

    --home-line: rgba(15, 23, 42, 0.1);
    --home-line-strong: rgba(15, 23, 42, 0.18);

    --home-shadow: 0 32px 90px rgba(15, 23, 42, 0.08);
    --home-shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.06);

    overflow-x: hidden;
    background: var(--home-bg);
    color: var(--home-text);
}

.home-page main {
    overflow: hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page img {
    max-width: 100%;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-to-content {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 11px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #07111f;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

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

.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 2px solid var(--home-primary-light);
    outline-offset: 4px;
}


/* =========================================================
   COMMON ELEMENTS
========================================================= */

.home-eyebrow {
    margin: 0 0 14px;
    color: var(--home-primary-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button-primary {
    border-color: rgba(249, 115, 22, 0.5);
    background: linear-gradient(
        135deg,
        var(--home-primary),
        var(--home-primary-light)
    );
    color: #17100a;
    box-shadow: 0 16px 42px rgba(249, 115, 22, 0.2);
}

.home-button-primary:hover {
    border-color: var(--home-primary-light);
    background: linear-gradient(
        135deg,
        var(--home-primary-light),
        #fdba74
    );
    color: #17100a;
    box-shadow: 0 22px 52px rgba(249, 115, 22, 0.3);
}

.home-button-secondary {
    border-color: rgba(96, 165, 250, 0.22);
    background: rgba(59, 130, 246, 0.055);
    color: var(--home-text);
}

.home-button-secondary:hover {
    border-color: rgba(96, 165, 250, 0.52);
    background: rgba(59, 130, 246, 0.12);
    color: var(--home-text);
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-primary-light);
    font-weight: 800;
    text-decoration: none;
}

.home-text-link i {
    transition: transform 0.2s ease;
}

.home-text-link:hover {
    color: #fdba74;
}

.home-text-link:hover i {
    transform: translateX(4px);
}

.home-section {
    position: relative;
    padding: 105px 0;
}

.home-section-muted {
    border-block: 1px solid rgba(148, 163, 184, 0.1);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(59, 130, 246, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(249, 115, 22, 0.04),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            rgba(11, 23, 40, 0.8),
            rgba(7, 17, 31, 0.35)
        );
}

.home-section-heading {
    max-width: 790px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-section-heading.text-start {
    margin-left: 0;
    text-align: left;
}

.home-section-heading h2 {
    margin: 0;
    color: var(--home-text);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.home-section-heading > p:last-child {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.75;
}

.home-section-heading.text-start > p:last-child {
    margin-left: 0;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    padding: 150px 0 95px;
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -5;
    background:
        radial-gradient(
            circle at 14% 22%,
            rgba(249, 115, 22, 0.08),
            transparent 29%
        ),
        radial-gradient(
            circle at 87% 32%,
            rgba(59, 130, 246, 0.1),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #07111f,
            #0a1729 55%,
            #07111f
        );
}

.home-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -4;
    opacity: 0.3;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        transparent 88%
    );
    pointer-events: none;
}

.home-hero-glow {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.home-hero-glow-one {
    top: 22%;
    left: -180px;
    width: 360px;
    height: 360px;
    background: rgba(249, 115, 22, 0.09);
}

.home-hero-glow-two {
    right: -120px;
    bottom: 8%;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.1);
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.07);
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 700;
}

.availability span,
.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--home-success);
    box-shadow: 0 0 13px rgba(34, 197, 94, 0.55);
}

.hero-copy .home-eyebrow {
    margin-top: 24px;
}

.hero-copy h1 {
    max-width: 850px;
    margin: 0;
    color: var(--home-text);
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.02;
    text-wrap: balance;
}

.hero-copy h1 span {
    display: block;
    background: linear-gradient(
        90deg,
        var(--home-primary),
        var(--home-primary-light) 48%,
        var(--home-secondary-light)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 750px;
    margin: 25px 0 0;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--home-line);
}

.hero-metrics article {
    display: flex;
    min-width: 130px;
    flex-direction: column;
}

.hero-metrics strong {
    color: var(--home-text);
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
}

.hero-metrics article:nth-child(1) strong {
    color: var(--home-primary-light);
}

.hero-metrics article:nth-child(2) strong {
    color: var(--home-secondary-light);
}

.hero-metrics article:nth-child(3) strong {
    color: var(--home-success-light);
}

.hero-metrics span {
    margin-top: 8px;
    color: var(--home-muted-soft);
    font-size: 13px;
}

.profile-visual {
    position: relative;
    max-width: 460px;
    margin-left: auto;
    padding: 18px;
}

.profile-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-radius: 30px;
    background: var(--home-panel);
    box-shadow: var(--home-shadow);
}

.profile-frame-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );
    background-size: 35px 35px;
    pointer-events: none;
}

.profile-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.profile-frame-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(
            to top,
            rgba(7, 17, 31, 0.9),
            transparent 43%
        ),
        linear-gradient(
            120deg,
            rgba(249, 115, 22, 0.035),
            transparent 35%
        );
    pointer-events: none;
}

.profile-name {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 4;
    display: flex;
    flex-direction: column;
}

.profile-name span {
    color: var(--home-primary-light);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.profile-name strong {
    margin-top: 5px;
    color: #ffffff;
    font-size: 20px;
}

.profile-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 13px;
    background: rgba(11, 23, 40, 0.92);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.profile-card i {
    color: var(--home-primary-light);
}

.profile-card-top {
    top: 55px;
    left: -20px;
}

.profile-card-bottom {
    right: -15px;
    bottom: 65px;
}

.profile-card-bottom .status-dot {
    background: var(--home-success);
}


/* =========================================================
   TECHNOLOGY STRIP
========================================================= */

.technology-strip {
    border-block: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.018);
}

.technology-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    padding: 21px 0;
}

.technology-list span {
    color: var(--home-muted-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.technology-list span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 12px;
    border-radius: 50%;
    background: var(--home-secondary);
    vertical-align: 2px;
}

.technology-list span:nth-child(3n + 1)::before {
    background: var(--home-primary);
}

.technology-list span:nth-child(3n + 2)::before {
    background: var(--home-secondary);
}

.technology-list span:nth-child(3n + 3)::before {
    background: var(--home-success);
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.service-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            var(--home-panel-light),
            var(--home-panel)
        );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 25px 60px rgba(0, 0, 0, 0.25);
}

.service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 14px;
    background: rgba(249, 115, 22, 0.09);
    color: var(--home-primary-light);
    font-size: 20px;
}

.row > div:nth-child(3n + 1) .service-icon {
    border-color: rgba(249, 115, 22, 0.22);
    background: rgba(249, 115, 22, 0.09);
    color: var(--home-primary-light);
}

.row > div:nth-child(3n + 2) .service-icon {
    border-color: rgba(59, 130, 246, 0.22);
    background: rgba(59, 130, 246, 0.09);
    color: var(--home-secondary-light);
}

.row > div:nth-child(3n + 3) .service-icon {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.07);
    color: var(--home-success-light);
}

.service-card h3 {
    margin: 22px 0 10px;
    color: var(--home-text);
    font-size: 21px;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    color: var(--home-muted-soft);
    font-size: 15px;
    line-height: 1.72;
}


/* =========================================================
   ARCHITECTURE APPROACH
========================================================= */

.approach-list {
    display: grid;
}

.approach-list article {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--home-line);
}

.approach-list article > span {
    flex: 0 0 auto;
    color: var(--home-primary-light);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.approach-list article:nth-child(2) > span {
    color: var(--home-secondary-light);
}

.approach-list article:nth-child(3) > span {
    color: var(--home-success-light);
}

.approach-list h3 {
    margin: 0 0 7px;
    color: var(--home-text);
    font-size: 18px;
}

.approach-list p {
    margin: 0;
    color: var(--home-muted-soft);
    font-size: 15px;
    line-height: 1.68;
}

.architecture-panel {
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 24px;
    background: #0a1728;
    box-shadow: var(--home-shadow);
}

.architecture-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--home-line);
    color: #8d9bb0;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 12px;
}

.architecture-panel-head span {
    margin-right: auto;
}

.architecture-panel-head i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #30415b;
}

.architecture-panel-head i:nth-child(2) {
    background: var(--home-primary);
}

.architecture-panel-head i:nth-child(3) {
    background: var(--home-secondary);
}

.architecture-panel-head i:nth-child(4) {
    background: var(--home-success);
}

.architecture-panel-body {
    padding: 26px;
}

.architecture-panel-body article {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.architecture-panel-body article + article {
    margin-top: 12px;
}

.architecture-panel-body span {
    color: var(--home-primary-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.architecture-panel-body article:nth-child(2) span,
.architecture-panel-body article:nth-child(4) span {
    color: var(--home-secondary-light);
}

.architecture-panel-body article:nth-child(3) span,
.architecture-panel-body article:nth-child(5) span {
    color: var(--home-success-light);
}

.architecture-panel-body strong {
    color: #eaf0f8;
    font-size: 14px;
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 42px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--home-line);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            var(--home-panel-light),
            var(--home-panel)
        );
    box-shadow: var(--home-shadow);
}

.project-label {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.08);
    color: var(--home-primary-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-copy h3 {
    margin: 20px 0 14px;
    color: var(--home-text);
    font-size: clamp(30px, 3vw, 43px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.project-copy > p {
    color: var(--home-muted-soft);
    font-size: 16px;
    line-height: 1.75;
}

.project-copy ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.project-copy li {
    display: flex;
    gap: 10px;
    color: var(--home-muted);
    font-size: 14px;
}

.project-copy li i {
    margin-top: 3px;
    color: var(--home-success);
}

.project-diagram {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(
            circle,
            rgba(59, 130, 246, 0.12),
            transparent 44%
        ),
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: auto, 34px 34px, 34px 34px;
}

.project-diagram::before,
.project-diagram::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(59, 130, 246, 0.16);
    transform: translate(-50%, -50%);
}

.project-diagram::before {
    width: 70%;
    height: 1px;
}

.project-diagram::after {
    width: 1px;
    height: 70%;
}

.diagram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 130px;
    height: 130px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(249, 115, 22, 0.55);
    border-radius: 50%;
    background: #101f33;
    box-shadow:
        0 0 60px rgba(249, 115, 22, 0.12),
        0 0 100px rgba(59, 130, 246, 0.08);
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.diagram-node {
    position: absolute;
    z-index: 4;
    padding: 10px 13px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: rgba(11, 23, 40, 0.96);
    color: #dbe2ec;
    font-size: 12px;
    font-weight: 800;
}

.diagram-node-one,
.diagram-node-four {
    border-color: rgba(249, 115, 22, 0.25);
}

.diagram-node-two,
.diagram-node-five {
    border-color: rgba(59, 130, 246, 0.25);
}

.diagram-node-three,
.diagram-node-six {
    border-color: rgba(34, 197, 94, 0.22);
}

.diagram-node-one {
    top: 13%;
    left: 12%;
}

.diagram-node-two {
    top: 13%;
    right: 12%;
}

.diagram-node-three {
    top: 45%;
    left: 4%;
}

.diagram-node-four {
    top: 45%;
    right: 5%;
}

.diagram-node-five {
    bottom: 13%;
    left: 15%;
}

.diagram-node-six {
    right: 9%;
    bottom: 13%;
}


/* =========================================================
   PERSONAL INTRODUCTION
========================================================= */

.personal-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) 1.18fr;
    gap: 55px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--home-line);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            var(--home-panel-light),
            var(--home-panel)
        );
    box-shadow: var(--home-shadow);
}

.personal-card-image {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 22px;
    background: var(--home-panel);
}

.personal-card-glow {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(249, 115, 22, 0.22),
            transparent 55%
        ),
        radial-gradient(
            circle at 80% 85%,
            rgba(34, 197, 94, 0.14),
            transparent 50%
        );
    filter: blur(30px);
    pointer-events: none;
}

.personal-card-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.personal-card-badge {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    border: 1px solid rgba(249, 115, 22, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

html[data-theme="dark"] .personal-card-badge {
    background: rgba(7, 17, 31, 0.85);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.personal-card-badge strong {
    color: var(--home-primary);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.personal-card-badge span:last-child {
    margin-top: 4px;
    color: var(--home-muted-soft);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.personal-card-content h2 {
    margin: 0;
    color: var(--home-text);
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.personal-card-content > p {
    color: var(--home-muted-soft);
    font-size: 15px;
    line-height: 1.75;
}

.personal-card-content .personal-lead {
    margin-top: 22px;
    color: var(--home-muted);
    font-size: 17px;
}

.personal-values {
    display: grid;
    gap: 0;
    margin-top: 24px;
    border-top: 1px solid var(--home-line);
}

.personal-values article {
    display: flex;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--home-line);
}

.personal-values article > span {
    color: var(--home-primary-light);
    font-size: 11px;
    font-weight: 900;
}

.personal-values article:nth-child(2) > span {
    color: var(--home-success-light);
}

.personal-values article:nth-child(3) > span {
    color: var(--home-primary-light);
}

.personal-values strong {
    color: var(--home-text);
    font-size: 15px;
}

.personal-values p {
    margin: 5px 0 0;
    color: var(--home-muted-soft);
    font-size: 14px;
    line-height: 1.6;
}

.personal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.home-cta {
    padding: 32px 0 110px;
}

.home-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 48px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(249, 115, 22, 0.13),
            transparent 34%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(59, 130, 246, 0.09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--home-panel-light),
            var(--home-panel)
        );
    box-shadow: var(--home-shadow);
}

.home-cta-card__art {
    position: absolute;
    top: 50%;
    right: -60px;
    z-index: 0;
    width: 380px;
    max-width: 46%;
    opacity: 0.55;
    transform: translateY(-50%);
    pointer-events: none;
}

.home-cta-card > div,
.home-cta-card > .home-button {
    position: relative;
    z-index: 1;
}

.home-cta-card h2 {
    max-width: 760px;
    margin: 0;
    color: var(--home-text);
    font-size: clamp(31px, 4vw, 51px);
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.home-cta-card div > p:last-child {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--home-muted-soft);
    line-height: 1.72;
}

.home-cta-card > .home-button {
    flex: 0 0 auto;
}


/* =========================================================
   LIGHTWEIGHT REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

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


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .hero-copy h1 {
        font-size: clamp(44px, 5.4vw, 66px);
    }

    .personal-card {
        gap: 40px;
    }

}

@media (max-width: 991.98px) {

    .home-hero {
        min-height: auto;
        padding: 135px 0 80px;
    }

    .profile-visual {
        margin: 0 auto;
    }

    .profile-card-top {
        left: -5px;
    }

    .profile-card-bottom {
        right: -5px;
    }

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

    .project-diagram {
        min-height: 360px;
    }

    .personal-card {
        grid-template-columns: 1fr;
    }

    .personal-card-image {
        max-width: 480px;
    }

    .personal-card-badge {
        left: 12px;
        bottom: 12px;
        padding: 10px 14px;
    }

    .personal-card-badge strong {
        font-size: 21px;
    }

    .home-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-cta-card__art {
        display: none;
    }

}

@media (max-width: 767.98px) {

    .home-hero {
        padding: 115px 0 70px;
    }

    .hero-copy h1 {
        font-size: 43px;
        letter-spacing: -0.045em;
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .hero-metrics article {
        min-width: 0;
    }

    .hero-metrics strong {
        font-size: 25px;
    }

    .hero-metrics span {
        font-size: 11px;
    }

    .profile-visual {
        padding: 0;
    }

    .profile-card {
        display: none;
    }

    .profile-name {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .technology-list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .technology-list::-webkit-scrollbar {
        display: none;
    }

    .home-section {
        padding: 78px 0;
    }

    .home-section-heading {
        margin-bottom: 34px;
    }

    .home-section-heading h2 {
        font-size: 35px;
    }

    .home-section-heading > p:last-child {
        font-size: 15px;
    }

    .service-card {
        padding: 24px;
    }

    .architecture-panel-body {
        padding: 18px;
    }

    .architecture-panel-body article {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px;
    }

    .featured-project {
        gap: 32px;
        padding: 24px;
    }

    .project-copy ul {
        grid-template-columns: 1fr;
    }

    .project-diagram {
        min-height: 310px;
    }

    .diagram-core {
        width: 105px;
        height: 105px;
        font-size: 16px;
    }

    .diagram-node {
        padding: 8px;
        font-size: 10px;
    }

    .personal-card {
        gap: 30px;
        padding: 22px;
    }

    .personal-card-content h2 {
        font-size: 34px;
    }

    .personal-actions {
        flex-direction: column;
    }

    .personal-actions .home-button {
        width: 100%;
    }

    .home-cta {
        padding-bottom: 80px;
    }

    .home-cta-card {
        padding: 30px;
    }

    .home-cta-card h2 {
        font-size: 34px;
    }

    .home-cta-card > .home-button {
        width: 100%;
    }

}

@media (max-width: 479.98px) {

    .hero-copy h1 {
        font-size: 37px;
    }

    .availability {
        align-items: flex-start;
        border-radius: 15px;
        line-height: 1.5;
    }

    .availability span {
        margin-top: 5px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-metrics article {
        padding-bottom: 13px;
        border-bottom: 1px solid var(--home-line);
    }

    .project-diagram {
        min-height: 290px;
    }

    .diagram-node-one {
        top: 9%;
        left: 5%;
    }

    .diagram-node-two {
        top: 9%;
        right: 5%;
    }

    .diagram-node-three {
        left: 2%;
    }

    .diagram-node-four {
        right: 2%;
    }

    .diagram-node-five {
        bottom: 9%;
        left: 5%;
    }

    .diagram-node-six {
        right: 5%;
        bottom: 9%;
    }

}

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

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}

/* =========================================================
   DARK THEME OVERRIDES
   (light mode is the default look; this block only fires
   when <html data-theme="dark"> is set by the toggle)
========================================================= */

html[data-theme="dark"] .home-page {
    --home-bg: #07111f;
    --home-bg-soft: #101f33;
    --home-panel: #101f33;
    --home-panel-light: #152942;

    --home-text: #f8fafc;
    --home-muted: #a5b2c5;
    --home-muted-soft: #77869c;

    --home-line: rgba(148, 163, 184, 0.16);
    --home-line-strong: rgba(148, 163, 184, 0.25);

    --home-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
    --home-shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.24);
}


/* =========================================================
   SECTION GLOW — scroll-in pulse + hover glow on cards
========================================================= */

@keyframes homeRevealGlow {
    0% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
    35% { box-shadow: 0 0 46px rgba(249, 115, 22, 0.22); }
    100% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
}

.reveal.is-visible {
    animation: homeRevealGlow 1.1s ease;
}

.service-card:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 46px rgba(249, 115, 22, 0.16);
}

.personal-card,
.featured-project {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.personal-card:hover,
.featured-project:hover {
    transform: translateY(-4px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.22),
        0 0 46px rgba(59, 130, 246, 0.14);
}

.home-cta-card {
    transition: box-shadow 0.3s ease;
}

.home-cta-card:hover {
    box-shadow:
        var(--home-shadow),
        0 0 60px rgba(249, 115, 22, 0.18);
}

.approach-list > article {
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
    border-radius: 14px;
}

.approach-list > article:hover {
    background: rgba(34, 211, 238, 0.05);
    border-top-color: rgba(34, 211, 238, 0.4);
}