:root {
    --bg: #C8E6F1;
    --bg-deep: #CBE4EE;
    --surface: #FFFFFF;
    --surface-raised: #F9F9F9;
    --surface-soft: #F9F9F9;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.15);
    --text: #1A2B3C;
    --text-dark: #000000;
    --muted: #5A7A8C;
    --accent: #FADFCE;
    --photo-backdrop: #E5E5E5;
    --accent-dark: #C3E2E3;
    --warm: #C3E2E3;
    --hero-image: url("../images/index_background.jpg");
    --timeline-image: url("../images/4.jpg");
    --radius: 24px;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20000;
    padding: 10px 16px;
    transform: translateY(-160%);
    border-radius: 10px;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 700;
    transition: transform 0.2s ease;
}

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

.profile-page {
    min-height: 100vh;
    background: var(--bg);
}

.container {
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
}

.page-header {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background-color: var(--bg-deep);
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.page-header::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 43%, rgba(255, 255, 255, 0.42) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), var(--bg));
}

.page-header::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, black, transparent 75%);
}

.page-header-mask {
    display: none;
}

.page-header-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.48;
    pointer-events: none;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10000;
    min-height: 76px;
    padding: 12px 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.is-scrolled {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--text) !important;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(250, 223, 206, 0.5);
    border-radius: 50%;
    background: rgba(250, 223, 206, 0.09);
    color: #925838;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-copy small {
    margin-top: 4px;
    color: #3a4b5c;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 9px 12px;
    color: #1A2B3C;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 1px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--text);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link:focus::after {
    transform: scaleX(1);
}

.navbar-dark .navbar-nav .nav-link-contact {
    margin-left: 8px;
    padding-right: 16px;
    padding-left: 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #925838;
}

.navbar-dark .navbar-nav .nav-link-contact::after {
    display: none;
}

.navbar-toggler {
    border-color: var(--line-strong);
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 80px;
    align-items: center;
    min-height: 760px;
    padding-top: 116px;
    padding-bottom: 76px;
}

.hero-copy {
    max-width: 720px;
}

.hero-kicker,
.card-kicker,
.section-heading > span,
.profile-caption-label {
    display: block;
    margin: 0;
    color: #925838;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-status {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin: 28px 0 22px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #1A2B3C;
    font-size: 12px;
    letter-spacing: 0.03em;
}

.hero-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(250, 223, 206, 0.1);
}

