@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

:root{
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --main-color: #ffeedc;
    --white-color: #fff;
    --muted-color: #c5ceda;
    --disabled-color: #fff3;
}

html{
    font-size: 62.5%;
}

body{
   color: var(--white-color);
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

header .logo{
   font-size: 3rem;
   color: var(--white-color);
   font-weight: 700;
}

header nav a {
    position: relative;
    font-size: 1.6rem;
    color: var(--white-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .5s;
}

header nav a::after{
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

header nav a.active::after {
    transform: scaleX(1);
}

header nav a:hover::after{
  transform: scaleX(1);
}

header nav a:hover,
header nav a.active
{
    color: var(--main-color);
}

header #menu-icon{
    font-size: 4rem;
    display: none;
}

section{
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10rem 9% 2rem;
    background: var(--bg-color);
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
}

section.active{
    visibility: visible;
    opacity: 1;
    overflow: auto;
}

.home{
    display: flex;
    align-items: center;
    gap: 5rem;
}

.home-detail {
    min-width: 0;
    flex: 1 1 58%;
}

.home-img {
    flex: 0 0 auto;
}

section .home-detail h1{
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.15;
}

section .home-detail h2{
    display: block;
    max-width: 100%;
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    line-height: 1.4;
    margin-top: .4rem;
}

section .home-detail h2 span{
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: .07rem var(--main-color);
    animation: display-text 16s linear infinite;
    animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {
    25%,
    100% {
        display: none;
    }
}

section .home-detail h2 span::before{
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-right: .2rem solid var(--main-color);
    color: var(--main-color);
    white-space: nowrap;
    overflow: hidden;
    animation: text-fill 4s linear infinite;
}

@keyframes text-fill {
    0%, 
    100% {
       width: 0;
    }

    70%, 
    90% {
        width: 100%;
    }
}

section .home-detail p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 1rem 0 2.5rem;
}

section .home-detail .btn-sci{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

section .home-detail .btn{
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--bg-color);
    font-weight: 500;
    transition: .5s;
}

section .home-detail .btn i{
  font-size: 2rem;
  margin-right: 6px;
}

section .home-detail .btn:hover{
    background: transparent;
    color: var(--main-color);
    box-shadow: none;
}

section .home-detail .btn-sci .sci{
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-left: .8rem;
}

section .home-detail .btn-sci .sci a{
    display: inline-flex;
    padding: .8rem;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 0;
    transition: .5s;
}

section .home-detail .btn-sci .sci a:hover{
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.home .home-img .img-box{
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home .home-img .img-box::before,
.home .home-img .img-box::after{
    content: "";
    position: absolute;
    width: 50rem;
    height: 50rem;
    background: conic-gradient(transparent, transparent, transparent, var(--main-color));
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

.home .home-img .img-box::after{
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.home .home-img .img-box .img-item{
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 50%;
    border: .01rem solid var(--bg-color);
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home .home-img .img-box .img-item img{
    position: absolute;
    top: 3rem;
    display: block;
    width: 85%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

body {
    min-width: 320px;
    min-height: 100vh;
    background: var(--bg-color);
}

header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header nav a {
    margin-left: 0;
    white-space: nowrap;
}

header #menu-icon {
    color: var(--main-color);
    background: transparent;
    cursor: pointer;
    line-height: 1;
}

section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    padding: 11rem 9% 4rem;
    overscroll-behavior: contain;
    scrollbar-color: var(--main-color) var(--second-bg-color);
    scrollbar-width: thin;
}

section.active {
    overflow-y: auto;
    overflow-x: hidden;
}

.content-section .section-content {
    width: min(100%, 112rem);
    margin: 0 auto;
}

.content-section .eyebrow,
.card-index,
.timeline-label {
    color: var(--main-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.section-title {
    margin: 1.2rem 0 1.6rem;
    font-size: clamp(3.6rem, 6vw, 6.4rem);
    line-height: 1.08;
}

.section-title span {
    color: var(--main-color);
}

.section-intro {
    max-width: 66rem;
    margin-bottom: 3.5rem;
    color: var(--muted-color);
    font-size: 1.6rem;
    line-height: 1.8;
}

.certifications .section-content {
    width: 100%;
    max-width: none;
}

.certifications .section-title {
    margin-bottom: 1.2rem;
    color: var(--main-color);
    text-align: center;
    font-size: clamp(3rem, 4vw, 4.2rem);
}

.certifications .section-intro {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.certification-carousel {
    --slide-width: min(58rem, 76vw);
    position: relative;
    left: 50%;
    width: 100vw;
    margin-top: 6rem;
    padding-bottom: 4.5rem;
    transform: translateX(-50%);
}

.certification-carousel-window {
    overflow: hidden;
    width: 100%;
}

.certification-carousel-track {
    display: flex;
    width: max-content;
    gap: clamp(3rem, 20vw, 25rem);
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.certification-slide {
    position: relative;
    flex: 0 0 var(--slide-width);
    width: var(--slide-width);
    opacity: .42;
    transform: scale(.94);
    transition: opacity .6s ease, transform .6s ease;
}

.certification-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.certification-image {
    display: grid;
    height: clamp(25rem, 36vh, 34rem);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(255 238 220 / 22%);
    border-radius: 1rem;
    background: #101318;
}

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

.certification-caption {
    min-height: 8rem;
    margin-top: 1.5rem;
    padding: 1.5rem 1.8rem;
    border: 1px solid rgb(255 238 220 / 14%);
    border-radius: 1rem;
    background: #171b22;
    text-align: center;
}

.certification-caption h3 {
    margin-bottom: .7rem;
    color: var(--main-color);
    font-size: 1.6rem;
}

.certification-caption p {
    color: var(--muted-color);
    font-size: 1.3rem;
    line-height: 1.6;
}

.certification-verification-link {
    display: inline-block;
    margin-top: .6rem;
    color: var(--main-color);
    font-size: 1.2rem;
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.certification-verification-link:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.certification-date {
    display: block;
    margin-top: .6rem;
    color: var(--muted-color);
    font-size: 1.2rem;
}

.certification-preview-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    cursor: zoom-in;
}

.certification-preview-trigger:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 4px;
}

.certification-preview {
    width: min(96vw, 120rem);
    max-width: none;
    max-height: 94dvh;
    margin: auto;
    padding: 2rem;
    overflow: auto;
    border: 1px solid rgb(255 238 220 / 28%);
    border-radius: 1.4rem;
    background: var(--bg-color);
    color: var(--white-color);
}

.certification-preview::backdrop {
    background: rgb(0 0 0 / 82%);
    backdrop-filter: blur(4px);
}

.certification-preview-panel {
    display: grid;
    gap: 1.5rem;
}

.certification-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.certification-preview-header h2 {
    color: var(--main-color);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.certification-preview-close {
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    background: transparent;
    color: var(--main-color);
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
}

.certification-preview-close:hover,
.certification-preview-close:focus-visible {
    background: var(--main-color);
    color: var(--bg-color);
}

.certification-preview-close:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.certification-preview-image {
    display: block;
    width: 100%;
    max-height: 78dvh;
    object-fit: contain;
    border-radius: .8rem;
    background: #101318;
}

.project-video-modal {
    width: min(94vw, 100rem);
    max-width: none;
    max-height: 92dvh;
    margin: auto;
    padding: 2rem;
    overflow: auto;
    border: 1px solid rgb(255 238 220 / 28%);
    border-radius: 1.4rem;
    background: var(--bg-color);
    color: var(--white-color);
}

.project-video-modal::backdrop {
    background: rgb(0 0 0 / 82%);
    backdrop-filter: blur(4px);
}

.project-video-panel {
    display: grid;
    gap: 1.6rem;
}

.project-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.project-video-eyebrow {
    margin-bottom: .4rem;
    color: var(--muted-color);
    font-size: 1rem;
    font-weight: 700;
}

.project-video-header h2 {
    color: var(--main-color);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.project-video-close {
    display: grid;
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    background: transparent;
    color: var(--main-color);
    cursor: pointer;
    font-size: 2.4rem;
}

.project-video-close:hover,
.project-video-close:focus-visible {
    background: var(--main-color);
    color: var(--bg-color);
}

.project-video-close:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.project-video-choices {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.project-video-choice {
    min-height: 3.8rem;
    padding: .8rem 1.2rem;
    border: 1px solid var(--disabled-color);
    border-radius: .6rem;
    background: transparent;
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.2rem;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.project-video-choice[aria-pressed="true"],
.project-video-choice:hover,
.project-video-choice:focus-visible {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--bg-color);
}

.project-video-player {
    display: block;
    width: 100%;
    max-height: 72dvh;
    aspect-ratio: 16 / 9;
    border-radius: .8rem;
    background: #101318;
    object-fit: contain;
}

.project-video-empty {
    padding: 4rem 2rem;
    border: 1px dashed var(--disabled-color);
    border-radius: .8rem;
    color: var(--muted-color);
    font-size: 1.4rem;
    text-align: center;
}

.certification-arrow {
    position: absolute;
    z-index: 2;
    top: 10rem;
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--main-color);
    cursor: pointer;
    font-size: 2.8rem;
    transition: background .2s ease, color .2s ease;
}

.certification-arrow:hover,
.certification-arrow:focus-visible {
    background: var(--main-color);
    color: var(--bg-color);
}

.certification-arrow:focus-visible,
.certification-dot:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.certification-arrow-prev {
    left: max(4%, calc((100% - 110rem) / 2));
}

.certification-arrow-next {
    right: max(4%, calc((100% - 110rem) / 2));
}

.certification-pagination {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: .9rem;
    transform: translateX(-50%);
}

.certification-dot {
    width: .9rem;
    height: .9rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 28%);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.certification-dot[aria-current="true"] {
    background: var(--main-color);
    transform: scale(1.25);
}

.certification-count {
    position: absolute;
    bottom: 0;
    left: 9%;
    padding: .5rem 1.2rem;
    border: 1px solid rgb(255 238 220 / 20%);
    border-radius: 99rem;
    color: var(--main-color);
    font-size: 1.2rem;
}

.about .section-content {
    max-width: 100rem;
}

.about .section-title {
    position: relative;
    margin: 0 0 3.2rem;
    text-align: center;
    font-size: clamp(3.2rem, 4vw, 4.2rem);
}

.about .section-title::after {
    position: absolute;
    bottom: -1.3rem;
    left: 50%;
    width: 6rem;
    height: .2rem;
    background: var(--main-color);
    content: "";
    transform: translateX(-50%);
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: start;
    margin-top: 0;
}

.about-column > h3 {
    position: relative;
    margin-bottom: 1.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(255 238 220 / 20%);
    font-size: 1.9rem;
}

.about-column > h3::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 3.2rem;
    height: 1px;
    background: var(--main-color);
    content: "";
}

.about-copy {
    padding: 2rem;
    border: 1px solid rgb(255 238 220 / 14%);
    border-radius: 1rem;
    background: var(--second-bg-color);
}

.about-copy p {
    color: var(--white-color);
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: justify;
}

.about-copy p + p {
    margin-top: 1.5rem;
}

.education-list {
    display: grid;
    gap: 1.2rem;
}

.education-card {
    overflow: hidden;
    border: 1px solid rgb(255 238 220 / 16%);
    border-radius: 1rem;
    background: var(--second-bg-color);
}

.education-card-heading {
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid rgb(255 238 220 / 14%);
    background: rgb(255 238 220 / 5%);
}

.education-period {
    margin-bottom: .6rem;
    color: var(--main-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.education-card-heading h4 {
    font-size: 1.4rem;
    font-weight: 400;
}

.education-card-details {
    padding: 1.5rem 1.8rem;
}

.education-card-details h4 {
    color: var(--main-color);
    font-size: 1.7rem;
}

.info-card p,
.project-copy p,
.project-note p,
.skill-card p,
.timeline-item > p:not(.timeline-label) {
    color: var(--muted-color);
    font-size: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    gap: 1.2rem;
}

.info-card,
.skill-card,
.project-note,
.empty-state {
    border: 1px solid rgb(255 238 220 / 14%);
    border-radius: 1.2rem;
    background: var(--second-bg-color);
}

.info-card {
    padding: 2rem 2.2rem;
}

.info-card h3 {
    margin: .8rem 0 .4rem;
    font-size: 1.8rem;
}

.info-card p {
    font-size: 1.4rem;
}

.empty-state {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 78rem;
    padding: 2.5rem;
}

.empty-state-icon,
.skill-icon {
    display: grid;
    flex: 0 0 5rem;
    width: 5rem;
    height: 5rem;
    place-items: center;
    border: 1px solid var(--main-color);
    border-radius: 1rem;
    color: var(--main-color);
    font-size: 2.6rem;
}

.empty-state h3 {
    margin-bottom: .5rem;
    font-size: 1.8rem;
}

.empty-state p {
    color: var(--muted-color);
    font-size: 1.4rem;
    line-height: 1.6;
}

.status-tag,
.tag-list span,
.timeline-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgb(255 238 220 / 28%);
    border-radius: 99rem;
    color: var(--main-color);
    font-size: 1.2rem;
}

.status-tag {
    flex: 0 0 auto;
    padding: .6rem 1rem;
}

.projets .section-title {
    position: relative;
    margin: 0 0 4.5rem;
    color: var(--main-color);
    text-align: center;
    font-size: clamp(3rem, 4vw, 4.2rem);
}

.projets .section-title::after {
    position: absolute;
    bottom: -1.3rem;
    left: 50%;
    width: 6rem;
    height: .2rem;
    background: var(--main-color);
    content: "";
    transform: translateX(-50%);
}

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

.project-card {
    overflow: hidden;
    border: 1px solid rgb(255 238 220 / 14%);
    border-radius: 1.2rem;
    background: var(--second-bg-color);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover,
.project-card:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 1.2rem rgb(255 238 220 / 18%);
}

.project-visual {
    position: relative;
    height: clamp(13rem, 12vw, 18rem);
    overflow: hidden;
    background: #171b22;
}

.project-visual::after {
    position: absolute;
    inset: 45% 0 0;
    pointer-events: none;
    background: linear-gradient(transparent, rgb(31 36 45 / 82%));
    content: "";
}

.project-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

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

.project-preview {
    position: absolute;
    inset: 0;
    overflow: hidden;
    padding: 1.2rem;
}

.prompt-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: linear-gradient(155deg, #f1eee8 0 49%, #cbd1d3 50%, #20252b 100%);
    color: #202127;
    text-align: center;
}

.preview-kicker {
    color: #d97732;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.prompt-preview > strong {
    font-family: Georgia, serif;
    font-size: clamp(1.4rem, 1.8vw, 2rem);
}

.prompt-preview em {
    color: #d97732;
}

.prompt-input {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: .8rem;
    border: 1px solid #687981;
    border-radius: .5rem;
    background: rgb(255 255 255 / 90%);
    font-size: .8rem;
    text-align: left;
}

.prompt-input span {
    color: #d97732;
}

.mcp-preview,
.monitor-preview {
    background: #10151b;
    color: #ccd4dd;
    font-family: monospace;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    color: #91a0ad;
    font-size: .75rem;
}

.preview-toolbar > span {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #69727d;
}

.preview-toolbar > span:first-child {
    background: #e26e69;
}

.preview-toolbar > span:nth-child(2) {
    background: #e3b65e;
}

.preview-toolbar > span:nth-child(3) {
    background: #73bf78;
}

.preview-toolbar b {
    margin-left: .4rem;
    font-weight: 400;
}

.mcp-network {
    display: flex;
    height: 60%;
    align-items: center;
    justify-content: space-around;
    background-image: radial-gradient(rgb(255 255 255 / 13%) .5px, transparent .5px);
    background-size: 1.2rem 1.2rem;
}

.mcp-node {
    position: relative;
    z-index: 1;
    padding: .7rem .5rem;
    border: 1px solid #486b60;
    border-radius: .5rem;
    background: #202a30;
    color: #a7e7b0;
    font-size: .65rem;
}

.mcp-status {
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    color: #a7e7b0;
    font-size: .6rem;
}

.mcp-status span + span {
    color: #84919b;
}

.monitor-summary {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0 .7rem;
    color: #62cbd1;
    font-size: .6rem;
}

.monitor-summary strong {
    color: #77dc93;
    font-size: .55rem;
}

.monitor-row {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    border-top: 1px solid rgb(255 255 255 / 9%);
    color: #aeb8c2;
    font-size: .6rem;
}

.monitor-row b {
    color: #77dc93;
    font-size: .55rem;
}

.monitor-chart {
    display: flex;
    height: 2.5rem;
    align-items: end;
    gap: .5rem;
    margin-top: .5rem;
    border-bottom: 1px solid #46515b;
}

.monitor-chart i {
    flex: 1;
    height: 45%;
    background: #48a9a7;
}

.monitor-chart i:nth-child(2n) {
    height: 75%;
}

.monitor-chart i:nth-child(3n) {
    height: 58%;
}

.project-copy {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem;
}

.project-copy h3 {
    min-height: 3.8rem;
    margin: 0 0 .7rem;
    font-size: 1.6rem;
    line-height: 1.35;
}

.project-copy p {
    min-height: 6.4rem;
    font-size: 1.25rem;
    line-height: 1.6;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.tag-list span {
    padding: .5rem .9rem;
}

.project-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.4rem;
}

.project-action {
    display: inline-flex;
    min-height: 3.6rem;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .7rem .9rem;
    border: 1px solid var(--disabled-color);
    border-radius: .6rem;
    background-color: var(--bg-color);
    color: var(--white-color);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.project-action:hover,
.project-action:focus-visible {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: var(--bg-color);
}

.project-action-videos {
    grid-column: 1 / -1;
    border-color: var(--main-color);
}

.project-action i {
    flex: 0 0 auto;
    font-size: 1.5rem;
}

.project-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.project-note h3 {
    margin: 1.2rem 0 .8rem;
    font-size: 2.2rem;
}

.skills {
    background: var(--bg-color);
}

.skills .section-title {
    position: relative;
    margin: 0 0 2.5rem;
    color: var(--main-color);
    text-align: center;
    font-size: clamp(3rem, 4vw, 4.2rem);
}

.skills .section-title::after {
    position: absolute;
    bottom: -1.3rem;
    left: 50%;
    width: 6rem;
    height: .2rem;
    background: var(--main-color);
    content: "";
    transform: translateX(-50%);
}

.skills .section-intro {
    max-width: none;
    margin: 0 auto 4rem;
    color: var(--white-color);
    text-align: center;
}

.skill-groups {
    display: grid;
    gap: 3.5rem;
}

.skill-group > h3 {
    margin-bottom: 1.6rem;
    padding: .2rem 0 .2rem 1.2rem;
    border-left: .2rem solid var(--main-color);
    color: var(--main-color);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.skill-card {
    display: flex;
    flex: 0 0 9.4rem;
    width: 9.4rem;
    min-height: 9rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem .6rem;
    border: 1px solid var(--disabled-color);
    border-radius: 1rem;
    background: var(--second-bg-color);
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.skill-card:hover,
.skill-card:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 1.2rem rgb(255 238 220 / 18%);
}

.skill-card h4 {
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.25;
}

.skill-logo {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border-radius: .7rem;
    color: var(--main-color);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
}

.skill-logo i {
    font-size: 2.8rem;
}

.skill-logo img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
}

.skill-logo-html5 {
    color: #e34f26;
}

.skill-logo-css3 {
    color: #1572b6;
}

.skill-logo-javascript {
    color: #f7df1e;
}

.skill-logo-bootstrap {
    color: #7952b3;
}

.skill-logo-tailwind {
    color: #06b6d4;
}

.skill-logo-react {
    color: #61dafb;
}

.skill-logo-nextjs {
    color: var(--white-color);
}

.skill-logo-redux {
    color: #764abc;
}

.skill-logo-php {
    color: #777bb4;
}

.skill-logo-python {
    color: #ffd343;
    font-size: 2.9rem;
}

.skill-logo-java {
    color: #f89820;
}

.skill-logo-android {
    color: #3ddc84;
}

.skill-logo-material {
    color: #4285f4;
    background: #fff;
}

.skill-logo-jotform,
.skill-logo-kobotoolbox {
    background: #fff;
}

.skill-logo-c {
    color: #a8b9cc;
}

.skill-logo-r {
    color: #276dc3;
}

.skill-logo-jquery {
    color: #0769ad;
}

.skill-logo-laravel {
    color: #ff2d20;
}

.skill-logo-django {
    color: #44b78b;
}

.skill-logo-nodejs {
    color: #539e43;
}

.skill-logo-express,
.skill-logo-hono {
    color: var(--white-color);
}

.skill-logo-fastify {
    color: #83cd29;
}

.skill-logo-mysql {
    color: #00758f;
}

.skill-logo-postgresql {
    color: #4169e1;
}

.skill-logo-oracle {
    color: #f80000;
}

.skill-logo-turborepo {
    color: #f44a03;
}

.skill-logo-kafka {
    color: #231f20;
    border-radius: 50%;
    background: var(--white-color);
}

.skill-logo-spark {
    color: #f66a24;
    font-size: 3rem;
}

.skill-logo-mcp {
    background: var(--bg-color);
}

.skill-logo-langchain {
    background: #fff;
    color: var(--main-color);
    font-size: .75rem;
    letter-spacing: .03em;
}

.skill-logo-langgraph,
.skill-logo-finetuning,
.skill-logo-vector {
    color: var(--main-color);
}

.skill-logo-langgraph {
    background: #fff;
}

.skill-logo-agents {
    color: var(--main-color);
}

.skill-logo-streamlit {
    color: #ff4b4b;
    font-size: 3.2rem;
}

.skill-logo-nosql {
    color: #47a248;
}

.skill-logo-docker {
    color: #2496ed;
}

.skill-logo-aws {
    color: #ff9900;
}

.skill-logo-linux {
    color: #f2cf45;
}

.skill-logo-vm,
.skill-logo-monitoring {
    color: var(--main-color);
}

.skill-logo-git {
    color: #f45128;
}

.skill-logo-github {
    color: var(--white-color);
}

.skill-logo-cicd {
    color: #168bff;
}

.skill-logo-n8n {
    color: #ea4b71;
}

.timeline {
    position: relative;
    display: grid;
    gap: 2rem;
    max-width: 92rem;
    margin: 3.5rem auto 0;
}

.timeline::before {
    position: absolute;
    top: .8rem;
    bottom: 2.8rem;
    left: 11.1rem;
    width: 1px;
    background: var(--disabled-color);
    content: "";
}

.experiences .section-title {
    position: relative;
    margin: 0 0 3.5rem;
    color: var(--main-color);
    text-align: center;
    font-size: clamp(3rem, 4vw, 4.2rem);
}

.experiences .section-title::after {
    position: absolute;
    bottom: -1.3rem;
    left: 50%;
    width: 6rem;
    height: .2rem;
    background: var(--main-color);
    content: "";
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 9.5rem 3.2rem minmax(0, 1fr);
    align-items: start;
}

.timeline-marker {
    position: absolute;
    top: 1.2rem;
    left: 10.6rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: 0 0 1rem rgb(255 238 220 / 45%);
}

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
    padding-top: .5rem;
    color: var(--main-color);
    font-size: 1.2rem;
    text-align: right;
}

.timeline-date strong {
    font-size: 1.3rem;
}

.timeline-date span {
    padding: .3rem .8rem;
    border: 1px solid var(--main-color);
    border-radius: 99rem;
    font-size: 1rem;
    letter-spacing: .08em;
}

.experience-card {
    grid-column: 3;
    overflow: hidden;
    border: 1px solid var(--disabled-color);
    border-radius: 1.2rem;
    background: var(--second-bg-color);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.experience-card:hover,
.experience-card:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 1.2rem rgb(255 238 220 / 12%);
}

.experience-card summary {
    position: relative;
    padding: 1.8rem 4.2rem 1.2rem 2rem;
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 700;
    list-style: none;
}

.experience-card summary::-webkit-details-marker {
    display: none;
}

.experience-card summary::after {
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    content: "⌄";
    color: var(--main-color);
    font-size: 1.8rem;
    line-height: 1;
    transition: transform .2s ease;
}

.experience-card[open] summary::after {
    transform: rotate(180deg);
}

.experience-card summary:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: -4px;
}

.experience-content {
    padding: 0 2rem 1.8rem;
}

.experience-highlights {
    display: grid;
    gap: 1.1rem;
    padding: 0;
    list-style: none;
}

.experience-highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--muted-color);
    font-size: 1.3rem;
    line-height: 1.7;
}

.experience-highlights li::before {
    position: absolute;
    top: .15em;
    left: 0;
    color: var(--main-color);
    content: "›";
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-highlights strong {
    color: var(--main-color);
}

.experience-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.1rem;
    padding: .4rem .9rem;
    border: 1px solid var(--main-color);
    border-radius: 99rem;
    color: var(--main-color);
    font-size: 1.2rem;
    transition: background .2s ease, color .2s ease;
}

.experience-link:hover,
.experience-link:focus-visible {
    background: var(--main-color);
    color: var(--bg-color);
}

.experience-link:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}

.timeline-tag {
    padding: .4rem .8rem;
    border-color: rgb(255 238 220 / 28%);
    background: rgb(255 238 220 / 5%);
    color: var(--main-color);
    font-size: 1.1rem;
}

.code25-eyebrow,
.code25-story-label {
    color: var(--main-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.code25 .section-title {
    margin-bottom: .8rem;
}

.code25 .section-intro {
    max-width: 68rem;
}

.code25-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
    align-items: center;
    gap: clamp(2.4rem, 5vw, 6rem);
    margin-top: 3rem;
}

.code25-emblem {
    display: flex;
    min-height: 27rem;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.8rem;
    border: 1px solid rgb(255 238 220 / 24%);
    border-left: .4rem solid var(--main-color);
    background: var(--second-bg-color);
}

.code25-emblem-label,
.code25-emblem-edition {
    color: var(--muted-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.code25-emblem strong {
    color: var(--white-color);
    font-size: 5rem;
    line-height: 1;
}

.code25-emblem strong span {
    color: var(--main-color);
}

.code25-emblem-edition {
    padding-top: 1.4rem;
    border-top: 1px solid rgb(255 238 220 / 20%);
}

.code25-story {
    max-width: 62rem;
}

.code25-story h3 {
    margin: 1rem 0 1.4rem;
    color: var(--white-color);
    font-size: 2.6rem;
    line-height: 1.3;
}

.code25-story > p:not(.code25-story-label) {
    margin-top: 1.2rem;
    color: var(--muted-color);
    font-size: 1.45rem;
    line-height: 1.8;
}

.code25-story .code25-thanks {
    padding-left: 1.4rem;
    border-left: 2px solid var(--main-color);
    color: var(--white-color);
}

.code25-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1.8rem;
    margin-top: 3.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgb(255 238 220 / 20%);
}

.code25-facts div {
    display: grid;
    align-content: start;
    gap: .6rem;
}

.code25-facts span {
    color: var(--muted-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.code25-facts strong {
    color: var(--main-color);
    font-size: 1.5rem;
}

.contact-content {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-eyebrow {
    margin-bottom: .6rem;
    color: var(--muted-color);
    font-size: 1.2rem;
    text-align: center;
}

.contact .section-title {
    position: relative;
    margin: 0 0 3.5rem;
    color: var(--main-color);
    text-align: center;
    font-size: clamp(3rem, 4vw, 4.2rem);
}

.contact .section-title::after {
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    width: 6rem;
    height: .2rem;
    background: var(--main-color);
    content: "";
    transform: translateX(-50%);
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    width: min(100%, 84rem);
    align-items: start;
}

.contact-form {
    overflow: hidden;
    border: 1px solid rgb(255 238 220 / 20%);
    border-radius: 1rem;
    background: var(--second-bg-color);
}

.contact-form-header {
    display: flex;
    height: 3.4rem;
    align-items: center;
    gap: .6rem;
    padding: 0 1.2rem;
    border-bottom: 1px solid rgb(255 238 220 / 14%);
    background: var(--bg-color);
}

.contact-form-header > span {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: var(--main-color);
}

.contact-form-header > span:first-child {
    opacity: .9;
}

.contact-form-header > span:nth-child(2) {
    opacity: .65;
}

.contact-form-header > span:nth-child(3) {
    opacity: .4;
}

.contact-form-header p {
    flex: 1;
    color: var(--muted-color);
    font-size: 1.1rem;
    text-align: center;
}

.contact-form-fields {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-field {
    display: grid;
    gap: .6rem;
}

.form-field label {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.form-field label span {
    color: var(--main-color);
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: .9rem 1.1rem;
    border: 1px solid rgb(255 238 220 / 20%);
    border-radius: .7rem;
    background: var(--bg-color);
    color: var(--white-color);
    font-size: 1.3rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--muted-color);
}

.form-field textarea {
    min-height: 10rem;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 .2rem rgb(255 238 220 / 12%);
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: var(--muted-color);
    font-size: 1.1rem;
    line-height: 1.5;
}

.contact-consent input {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .1rem;
    accent-color: var(--main-color);
}

.contact-submit {
    display: inline-flex;
    min-height: 3.8rem;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    justify-self: start;
    padding: .8rem 1.8rem;
    border: 1px solid var(--main-color);
    border-radius: 99rem;
    background: var(--main-color);
    color: var(--bg-color);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: transparent;
    color: var(--main-color);
}

.contact-submit:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 3px;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.contact-form-status {
    min-height: 1.8rem;
    color: var(--main-color);
    font-size: 1.2rem;
    line-height: 1.5;
}

.contact-form-status.is-error {
    color: #ff9a9a;
}

.contact-sidebar {
    display: grid;
    gap: 1.5rem;
}

.contact-sidebar h3 {
    color: var(--main-color);
    font-size: 1.8rem;
}

.contact-links {
    display: grid;
    gap: 1rem;
}

.contact-link-card {
    display: flex;
    min-height: 6rem;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    border: 1px solid rgb(255 238 220 / 16%);
    border-radius: 1rem;
    background: var(--second-bg-color);
    color: var(--white-color);
    transition: border-color .2s ease;
}

.contact-link-card:hover,
.contact-link-card:focus-visible {
    border-color: var(--main-color);
}

.contact-link-card:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 3px;
}

.contact-link-icon {
    display: grid;
    flex: 0 0 3.6rem;
    width: 3.6rem;
    height: 3.6rem;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--main-color);
    font-size: 2rem;
}

.contact-link-card > span:last-child {
    display: grid;
    gap: .3rem;
}

.contact-link-card strong {
    font-size: 1.3rem;
}

.contact-link-card small {
    color: var(--muted-color);
    font-size: 1.1rem;
}

.contact-availability {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    margin-top: .5rem;
    padding: 1.2rem;
    border: 1px solid rgb(255 238 220 / 20%);
    border-radius: 1rem;
    background: var(--second-bg-color);
}

.contact-availability strong {
    font-size: 1.1rem;
}

.availability-indicator {
    width: .9rem;
    height: .9rem;
    border-radius: 50%;
    background: var(--main-color);
    box-shadow: 0 0 .8rem rgb(255 238 220 / 55%);
}

.contact-availability a {
    padding: .7rem 1rem;
    border: 1px solid var(--main-color);
    border-radius: 99rem;
    background: var(--main-color);
    color: var(--bg-color);
    font-size: 1.1rem;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.contact-availability a:hover,
.contact-availability a:focus-visible {
    background: transparent;
    color: var(--main-color);
}

header nav a:focus-visible,
header #menu-icon:focus-visible,
.home .home-detail .btn:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    header {
        padding-right: 5%;
        padding-left: 5%;
    }

    header nav {
        gap: 1.4rem;
    }

    header nav a {
        font-size: 1.4rem;
    }

    section {
        padding-right: 6%;
        padding-left: 6%;
    }
}

@media (max-width: 900px) {
    header {
        padding: 1.6rem 6%;
    }

    header #menu-icon {
        display: block;
        padding: .4rem;
    }

    header nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 6% 2rem;
        border-top: 1px solid rgb(255 238 220 / 12%);
        background: var(--bg-color);
    }

    header nav.is-open {
        display: flex;
    }

    header nav a {
        padding: 1rem 0;
        font-size: 1.6rem;
    }

    header nav a::after {
        right: auto;
        bottom: .5rem;
        width: 4rem;
    }

    .navigation-guide {
        position: absolute;
        z-index: 110;
        top: calc(100% + 1rem);
        right: 6%;
        display: grid;
        width: min(36rem, 88vw);
        gap: 1rem;
        padding: 1.6rem;
        border: 1px solid rgb(255 238 220 / 24%);
        border-radius: .8rem;
        background: var(--second-bg-color);
        box-shadow: 0 1rem 3rem rgb(0 0 0 / 28%);
        color: var(--white-color);
    }

    .navigation-guide[hidden] {
        display: none;
    }

    .navigation-guide::before {
        position: absolute;
        top: -.7rem;
        right: 1.6rem;
        width: 1.2rem;
        height: 1.2rem;
        transform: rotate(45deg);
        border-top: 1px solid rgb(255 238 220 / 24%);
        border-left: 1px solid rgb(255 238 220 / 24%);
        background: var(--second-bg-color);
        content: "";
    }

    .navigation-guide h2 {
        color: var(--main-color);
        font-size: 1.5rem;
    }

    .navigation-guide p {
        color: var(--muted-color);
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .navigation-guide-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: .8rem;
    }

    .navigation-guide-actions button {
        display: inline-flex;
        min-height: 3.8rem;
        align-items: center;
        justify-content: center;
        gap: .6rem;
        padding: .8rem 1.2rem;
        border: 1px solid var(--disabled-color);
        border-radius: .6rem;
        background: transparent;
        color: var(--white-color);
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .navigation-guide-actions button:hover,
    .navigation-guide-actions button:focus-visible {
        border-color: var(--main-color);
        background: var(--main-color);
        color: var(--bg-color);
    }

    .navigation-guide-actions .navigation-guide-open {
        border-color: var(--main-color);
        background: var(--main-color);
        color: var(--bg-color);
    }

    .navigation-guide-open:focus-visible,
    .navigation-guide-dismiss:focus-visible {
        outline: 2px solid var(--white-color);
        outline-offset: 3px;
    }

    header #menu-icon.is-guided {
        position: relative;
        z-index: 111;
        border-radius: .6rem;
        box-shadow: 0 0 0 .4rem var(--bg-color), 0 0 0 .6rem var(--main-color);
    }

    .home {
        gap: 3rem;
    }

    .home .home-detail {
        flex-basis: 60%;
    }

    .home .home-img .img-box {
        width: min(36vw, 30rem);
        height: min(36vw, 30rem);
    }

    .about-layout {
        gap: 3rem;
    }

    .contact-layout {
        max-width: 62rem;
        grid-template-columns: minmax(0, 1fr);
    }

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

    .certification-carousel {
        --slide-width: min(50rem, 78vw);
        margin-top: 4rem;
    }

    .certification-carousel-track {
        gap: 5rem;
    }

    .certification-image {
        height: clamp(17rem, 28vh, 23rem);
    }

    .certification-arrow {
        top: 8rem;
        width: 3.6rem;
        height: 3.6rem;
    }

    .certification-arrow-prev {
        left: 2%;
    }

    .certification-arrow-next {
        right: 2%;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 62.5%;
    }

    header .logo {
        font-size: 2.6rem;
    }

    section {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding: 9rem 6% 3rem;
        -webkit-overflow-scrolling: touch;
    }

    section.active {
        overflow-x: hidden;
        overflow-y: auto;
        touch-action: pan-y;
    }

    .home {
        flex-direction: column;
        justify-content: flex-start;
        gap: 2rem;
        padding-top: 11rem;
        text-align: center;
    }

    .home .home-img {
        order: -1;
    }

    .home .home-detail {
        width: 100%;
        max-width: 60rem;
        flex: 0 0 auto;
    }

    section .home-detail h1 {
        font-size: clamp(3.5rem, 12vw, 5rem);
    }

    section .home-detail h2 {
        max-width: 100%;
        font-size: clamp(2.1rem, 7vw, 2.8rem);
    }

    section .home-detail p {
        max-width: 58rem;
        margin: 1rem auto 2rem;
        font-size: 1.5rem;
        line-height: 1.7;
    }

    section .home-detail .btn-sci {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    section .home-detail .btn {
        justify-content: center;
        min-width: 18rem;
    }

    section .home-detail .btn-sci .sci {
        justify-content: center;
        margin: 0;
    }

    section .home-detail .btn-sci .sci a {
        margin: 0;
    }

    .home .home-img .img-box {
        width: min(56vw, 24rem);
        height: min(56vw, 24rem);
    }

    .home .home-img .img-box::before,
    .home .home-img .img-box::after {
        width: 36rem;
        height: 36rem;
    }

    .home .home-img .img-box .img-item img {
        top: 2rem;
    }

    .section-title {
        font-size: clamp(3.8rem, 12vw, 5.2rem);
    }

    .about-layout,
    .project-grid,
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        gap: 2.5rem;
        margin-top: 2.5rem;
    }

    .certifications .section-title {
        font-size: clamp(2.6rem, 9vw, 3.6rem);
    }

    .certifications .section-intro {
        font-size: 1.4rem;
    }

    .projets .section-title {
        font-size: clamp(2.6rem, 9vw, 3.6rem);
    }

    .skills .section-title {
        font-size: clamp(2.6rem, 9vw, 3.6rem);
    }

    .experiences .section-title {
        margin-bottom: 3rem;
        font-size: clamp(2.6rem, 9vw, 3.6rem);
    }

    .timeline {
        gap: 1.8rem;
        margin-top: 2.5rem;
    }

    .timeline::before {
        top: 4.7rem;
        bottom: 1.8rem;
        left: .9rem;
    }

    .timeline-item {
        grid-template-columns: 2.6rem minmax(0, 1fr);
        row-gap: .8rem;
    }

    .timeline-date {
        grid-column: 2;
        align-items: flex-start;
        padding: 0;
        text-align: left;
    }

    .timeline-marker {
        top: 5.2rem;
        left: .4rem;
    }

    .experience-card {
        grid-column: 2;
    }

    .experience-card summary {
        padding: 1.5rem 3.5rem 1.2rem 1.5rem;
        font-size: 1.5rem;
    }

    .experience-card summary::after {
        top: 1.5rem;
        right: 1.5rem;
    }

    .experience-content {
        padding: 0 1.5rem 1.5rem;
    }

    .experience-highlights li {
        font-size: 1.25rem;
    }

    .skills .section-intro {
        margin-bottom: 3rem;
        font-size: 1.4rem;
    }

    .skill-card {
        flex-basis: 8.6rem;
        width: 8.6rem;
        min-height: 8.4rem;
    }

    .skill-groups {
        gap: 2.8rem;
    }

    .certification-carousel {
        --slide-width: 76vw;
        margin-top: 3.5rem;
    }

    .certification-carousel-track {
        gap: 3rem;
    }

    .certification-image {
        height: 20rem;
    }

    .certification-preview {
        padding: 1.2rem;
    }

    .certification-preview-image {
        max-height: 76dvh;
    }

    .certification-caption {
        min-height: 10rem;
        padding: 1.3rem;
    }

    .certification-arrow {
        top: 7rem;
        width: 3.4rem;
        height: 3.4rem;
        font-size: 2.4rem;
    }

    .certification-count {
        left: 6%;
    }

    .empty-state {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 2rem;
    }

    .empty-state > div {
        flex: 1 1 calc(100% - 7rem);
    }

    .status-tag {
        margin-left: 6.5rem;
    }

    .project-visual {
        height: 23rem;
    }

}

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