.page-header .name {
    max-width: 720px;
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 8.4vw, 112px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.page-header .motto {
    min-height: 34px;
    margin: 24px 0 12px;
    color: #3b7475;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(14px, 1.8vw, 18px);
}

.page-header .motto::after {
    display: inline-block;
    width: 1px;
    height: 1em;
    margin-left: 5px;
    content: "";
    border-right: 1px solid currentColor;
    vertical-align: -0.1em;
    animation: blink 0.7s step-end infinite alternate;
}

.page-header .self-intro {
    display: none;
    max-width: 590px;
    margin: 0;
    color: #1A2B3C;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-decoration: none;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.button-primary {
    background: var(--photo-backdrop);
    color: var(--text-dark);
}

.button-primary:hover,
.button-primary:focus {
    background: #d7d7d7;
    color: var(--text-dark);
}

.button-secondary {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: rgba(250, 223, 206, 0.55);
    background: rgba(250, 223, 206, 0.08);
}

.hvr-bounce-to-right {
    display: none;
}

.hero-metrics {
    display: grid;
    max-width: 760px;
    gap: 10px;
    margin: 42px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero-metrics-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    text-wrap: pretty;
}

.hero-metrics-row span {
    display: inline-flex;
    align-items: center;
}

.hero-metrics-row span + span::before {
    margin: 0 12px;
    color: rgba(26, 43, 60, 0.42);
    content: "|";
}

.hero-metrics-primary {
    color: #1A2B3C;
    font-size: clamp(12px, 1.15vw, 15px);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-frame {
    position: relative;
    width: min(360px, 32vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--photo-backdrop);
    box-shadow: 0 22px 50px rgba(31, 41, 55, 0.08);
    overflow: visible;
}

.myphoto {
    position: absolute;
    top: -60px;
    left: 50%;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 0;
    filter: saturate(0.72) contrast(1.05);
    transform: translateX(-50%);
}

.profile-caption {
    display: flex;
    width: 100%;
    max-width: 285px;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.profile-caption strong {
    color: #1A2B3C;
    font-size: 13px;
}

.page-header .go {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    transform: translateX(-50%);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: #925838;
    transition: background 0.2s ease, transform 0.2s ease;
}

.page-header .go:hover,
.page-header .go:focus {
    background: rgba(250, 223, 206, 0.1);
    transform: translateX(-50%) translateY(3px);
}

.page-header .go svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.content-section {
    position: relative;
    padding: 104px 0;
    scroll-margin-top: 72px;
}

.section-heading {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-bottom: 48px;
    text-align: left;
}

.section-heading > span {
    padding-top: 13px;
}

.section-title {
    max-width: 800px;
    margin: 0;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.section-heading-light .section-title {
    color: var(--text);
}

.card {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
    text-align: left;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
    border-color: rgba(250, 223, 206, 0.28);
    transform: translateY(-3px);
}

.about-section {
    background:
        radial-gradient(circle at 90% 0%, rgba(250, 223, 206, 0.07), transparent 34%),
        var(--bg);
}

.profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.profile-story {
    padding: clamp(32px, 5vw, 64px);
}

.profile-story .me {
    margin-top: 26px;
    color: #1A2B3C;
    font-size: clamp(17px, 2vw, 21px);
}

.profile-story .me p:last-child {
    margin-bottom: 0;
}

.profile-facts {
    margin: 0;
    padding: clamp(32px, 5vw, 56px);
    border-left: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
}

.profile-facts div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(199, 226, 235, 0.08);
}

.profile-facts div:last-child {
    border-bottom: 0;
}

.profile-facts dt {
    color: #1A2B3C;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #1A2B3C;
    font-size: 14px;
    font-weight: 600;
}

.skill-section {
    border-top: 1px solid rgba(199, 226, 235, 0.06);
    background: var(--bg-deep);
}

.skill-card {
    display: block;
    background: var(--surface);
}

.skill-about {
    padding: clamp(32px, 5vw, 58px);
    background: rgba(255, 255, 255, 0.018);
}

.skill-about .desc {
    margin-top: 26px;
    color: #1A2B3C;
}

.skill-about ul {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.skill-about li {
    position: relative;
    margin-top: 13px;
    padding-left: 0;
}

.skill-about li::before {
    position: absolute;
    top: 0.75em;
    left: 0;
    display: none;
}

.experience-section {
    background:
        radial-gradient(circle at 10% 100%, rgba(195, 226, 227, 0.06), transparent 32%),
        var(--bg);
}

.experience-list {
    display: grid;
    gap: 18px;
}

.experience-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
}

.experience-period {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
    padding: 34px;
    border-right: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(250, 223, 206, 0.12), transparent 70%),
        var(--surface-raised);
}

.experience-period span {
    color: #925838;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.experience-period strong {
    max-width: 220px;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.18;
}

.experience-copy {
    padding: 34px clamp(34px, 6vw, 68px);
}

.experience-company {
    margin: 0 0 12px !important;
    color: var(--warm) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.experience-copy > p {
    max-width: 680px;
    margin: 0;
    color: #1A2B3C;
}

.experience-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.experience-copy li {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #1A2B3C;
    font-size: 11px;
}

.documentation-section {
    background: var(--bg);
}

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

.documentation-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.documentation-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.documentation-card:hover img {
    transform: scale(1.04);
}

.others-section {
    min-height: 0;
    overflow: hidden;
    background: var(--bg-deep);
    isolation: isolate;
}

.others-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.74)),
        var(--timeline-image);
    background-position: center;
    background-size: cover;
}

.others-section::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, var(--bg-deep), transparent 28%, var(--bg-deep));
}

.content-timeline-border {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
    padding: 18px 0;
}

.content-timeline-border::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(250, 223, 206, 0.65), transparent);
}

.timeline-left,
.timeline-right {
    min-width: 0;
}

.timeline-right {
    padding-top: 130px;
}

.timeul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeul li {
    position: relative;
    margin-bottom: 76px;
}

.timeline-left .timeul li::after,
.timeline-right .timeul li::before {
    position: absolute;
    top: 20px;
    width: 36px;
    height: 1px;
    content: "";
    background: rgba(250, 223, 206, 0.55);
}

.timeline-left .timeul li::after {
    right: -36px;
}

.timeline-right .timeul li::before {
    left: -36px;
}

.timeline-left > span,
.timeline-right > span,
.timeul li > span {
    position: absolute;
    left: 50%;
    width: 11px;
    height: 11px;
    transform: translateX(-50%);
    border: 2px solid var(--bg-deep);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(250, 223, 206, 0.14);
}

.timeline-left > span {
    top: 0;
}

.timeline-right > span {
    bottom: 0;
}

.timeul li > span {
    display: none;
}

.time-title {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(250, 223, 206, 0.3);
    border-radius: 999px;
    background: rgba(250, 223, 206, 0.07);
    color: #925838;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.time-content {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.time-content h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
}

.time-content p {
    margin: 0;
    color: #a9bac2;
    font-size: 14px;
}

.contact-section {
    background:
        radial-gradient(circle at 100% 100%, rgba(250, 223, 206, 0.08), transparent 34%),
        var(--bg);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.contact-form,
.contact-details {
    padding: clamp(32px, 5vw, 58px);
}

.contact-details {
    border-left: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
}

.contact-form label {
    display: block;
    margin: 22px 0 8px;
    color: #8397a2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.input-control {
    position: relative;
}

.input-control svg {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.input-control .form-control {
    padding-left: 48px;
}

.form-control {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #607580;
}

.form-control:focus {
    border-color: rgba(250, 223, 206, 0.68);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(250, 223, 206, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.contact-form .send-btn {
    margin-top: 20px;
}

.contact-detail {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(199, 226, 235, 0.08);
}

.contact-detail span {
    color: #1A2B3C;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-detail strong {
    overflow-wrap: anywhere;
    color: #1A2B3C;
    font-size: 14px;
    text-align: right;
}

.contact-note {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 15px;
    margin-top: 28px;
    padding: 20px;
    border: 1px solid rgba(250, 223, 206, 0.18);
    border-radius: 14px;
    background: rgba(250, 223, 206, 0.055);
}

.contact-note svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.contact-note p {
    margin: 0;
    color: #aebfc6;
    font-size: 13px;
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 116px;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.footer p {
    margin: 0;
    color: #70838e;
    font-size: 12px;
}

.footer p:first-child {
    display: flex;
    flex-direction: column;
}

.footer strong {
    color: #d8e4e7;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer span {
    margin-top: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .hero-shell {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 40px;
    }

    .portrait-frame {
        width: 280px;
    }

    .myphoto {
        top: -42px;
    }

    .section-heading {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 24px;
    }

    .profile-card,
    .skill-card,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .profile-facts,
    .skill-about,
    .contact-details {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .experience-card {
        grid-template-columns: 250px minmax(0, 1fr);
    }

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

@media (max-width: 767px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .navbar {
        min-height: 68px;
        background: rgba(255, 255, 255, 0.92);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #0a151f;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 11px 8px;
    }

    .navbar-dark .navbar-nav .nav-link-contact {
        display: inline-flex;
        margin: 6px 0 0;
    }

    .brand-copy strong {
        font-size: 12px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 42px;
        min-height: 860px;
        padding-top: 118px;
        padding-bottom: 92px;
    }

    .hero-copy {
        text-align: left;
    }

    .page-header .name {
        font-size: clamp(54px, 18vw, 82px);
    }

    .hero-profile {
        display: flex;
    }

    .hero-metrics {
        gap: 12px;
    }

    .hero-metrics-primary {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .hero-metrics-row span + span::before {
        margin: 0 8px;
    }

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

    .section-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 34px;
    }

    .section-heading > span {
        padding-top: 0;
    }

    .section-title {
        font-size: clamp(35px, 11vw, 48px);
    }

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

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

    .experience-period {
        min-height: 185px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .content-timeline-border {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 28px;
    }

    .content-timeline-border::before {
        left: 4px;
    }

    .timeline-right {
        padding-top: 0;
    }

    .timeline-left .timeul li::after,
    .timeline-right .timeul li::before {
        top: 20px;
        right: auto;
        left: -24px;
        width: 24px;
    }

    .timeline-left > span,
    .timeline-right > span {
        left: 4px;
    }

    .timeul li {
        margin-bottom: 28px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-metrics {
        gap: 8px;
    }

    .hero-metrics-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hero-metrics-row span + span::before {
        display: none;
    }

    .profile-story,
    .profile-facts,
    .skill-about,
    .contact-form,
    .contact-details {
        padding: 26px;
    }

    .profile-facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .contact-detail strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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





.button { font-family: 'Inter', sans-serif !important; font-weight: 500; }

