﻿@font-face {
    font-family: montserrat;
    src: url('../fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: montserrat-bi;
    src: url('../fonts/Montserrat-BoldItalic.ttf');
}

@font-face {
    font-family: montserrat-sm;
    src: url('../fonts/Montserrat-SemiBold.ttf');
}

@font-face {
  font-family: 'Greatvibes';
  src: url('../fonts/GreatVibes-Regular.ttf');
  font-weight: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: montserrat;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.cta-section h2 em {
  font-family: Greatvibes;
  color: #D9A9C1;
  font-size: 60px;
}

.all-bg {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background-image: url('../img/bg.png');
    background-size: min(100vw, 1440px) auto;
    background-position: center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-color: #080304;
    z-index: 0;
}

header {
    padding: 20px;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: auto;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg main {
    padding-top: 0;
}

header.index, header.contact {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px 0;
    background: none;
    z-index: 1;
    min-height: 900px;
    height: clamp(900px, 98svh, 1120px);
}


header.index video,
header.contact video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
}

header.index::before,
header.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
}


header.index::after,
header.contact::after {
    content: none;
}


.section.hero-section {
    position: relative;
    z-index: 2;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 30px;
  z-index: 6000;
  position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.nav-box {
    max-width: 1200px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    justify-self: center;

    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-items: center;

    padding: 16px 40px;
    margin: 0 auto;
        border-radius: 50px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    gap: 50px;

    padding: 16px 24px;
    border-radius: 50px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}




.mobile-menu {
  display: none;
  justify-content: right;
  margin-top: 10px;
  position: relative;
  z-index: 6000;
}


.menu-toggle {
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 6001;
  border: none;
  background: none;
  cursor: pointer;
}


.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ffffff;
  background-color: #ffffff;
  color: #ffffff;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span,
header .menu-toggle span,
.about-sequence-bg header .menu-toggle span {
  background: #ffffff;
  background-color: #ffffff;
  color: #ffffff;
}

header.index .menu-toggle span,
header.contact .menu-toggle span,
header.index .menu-toggle.active span,
header.contact .menu-toggle.active span {
  background: #ffffff;
  background-color: #ffffff;
  color: #ffffff;
  opacity: 1;
}

header.index .menu-toggle.active span:nth-child(2),
header.contact .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}


.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}


.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

.nav-box a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 1;
}

.nav-item {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    --spin-duration: 4s;
    border: 2px solid #D9A9C1;
    box-shadow: 0 0 22px 0 #D9A9C1, 0 0 8.5px 0 rgba(217, 169, 193, 0.25);
    border-radius: 50px;
    background: rgba(8, 3, 4, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-item a:hover,
.nav-item.touch-active a {
    padding: 12px 28px;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    z-index: 5;
}

.effect-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
    padding: 2px;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
}

.effect-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #D9A9C1 20deg,
        transparent 150deg,
        #D9A9C1 210deg,
        transparent 360deg
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-item:hover .effect-layer::after,
.nav-item.touch-active .effect-layer::after {
    opacity: 1;
    animation: spin-effect var(--spin-duration) linear infinite;
}

.outer-glow {
    filter: blur(25px);
    opacity: 0.6;
}

.outer-glow::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 60deg,
        transparent 0deg,
        #D9A9C1 20deg,
        transparent 150deg,
        #D9A9C1 210deg,
        transparent 330deg
    );
}

.dark-layer {
    filter: blur(4px);
}

.dark-layer::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 80deg,
        transparent 0deg,
        #450505 30deg,
        transparent 90deg,
        #ac728f 210deg,
        transparent 270deg
    );
}

.bright-layer {
    filter: blur(1.5px);
}

.bright-layer::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 83deg,
        transparent 0deg,
        #b62c2c 20deg,
        transparent 70deg,
        #f9d0e5 200deg,
        transparent 250deg
    );
}

.primary-border {
    filter: blur(0.4px);
}

.primary-border::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 70deg,
        transparent 0deg,
        #D9A9C1 20deg,
        transparent 80deg,
        #D9A9C1 210deg,
        transparent 270deg
    );
}

.nav-item:hover .outer-glow::after,
.nav-item:hover .dark-layer::after,
.nav-item:hover .bright-layer::after,
.nav-item:hover .primary-border::after,
.nav-item.touch-active .outer-glow::after,
.nav-item.touch-active .dark-layer::after,
.nav-item.touch-active .bright-layer::after,
.nav-item.touch-active .primary-border::after {
    animation: spin-effect var(--spin-duration) linear infinite;
}

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

.nav-box a.active {
    backdrop-filter: blur(12px);
    background: rgba(8, 3, 4, 0.32);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 0 18px rgba(0,0,0,0.18);
    color: #D9A9C1;
}

.nav-box a.active:hover,
.nav-box a.active.touch-active {
    background: transparent;
}

.soft-reveal {
    --reveal-x: 0px;
    --reveal-y: 18px;
    --reveal-scale: 0.985;
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.soft-reveal-up {
    --reveal-y: 34px;
}

.soft-reveal-down {
    --reveal-y: -28px;
}

.soft-reveal-left {
    --reveal-x: -42px;
    --reveal-y: 6px;
}

.soft-reveal-right {
    --reveal-x: 42px;
    --reveal-y: 6px;
}

.soft-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    left: 0;
    top: 0;
    z-index: 9999;
    border-radius: 50%;
    pointer-events: none;
    background: #D9A9C1;
    box-shadow: 0 0 16px rgba(217,169,193,0.75);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.cursor-dot.is-visible {
    opacity: 1;
}

.content {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.title {
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.description {
    font-size: 16px;
    font-weight: normal;
    color: white;
    text-align: center;
}

.text {
    font-size: 16px;
    font-weight: normal;
    color: white;
    text-align: center;
}

.content-label {
    width: 100%;
    max-width: 100vw;
    padding: 30px 40px;
    border-radius: 50px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.scroll-logo-scene {
  position: fixed;
  top: 0;
  right: clamp(10px, 3vw, 54px);
  width: clamp(130px, 18vw, 250px);
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

.scroll-logo-line {
  position: absolute;
  inset: 4dvh 10px 4dvh auto;
  width: min(16vw, 210px);
  height: 92dvh;
  overflow: visible;
}

.scroll-logo-line path {
  fill: none;
  stroke: rgba(217, 169, 193, 0.86);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  filter: drop-shadow(0 0 9px rgba(217, 169, 193, 0.62));
}

.blur-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.6;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}

.blur-glow:nth-child(1) {
  background: #750F0F;
  left: -120px;
  top: 12vh;
}

.blur-glow:nth-child(2) {
  background: #D9A9C1;
  right: -140px;
  top: 8vh;
}

.blur-glow:nth-child(3) {
  background: #750F0F;
  right: 8vw;
  bottom: -180px;
}

.blur-glow:nth-child(4) {
  background: #D9A9C1;
  left: 12vw;
  bottom: -160px;
}

#tooltip {
  position: absolute;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  color: black;
  font-size: 14px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: 0.15s;
  z-index: 10;
}

.language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: white;
    font-family: montserrat;
    font-weight: bold;
    min-width: 76px;
    border: 1px solid rgba(217,169,193,0.72);
    border-radius: 999px;
    background: rgba(8, 3, 4, 0.38);
    box-shadow: 0 0 22px rgba(217,169,193,0.16), inset 0 0 18px rgba(0,0,0,0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, transform 0.28s ease;
    z-index: 5000;
}

.language-selector:hover,
.language-selector:has(.current-language.expanded) {
    border-color: rgba(217,169,193,0.96);
    background: rgba(8, 3, 4, 0.48);
    box-shadow: 0 0 28px rgba(217,169,193,0.24), inset 0 0 20px rgba(0,0,0,0.26);
    transform: translateY(-1px);
}

.language-selector .current-language.expanded {
    background: rgba(0,0,0,0.08);
}

.current-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: inherit;
}

.current-language p,
.language-option p {
    margin: 0;
    line-height: 1;
    letter-spacing: 0.08em;
}

#dropdown-arrow {
    color: #D9A9C1;
    font-size: 11px;
    line-height: 1;
    transform: rotate(0);
    transition: transform 0.3s ease, color 0.3s ease;
}

.language-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(217,169,193,0.48);
    border-radius: 18px;
    background: rgba(8,3,4,0.88);
    box-shadow: 0 16px 34px rgba(0,0,0,0.3), 0 0 24px rgba(217,169,193,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 5100;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 12px;
    cursor: pointer;
    color: white;
    transition: background 0.22s ease, color 0.22s ease;
}

.language-option:hover {
    background: rgba(217,169,193,0.16);
    color: #D9A9C1;
}

.language-options.hidden {
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
}

.current-language.expanded #dropdown-arrow {
    transform: rotate(180deg);
    color: white;
}


.logo img {
  max-height: 160px;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    color: white;
}

.section {
    position: relative;
    margin-bottom: 100px;
    z-index: 10;
}

.section::after,
.education::after,
.services-accordion::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -36px;
    width: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(217,169,193,0.72), rgba(217,169,193,0));
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-section h1 {
    font-size: 72px;
    line-height: 1.1;
    max-width: 700px;
    font-family: montserrat-bi;
    color: white;
    text-align: left;
}

.subtitle {
    font-size: 20px;
    margin-top: 24px;
    max-width: 500px;
    font-family: montserrat-sm;
}


.intro-section {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(260px, 420px);
    gap: 48px;
    align-items: center;
    justify-content: space-between;
}

.intro-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title {
    font-family: montserrat-bi;
    font-size: clamp(28px, 3.5vw, 54px);
    color: white;
    line-height: 1.05;
    margin: 0 0 80px;
    align-items: center;
    text-align: center;
}

.section-title em {
    font-family: Greatvibes;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(56px, 7vw, 100px);
}


.signature-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: stretch;
}

.signature-heading {
    padding: 30px;
    border-left: 2px solid #D9A9C1;
    background: rgba(255,255,255,0.035);
}

.signature-label {
    display: block;
    margin-bottom: 14px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signature-heading h2 {
    max-width: 520px;
    margin-bottom: 16px;
    color: white;
    font-family: montserrat-sm;
    font-size: 34px;
    line-height: 1.2;
}

.signature-heading p {
    max-width: 520px;
    color: white;
    line-height: 1.7;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 16px;
}

.signature-card {
    min-height: 240px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 0.75px solid rgba(217,169,193,0.85);
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    box-shadow: 0 0 10px rgba(217,169,193,0.12);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.signature-card:hover,
.signature-card.touch-active {
    background: rgba(255,255,255,0.06);
    border-color: rgba(217,169,193,0.95);
    box-shadow: 0 14px 34px rgba(0,0,0,0.18), 0 0 18px rgba(217,169,193,0.16);
    transform: translateY(-4px);
}

.signature-card span {
    display: inline-block;
    margin-bottom: 34px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: 14px;
}

.signature-card h3 {
    margin-bottom: 12px;
    color: white;
    font-family: montserrat-sm;
    font-size: 18px;
}

.signature-card p {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-top: auto;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
    justify-content: center;
}

.service {
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    min-height: 96px;
    height: 100%;
    display: grid;
    place-items: center;

    background: rgba(255,255,255,0.05);
    border: 0.75px solid #D9A9C1;
    align-content: center;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.service:hover,
.service.touch-active {
    background: rgba(255,255,255,0.075);
    border-color: rgba(217,169,193,0.95);
    box-shadow: 0 0 14px rgba(217,169,193,0.18);
    transform: translateY(-4px);
}


.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight {
    aspect-ratio: 3 / 5;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 0.75px solid #D9A9C1;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.highlight:hover,
.highlight.touch-active {
    background: rgba(255,255,255,0.075);
    border-color: rgba(217,169,193,0.95);
    box-shadow: 0 0 14px rgba(217,169,193,0.18);
    transform: translateY(-4px);
}


.cta {
    max-width: 600px;
}

.cta h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: montserrat-sm;
}

.cta p {
    margin-bottom: 20px;
}

.cta-btn{
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    --spin-duration: 4s;
    border: 2px solid #D9A9C1;
    box-shadow: 0 0 22px 0 #D9A9C1, 0 0 8.5px 0 rgba(217, 169, 193, 0.25);
    border-radius: 50%;
    padding: 12px 28px;
}


footer {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    color: white;
    position: relative;
    z-index: 10;
}

.footer-left img {
    height: 60px;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.socials img {
    width: 30px;
}

.preview {
  position: absolute;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.75);
  color: rgb(255, 255, 255);
  font-size: 14px;
  border-radius: 6px;
  pointer-events: none;
  transition: 0.15s;
  z-index: 9;
}

.grid-card {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    text-align: left;

    align-items: start;
}

.grid-card h2 {
    color: white;
    margin-bottom: 15px;
}

.left, .right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 31px;
}

ul {
    list-style: none;
    color: white;
}

ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.contact-card {
    max-width: 100vw;
    display: grid;
    align-content: center;
    justify-content: center;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 60px;
}

.contact-text {
    font-family: montserrat-bi;
    font-size: clamp(28px, 3.5vw, 54px);
    line-height: 1.05;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    margin: 0;
}

.contact-text em {
    font-family: Greatvibes;
    font-style: normal;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(56px, 7vw, 100px);
    display: block;
    line-height: 1.0;
}

.left p {
    color: white;
    line-height: 1.6;
    text-align: center;
}

.email {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.email a {
    color: white;
    text-decoration: underline;
}

.icon {
    font-size: 24px;
    color: white;
}

.image-slider {
    position: relative;

    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    justify-self: end;

    overflow: hidden;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    border: 2px solid #D9A9C1;
    box-shadow:
        0 0 22px 0 #D9A9C1,
        0 0 8.5px rgba(217,169,193,0.25);
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.slide1 {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/myself1.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide2 {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/myself2.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide4 {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/myself4.jpeg");
    background-size: cover;
    background-position: center;
}

.slide5 {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/myself5.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: white;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    width: 100%;
}

label {
    color: white;
    font-weight: bold;
}

input,
textarea,
select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding: 10px 5px;
    color: white;
    font-size: 14px;
    font-family: montserrat;
    transition: border-color 0.3s ease, background 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom: 1px solid #D9A9C1;
    background: rgba(255,255,255,0.03);
}

select:focus {
    outline: none;
    border-color: rgba(217,169,193,0.96);
    background:
        linear-gradient(45deg, transparent 50%, #D9A9C1 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
        linear-gradient(135deg, #D9A9C1 50%, transparent 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,
        rgba(8, 3, 4, 0.48);
    box-shadow: 0 0 28px rgba(217,169,193,0.24), inset 0 0 20px rgba(0,0,0,0.26);
}

select {
    appearance: none;
    cursor: pointer;
    min-height: 46px;
    padding: 12px 48px 12px 18px;
    border: 1px solid rgba(217,169,193,0.72);
    border-radius: 999px;
    background:
        linear-gradient(45deg, transparent 50%, #D9A9C1 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
        linear-gradient(135deg, #D9A9C1 50%, transparent 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,
        rgba(8, 3, 4, 0.38);
    box-shadow: 0 0 22px rgba(217,169,193,0.16), inset 0 0 18px rgba(0,0,0,0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: bold;
    letter-spacing: 0.02em;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, transform 0.28s ease;
}

select:hover {
    border-color: rgba(217,169,193,0.96);
    background:
        linear-gradient(45deg, transparent 50%, #D9A9C1 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
        linear-gradient(135deg, #D9A9C1 50%, transparent 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,
        rgba(8, 3, 4, 0.48);
    box-shadow: 0 0 28px rgba(217,169,193,0.24), inset 0 0 20px rgba(0,0,0,0.26);
    transform: translateY(-1px);
}

select option {
    color: #1b1418;
    background: #f8edf3;
}

.native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-select {
    position: relative;
    width: 100%;
    z-index: 20;
}

.form-select.is-open {
    z-index: 80;
}

.form-select-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    color: white;
    font-family: montserrat;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    border: 1px solid rgba(217,169,193,0.72);
    border-radius: 999px;
    background: rgba(8, 3, 4, 0.38);
    box-shadow: 0 0 22px rgba(217,169,193,0.16), inset 0 0 18px rgba(0,0,0,0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.form-select-current:hover,
.form-select.is-open .form-select-current {
    border-color: rgba(217,169,193,0.96);
    background: rgba(8, 3, 4, 0.48);
    box-shadow: 0 0 28px rgba(217,169,193,0.24), inset 0 0 20px rgba(0,0,0,0.26);
    transform: translateY(-1px);
}

.form-select-arrow {
    flex: 0 0 auto;
    color: #D9A9C1;
    font-size: 11px;
    line-height: 1;
    transition: transform 0.28s ease;
}

.form-select.is-open .form-select-arrow {
    transform: rotate(180deg);
}

.form-select-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid rgba(217,169,193,0.48);
    border-radius: 18px;
    background: rgba(8,3,4,0.88);
    box-shadow: 0 16px 34px rgba(0,0,0,0.3), 0 0 24px rgba(217,169,193,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.form-select.is-open .form-select-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.form-select-options button {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 12px 18px;
    color: white;
    font-family: montserrat;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease;
}

.form-select-options button:hover,
.form-select-options button.is-selected {
    color: #D9A9C1;
    background: rgba(217,169,193,0.12);
}

.form-note {
    max-width: 520px;
    margin: 6px 0 4px;
    color: rgba(255,255,255,0.72);
    font-size: var(--fs-small);
    line-height: 1.7;
}

button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    font-family: montserrat;
}

.cv h3 {
    color: white;
}

.cv p {
    color: white;
    margin: 5px 0 10px;
}

a {
    color: white;
    text-decoration: none;
}

.btn-item {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: center;

    --spin-duration: 4s;

    border: 2px solid #D9A9C1;
    box-shadow: 0 0 22px 0 #D9A9C1, 0 0 8.5px 0 rgba(217, 169, 193, 0.25);
    border-radius: 50px;
}

.glow-btn {
    position: relative;
    padding: 10px 22px;
    border-radius: 50px;

    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.glow-btn:hover,
.btn-item.touch-active .glow-btn {
    padding: 12px 28px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-item:hover .effect-layer::after,
.btn-item.touch-active .effect-layer::after {
    opacity: 1;
    animation: spin-effect var(--spin-duration) linear infinite;
}

.btn-item:hover .outer-glow::after,
.btn-item:hover .dark-layer::after,
.btn-item:hover .bright-layer::after,
.btn-item:hover .primary-border::after,
.btn-item.touch-active .outer-glow::after,
.btn-item.touch-active .dark-layer::after,
.btn-item.touch-active .bright-layer::after,
.btn-item.touch-active .primary-border::after {
    animation: spin-effect var(--spin-duration) linear infinite;
}

@media (hover: hover) and (pointer: fine) {

    .btn-item:hover .effect-layer::after {
        opacity: 1;
        animation: spin-effect var(--spin-duration) linear infinite;
    }

    .btn-item:hover .outer-glow::after,
    .btn-item:hover .dark-layer::after,
    .btn-item:hover .bright-layer::after,
    .btn-item:hover .primary-border::after {
        animation: spin-effect var(--spin-duration) linear infinite;
    }

}

.extra-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-family: montserrat;
  color: white;
  font-size: 14px;
  margin-top: 20px;
}

.mini-card.active .extra-text {
  max-height: 500px;
  opacity: 1;
  overflow: visible;
}

.extra-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.extra-text .btn-item:hover .glow-btn,
.extra-text .btn-item.touch-active .glow-btn {
    background: rgba(255,255,255,0.05);
}

.extra-text .btn-item:hover .effect-layer::after,
.extra-text .btn-item.touch-active .effect-layer::after {
    opacity: 1;
    animation: spin-effect var(--spin-duration) linear infinite;
}

.extra-text .btn-item:hover .outer-glow::after,
.extra-text .btn-item:hover .dark-layer::after,
.extra-text .btn-item:hover .bright-layer::after,
.extra-text .btn-item:hover .primary-border::after,
.extra-text .btn-item.touch-active .outer-glow::after,
.extra-text .btn-item.touch-active .dark-layer::after,
.extra-text .btn-item.touch-active .bright-layer::after,
.extra-text .btn-item.touch-active .primary-border::after {
    animation: spin-effect var(--spin-duration) linear infinite;
}

.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  justify-content: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  justify-content: center;
}

.footer-logo img {
  width: 140px;
  height: auto;
}

.footer-divider {
  display: none;
  width: 1px;
  background-color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.footer-socials img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.footer-socials a:hover img {
  opacity: 0.75;
}

.contact-socials {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.contact-socials img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.contact-socials a:hover img {
  opacity: 0.75;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left h1 {
    font-family: montserrat-bi;
    font-size: clamp(28px, 3.5vw, 54px);
    line-height: 1.05;
    color: white;
    margin: 0;
}

.about-left h1 em {
    font-family: Greatvibes;
    font-style: normal;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(56px, 7vw, 100px);
    display: block;
    line-height: 1.0;
}

.about-left .subtitle {
    font-size: 24px;
    margin: 10px 0 30px;
    font-family: montserrat-sm;
}

.about-left p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-right h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.about-right ul {
    list-style: none;
}

.about-right li {
    margin-bottom: 5px;
}

.about-sequence-bg {
    background-image: url('../img/bg.png');
}

.about-sequence-bg header {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg .footer {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg header a,
.about-sequence-bg header p,
.about-sequence-bg header span,
.about-sequence-bg .footer {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.about-sequence-bg .language-selector {
    background: rgba(8, 3, 4, 0.38);
    border-color: rgba(217, 169, 193, 0.72);
    box-shadow:
        0 0 22px rgba(217, 169, 193, 0.16),
        inset 0 0 18px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-sequence-bg .language-selector:hover,
.about-sequence-bg .language-selector:has(.current-language.expanded) {
    background: rgba(8, 3, 4, 0.48);
    border-color: rgba(217, 169, 193, 0.94);
    box-shadow:
        0 0 28px rgba(217, 169, 193, 0.24),
        inset 0 0 20px rgba(0, 0, 0, 0.26);
}

.about-sequence-bg .current-language {
    background: rgba(0, 0, 0, 0.08);
}

.about-sequence-bg .language-options {
    background: rgba(8, 3, 4, 0.88);
    border-color: rgba(217, 169, 193, 0.54);
}

.about-sequence-bg .about-container {
    max-width: none;
    padding: 0;
}

.about-sequence-bg .old-about-layout {
    display: none;
}

.about-sequence-bg [data-sequence-start][data-sequence-end] {
    --sequence-scene-opacity: 0;
    --sequence-scene-y: 34px;
    --sequence-scene-scale: 0.985;
    --sequence-scene-blur: 10px;
    opacity: var(--sequence-scene-opacity);
    pointer-events: none;
    filter: blur(var(--sequence-scene-blur));
    transform: translate3d(0, var(--sequence-scene-y), 0) scale(var(--sequence-scene-scale));
    transition: opacity 0.12s linear, filter 0.12s linear, transform 0.12s linear;
    will-change: opacity, filter, transform;
}

.about-sequence-bg .sequence-about {
    width: 100%;
    color: white;
}

.sequence-scene {
    width: min(1200px, calc(100% - 80px));
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(96px, 12vh, 150px) 0;
    position: relative;
    z-index: 10;
    display: grid;
    align-items: center;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74);
}

.sequence-copy {
    max-width: 650px;
}

.sequence-copy-left {
    justify-self: start;
}

.sequence-copy-right {
    justify-self: end;
}

.sequence-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: var(--fs-small);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sequence-copy h1,
.sequence-copy h2,
.sequence-heading h2 {
    font-family: montserrat-bi;
    line-height: 1.05;
    letter-spacing: 0;
}

.sequence-copy h1 {
    font-size: clamp(54px, 8vw, 118px);
}

.sequence-copy h2,
.sequence-heading h2 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 74px);
}

.sequence-copy p {
    max-width: 620px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.75;
}

.sequence-duo {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(40px, 8vw, 120px);
}

.sequence-detail {
    display: grid;
    gap: 18px;
    align-self: center;
}

.sequence-detail > div {
    padding: 24px;
    border-left: 2px solid rgba(217, 169, 193, 0.78);
    background: linear-gradient(90deg, rgba(8, 3, 4, 0.28), rgba(8, 3, 4, 0));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sequence-detail h3 {
    margin-bottom: 12px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: var(--fs-heading);
}

.sequence-detail ul {
    display: grid;
    gap: 6px;
}

.sequence-heading {
    margin-bottom: 34px;
}

.sequence-education-grid {
    max-width: 980px;
}

.sequence-final .btn-item {
    margin-top: 26px;
}

.about-sequence-bg .about-grid,
.about-sequence-bg .education,
.about-sequence-bg .cta {
    --sequence-scene-opacity: 0;
    --sequence-scene-y: 34px;
    --sequence-scene-scale: 0.985;
    --sequence-scene-blur: 10px;
    width: min(1200px, calc(100% - 80px));
    min-height: 100svh;
    margin: 0 auto;
    padding: clamp(96px, 12vh, 140px) 0;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
    opacity: var(--sequence-scene-opacity);
    pointer-events: none;
    filter: blur(var(--sequence-scene-blur));
    transform: translate3d(0, var(--sequence-scene-y), 0) scale(var(--sequence-scene-scale));
    transition: opacity 0.12s linear, filter 0.12s linear, transform 0.12s linear;
    will-change: opacity, filter, transform;
}

.about-sequence-bg .about-grid {
    align-items: center;
}

.about-sequence-bg .about-left {
    max-width: 690px;
    padding: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg .about-left h1 {
    color: white;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
}

.about-sequence-bg .about-left .subtitle {
    color: white;
}

.about-sequence-bg .about-right > div {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.045);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg .about-right h3,
.about-sequence-bg .education h2,
.about-sequence-bg .cta h3 {
    color: white;
}

.about-sequence-bg .about-right li::before {
    color: white;
}

.about-sequence-bg .education {
    display: grid;
    align-content: center;
}

.about-sequence-bg .education h2 {
    width: auto;
    padding: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg .edu-card {
    border-color: rgba(217, 169, 193, 0.66);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.about-sequence-bg .education::after,
.about-sequence-bg .cta::after {
    bottom: clamp(42px, 7vh, 84px);
}

.about-sequence-bg .cta {
    max-width: none;
    display: grid;
    align-content: center;
    justify-items: start;
}

.about-sequence-bg .cta > * {
    max-width: 600px;
}

.about-sequence-bg .cta h3,
.about-sequence-bg .cta p {
    padding: 0;
    border-left: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-sequence-bg .cta h3 {
    padding-top: 0;
    border-radius: 0;
}

.about-sequence-bg .cta p {
    padding-bottom: 0;
    border-radius: 0;
}

.about-sequence-bg .sequence-frame-visible {
    pointer-events: auto;
}

.about-sequence-bg .about-grid.sequence-frame-visible,
.about-sequence-bg .education.sequence-frame-visible,
.about-sequence-bg .cta.sequence-frame-visible {
    z-index: 11;
}

.image-sequence-background {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.image-sequence-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 1;
    pointer-events: none;
}

.image-sequence-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(8, 3, 4, 0.08), rgba(8, 3, 4, 0.22)),
        rgba(8, 3, 4, 0.14);
    transition: background 0.45s ease;
}

.image-sequence-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: block;
    object-fit: cover;
    opacity: 1;
    image-rendering: auto;
}

.edu-sequence-active .image-sequence-background::after {
    background:
        radial-gradient(circle at 50% 50%, rgba(8, 3, 4, 0.14), rgba(8, 3, 4, 0.32)),
        rgba(8, 3, 4, 0.2);
}

.education {
    position: relative;
    margin-top: 100px;
    margin-bottom: 100px;
}

.education h2 {
    margin-bottom: 30px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edu-card {
    position: relative;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 0.75px solid #D9A9C1;
    backdrop-filter: blur(2px);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.edu-card:hover,
.edu-card.touch-active {
    border-color: rgba(217,169,193,0.95);
    box-shadow: 0 0 14px rgba(217,169,193,0.18);
}

.edu-card .effect-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
    padding: 2px;
    z-index: 1;
}

.edu-card:hover .effect-layer::after {
    opacity: 1;
    animation: spin-effect 4s linear infinite;
}

.edu-card:hover .outer-glow::after,
.edu-card:hover .dark-layer::after,
.edu-card:hover .bright-layer::after,
.edu-card:hover .primary-border::after {
    animation: spin-effect 4s linear infinite;
}

.services-hero {
    margin-bottom: 60px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    flex-wrap: wrap;
    margin-top: clamp(28px, 5vh, 52px);
}


.services-accordion {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 100px;  
    margin-top: 100px;
}

.service-card {
    width: 100%;
    padding: 28px 36px 32px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.25);
    border: 0.75px solid #D9A9C1;
    box-shadow:
        0 0 2px 0 #D9A9C1,
        0 0 8.5px 0 rgba(217, 169, 193, 0.26);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(217,169,193,0.95);
    box-shadow:
        0 0 14px rgba(217,169,193,0.18),
        0 0 8.5px 0 rgba(217, 169, 193, 0.26);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-card-header h3 {
    font-family: montserrat-sm, sans-serif;
    font-size: clamp(18px, 2vw, 36px);
    color: white;
    line-height: 1.2;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.toggle-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.35s ease;
}

.service-card.open .toggle-btn svg {
    transform: rotate(180deg);
}


.service-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
}

.service-card.open .service-body {
    max-height: 400px;
    opacity: 1;
    margin-top: 16px;
}


.process-label {
    font-family: montserrat, sans-serif;
    font-size: clamp(13px, 1.4vw, 22px);
    color: white;
    margin-bottom: 14px;
}


.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.pill {
    font-family: montserrat, sans-serif;
    font-size: clamp(11px, 1.1vw, 18px);
    color: white;
    border: 2px solid #D9A9C1;
    border-radius: 15px;
    padding: 5px 16px;
    white-space: nowrap;
}


.service-desc {
    font-family: montserrat, sans-serif;
    font-size: clamp(13px, 1.4vw, 22px);
    color: white;
    line-height: 1.6;
}


.services-horizontal-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 125vh;
    margin: clamp(90px, 13vh, 150px) calc(50% - 50vw) clamp(100px, 14vh, 160px);
    overflow: visible;
}

.services-horizontal-stage {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.services-track {
    display: flex;
    width: max-content;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}


.service-panel {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    min-height: 100svh;
    height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.service-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    transform: scale(1.01);
    filter: saturate(1.04) contrast(1.04);
}

.service-panel--frontend .service-panel-bg {
    object-position: center 74%;
}

.service-panel--3d .service-panel-bg {
    object-position: center 70%;
}

.service-panel--branding .service-panel-bg {
    object-position: center 66%;
}

.service-panel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 72% 34%, rgba(217, 169, 193, 0.14), transparent 32%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.52)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.service-panel-content {
    position: relative;
    z-index: 3;
    width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(1vh);
}

.service-panel-kicker {
    font-family: montserrat, sans-serif;
    font-size: clamp(11px, 0.9vw, 14px);
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: clamp(14px, 2vh, 24px);
}

.service-panel-title {
    font-family: montserrat-sm, sans-serif;
    font-size: clamp(42px, 7vw, 116px);
    line-height: 0.9;
    color: white;
    margin: 0 0 clamp(30px, 5vh, 58px);
    text-shadow: 0 14px 38px rgba(0, 0, 0, 0.46);
}

.service-panel-title em {
    display: block;
    font-family: Greatvibes, cursive;
    font-size: clamp(58px, 9vw, 148px);
    line-height: 0.68;
    font-style: normal;
    font-weight: 400;
    color: #D9A9C1;
}

.service-panel .process-label {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.service-panel-process {
    justify-content: center;
    margin-bottom: clamp(18px, 3vh, 34px);
}

.service-panel .pill {
    border-width: 1px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 16px rgba(217, 169, 193, 0.08);
    backdrop-filter: blur(10px);
}

.service-panel .service-desc {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.service-panel-examples {
    width: min(960px, 100%);
    display: grid;
    gap: 14px;
    margin-top: clamp(24px, 4vh, 42px);
}

.service-panel-examples--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-panel-examples--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1100px, 100%);
}

.service-panel-examples--clients {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(1080px, 100%);
}

.service-example-card,
.service-client-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    text-align: left;
    border: 0.75px solid rgba(217, 169, 193, 0.58);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
        rgba(4, 0, 2, 0.42);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.26),
        inset 0 0 24px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.service-example-card {
    display: grid;
    grid-template-columns: minmax(88px, 0.9fr) minmax(0, 1.25fr);
    min-height: 132px;
    color: inherit;
    text-decoration: none;
}

.service-example-media {
    min-width: 0;
    min-height: 100%;
    background: rgba(255,255,255,0.04);
}

.service-example-media img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    display: block;
}

.service-example-media--logo {
    display: grid;
    place-items: center;
    padding: 18px;
}

.service-example-media--logo img {
    height: auto;
    min-height: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(217, 169, 193, 0.16));
}

.service-example-content,
.service-client-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.service-example-content span,
.service-client-card span {
    display: block;
    margin-bottom: 8px;
    font-family: montserrat, sans-serif;
    font-size: 10px;
    color: #D9A9C1;
}

.service-example-content h3,
.service-client-card h3 {
    margin: 0 0 8px;
    font-family: montserrat-sm, sans-serif;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.16;
    color: white;
    min-height: 2.32em;
}

.service-example-content p,
.service-client-card p {
    margin: 0;
    font-family: montserrat, sans-serif;
    font-size: clamp(11px, 0.86vw, 13px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 10px;
}

.service-example-content .project-link {
    display: inline-flex;
    margin-top: auto;
    font-size: 12px;
}

.service-client-card {
    min-height: 132px;
}


.services-horizontal-section ~ .portfolio-section {
    display: none;
}


.services-metro-line {
    position: absolute;
    z-index: 4;
    left: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
    right: max(var(--page-gutter), calc((100vw - var(--page-max)) / 2));
    top: clamp(96px, 13vh, 142px);
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.services-metro-progress {
    position: absolute;
    inset: 0;
    display: block;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, rgba(217, 169, 193, 0.26), rgba(128, 20, 48, 0.88));
    box-shadow: 0 0 18px rgba(217, 169, 193, 0.24);
}

.services-station {
    position: absolute;
    left: var(--station-x);
    top: 50%;
    width: 11px;
    height: 11px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    transform: translate(-50%, -50%);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.services-station.active {
    border-color: #D9A9C1;
    background: #D9A9C1;
    box-shadow:
        0 0 0 7px rgba(217, 169, 193, 0.14),
        0 0 22px rgba(128, 20, 48, 0.54);
    transform: translate(-50%, -50%) scale(1.18);
}

.portfolio-highlights,
.portfolio-section {
    position: relative;
    margin-bottom: 100px;
}

.portfolio-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.portfolio-section-header .section-title {
    margin-bottom: 0;
}

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

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

.legacy-highlight-grid .about-bio-inner,
.legacy-highlight-grid .about-skills-block {
    width: 100%;
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
}

.legacy-highlight-grid .about-bio-inner {
    align-items: center;
    gap: 0;
}

.legacy-highlight-grid .about-skills-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legacy-highlight-grid .highlight-projects {
    width: 100%;
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    justify-items: stretch;
}

.project-card,
.client-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0.75px solid rgba(217,169,193,0.78);
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    box-shadow: 0 0 12px rgba(217,169,193,0.1);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.project-card:hover,
.project-card.touch-active,
.client-card:hover,
.client-card.touch-active {
    background: rgba(255,255,255,0.065);
    border-color: rgba(217,169,193,0.96);
    box-shadow: 0 16px 34px rgba(0,0,0,0.2), 0 0 20px rgba(217,169,193,0.16);
    transform: translateY(-4px);
}

.project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 24%, rgba(255,255,255,0.14), transparent 24%),
        radial-gradient(circle at 78% 68%, rgba(217,169,193,0.16), transparent 28%),
        rgba(255,255,255,0.035);
    border-bottom: 0.75px solid rgba(217,169,193,0.32);
}

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

.project-media span {
    color: rgba(255,255,255,0.72);
    font-family: montserrat-sm;
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-content,
.client-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px;
}

.project-type {
    display: inline-block;
    margin-bottom: 14px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card h3,
.client-card h3 {
    margin-bottom: 10px;
    color: white;
    font-family: montserrat-sm;
    font-size: var(--fs-heading);
    line-height: 1.25;
    min-height: calc(var(--fs-heading) * 2.5);
}

.project-card p,
.client-card p {
    color: white;
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-card .project-link,
.client-card .project-link {
    margin-top: auto;
}

.project-link {
    display: inline-block;
    margin-top: 18px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    text-decoration: none;
    transition: color 0.22s ease, transform 0.22s ease;
}

.project-link:hover {
    color: white;
    transform: translateX(4px);
}

.project-detail-page {
    position: relative;
    padding-top: clamp(72px, 11vh, 128px);
    padding-bottom: 0;
}

.project-detail-hero {
    position: relative;
    min-height: clamp(420px, 56svh, 680px);
    max-width: 1040px;
    margin-bottom: clamp(40px, 7vh, 84px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-detail-hero::before {
    content: "";
    position: absolute;
    inset: -18% auto auto -10%;
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(217,169,193,0.18), transparent 68%);
    filter: blur(12px);
    z-index: -1;
}

.project-detail-hero h1 {
    max-width: 980px;
    margin: 14px 0 20px;
    color: white;
    font-family: montserrat-bi;
    font-size: clamp(46px, 8.4vw, 112px);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.project-detail-hero h1 em {
    color: #D9A9C1;
    font-family: Greatvibes;
    font-style: normal;
    font-size: 1.08em;
    font-weight: normal;
}

.project-detail-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.84);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.85;
}

.project-detail-gallery {
    display: grid;
    width: 100vw;
    margin: clamp(36px, 8vh, 104px) 0 0 calc(50% - 50vw);
    grid-auto-rows: min(100svh, 920px);
    grid-auto-flow: row;
    gap: clamp(48px, 10vh, 128px);
    perspective: 1200px;
}

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

.project-detail-gallery--grid:not(.project-detail-gallery--assets) {
    grid-auto-rows: auto;
}

.project-detail-gallery--single {
    grid-auto-rows: auto;
}

.project-detail-gallery--grid img:first-child {
    grid-column: auto;
    grid-row: auto;
}

.project-detail-gallery--compact img:first-child {
    grid-column: auto;
    grid-row: auto;
}

.project-detail-gallery img,
.project-detail-gallery video {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: none;
}

.project-detail-gallery--grid:not(.project-detail-gallery--assets) img,
.project-detail-gallery--single img,
.project-detail-gallery--single video {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}

.project-detail-gallery img:hover,
.project-detail-gallery video:hover {
    box-shadow: none;
    filter: none;
    transform: translateZ(0);
}

.project-detail-gallery--single img,
.project-detail-gallery--single video {
    width: 100%;
    min-height: 0;
    max-height: none;
}

.project-detail-gallery--assets img {
    padding: clamp(34px, 7vw, 110px);
    object-fit: contain;
    background: transparent;
}

.project-detail-gallery--assets img:first-child {
    object-fit: contain;
    padding: clamp(34px, 7vw, 110px);
}

.project-detail-gallery--assets:not(.project-detail-gallery--compact) img:first-child {
    object-fit: contain;
    padding: clamp(34px, 7vw, 110px);
}

.project-detail-cta {
    width: 100vw;
    min-height: clamp(420px, 64svh, 720px);
    margin-top: clamp(80px, 14vh, 180px);
    margin-left: calc(50% - 50vw);
    padding: clamp(118px, 18vh, 220px) clamp(24px, 8vw, 120px) clamp(128px, 20vh, 240px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vh, 54px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    text-shadow: none;
    position: relative;
    overflow: hidden;
}

.project-detail-cta p {
    max-width: 860px;
    color: white;
    font-family: montserrat-bi;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 1.08;
    text-wrap: balance;
}

.project-detail-cta-title {
    margin: 0;
    max-width: 980px;
}

.project-media img,
.service-example-media img,
.edu-tunnel-img img {
    image-rendering: auto;
    filter: saturate(1.06) contrast(1.05) brightness(1.02);
}

.project-card,
.service-example-card {
    box-shadow:
        0 18px 50px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.project-card h3,
.service-example-content h3 {
    text-wrap: balance;
}

.featured-project .project-media {
    aspect-ratio: 4 / 5;
}

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

.client-card span {
    display: inline-block;
    margin-bottom: 30px;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: var(--fs-small);
}

.portfolio-highlights::after,
.portfolio-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -36px;
    width: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(217,169,193,0.72), rgba(217,169,193,0));
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-highlights.section-visible::after,
.portfolio-section.section-visible::after {
    width: min(280px, 44vw);
}


@media (max-width: 900px) {
    .all-bg {
        background-size: min(100vw, 1440px) auto;
        background-position: center top;
        background-repeat: repeat;
        background-attachment: scroll;
    }

    .scroll-logo-scene {
        right: -12px;
        width: 150px;
    }

    .scroll-logo-line {
        width: 110px;
    }

    .services-accordion {
        margin-bottom: 80px;
    }

    .services-horizontal-section {
        display: none;
    }

    .services-horizontal-section ~ .portfolio-section {
        display: block;
    }

    .highlights-scroll-scene {
        display: none;
    }

    .legacy-highlight-grid,
    .about-bio-scene:has(.highlight-projects) {
        display: block;
    }

    .legacy-highlight-grid .about-bio-inner {
        width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
        margin-inline: auto;
    }

    .legacy-highlight-grid .highlight-projects {
        width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
        margin-inline: auto;
    }

    .service-panel-examples,
    .service-panel-examples--two,
    .service-panel-examples--four,
    .service-panel-examples--clients {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(210px, 68vw);
        grid-template-columns: none;
        width: min(100%, calc(100vw - 44px));
        max-width: 760px;
        margin-top: clamp(18px, 3vh, 28px);
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        padding-bottom: 8px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .service-example-card {
        grid-template-columns: minmax(88px, 0.76fr) minmax(0, 1.24fr);
        min-height: 118px;
    }

    .service-example-media img {
        min-height: 118px;
    }

    .service-client-card {
        min-height: 118px;
    }

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

@media (max-width: 768px) {
    .service-card {
        padding: 20px 22px 24px;
    }
}

@media (max-width: 640px) {
    .all-bg {
        background-size: min(100vw, 900px) auto;
        background-position: center top;
        background-repeat: repeat;
        background-attachment: scroll;
    }

    .scroll-logo-scene {
        right: -36px;
        width: 120px;
    }

    .scroll-logo-line {
        right: 4px;
        width: 86px;
    }

    .services-accordion {
        gap: 16px;
        margin-bottom: 60px;
    }

    .services-horizontal-section {
        margin-top: 56px;
    }

    .service-panel {
        min-height: 100svh;
        height: 100svh;
        border-radius: 0;
    }

    .service-panel-content {
        width: min(100%, calc(100vw - 36px));
        max-height: calc(100svh - 72px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-block: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .service-panel-title {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: clamp(18px, 3vh, 28px);
    }

    .service-panel-title em {
        font-size: clamp(48px, 15vw, 74px);
    }

    .service-panel-process {
        gap: 8px;
    }

    .service-panel .service-desc {
        max-width: min(100%, 520px);
    }

    .service-example-card {
        grid-template-columns: minmax(78px, 0.72fr) minmax(0, 1.28fr);
    }

    .service-example-media img {
        aspect-ratio: auto;
        min-height: 110px;
    }

    .service-client-card {
        min-height: 110px;
    }

    .portfolio-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .project-grid,
    .highlight-projects,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-highlights,
    .portfolio-section {
        margin-bottom: 70px;
    }
}

@media (max-width: 900px) {

    .sequence-scene {
        width: min(100% - 48px, 720px);
        min-height: auto;
        padding: 96px 0;
    }

    .sequence-duo {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sequence-copy-right {
        justify-self: start;
    }

    .sequence-detail {
        max-width: 520px;
    }

    .about-sequence-bg .about-grid,
    .about-sequence-bg .education,
    .about-sequence-bg .cta {
        width: min(100% - 48px, 720px);
        min-height: auto;
        padding: 96px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

}

@media (max-width: 640px) {

    .sequence-scene {
        width: calc(100% - 40px);
        padding: 78px 0;
    }

    .sequence-copy h1 {
        font-size: clamp(44px, 16vw, 64px);
    }

    .sequence-copy h2,
    .sequence-heading h2 {
        font-size: clamp(30px, 11vw, 44px);
    }

    .sequence-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .sequence-detail > div {
        padding: 18px 0 18px 18px;
    }

    .about-sequence-bg .about-grid,
    .about-sequence-bg .education,
    .about-sequence-bg .cta {
        width: calc(100% - 40px);
        padding: 78px 0;
    }

    .about-container {
        padding: 80px 20px;
    }

    .about-left h1 {
        font-size: 40px;
    }

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

    .cta-section {
        flex-direction: column;
        align-items: center;
    }

}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    gap: 64px;
  }

  .footer-divider {
    display: block;
    align-self: stretch;
  }

  .footer-content {
    text-align: left;
  }

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

  .footer-logo img {
    width: 180px;
  }

  .footer-content {
    font-size: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {

    .nav-item a:hover {
        padding: 12px 28px;
        background: rgba(255,255,255,0.05);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.2);
    }

    .nav-item:hover .effect-layer::after {
        opacity: 1;
        animation: spin-effect var(--spin-duration) linear infinite;
    }

    .nav-item:hover .outer-glow::after,
    .nav-item:hover .dark-layer::after,
    .nav-item:hover .bright-layer::after,
    .nav-item:hover .primary-border::after {
        animation: spin-effect var(--spin-duration) linear infinite;
    }
}

@media (max-width: 900px) {

      .main {
    padding: 100px 30px;
  }

  .hero-section h1 {
    font-size: 56px;
  }

  .subtitle {
    font-size: 18px;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-slider {
    justify-self: start;
    width: min(100%, 420px);
  }

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

  .signature-section {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    margin-bottom: 80px;
  }

    .grid-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .content-label {
        padding: 20px;
        border-radius: 25px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

      .logo img {
    width: 160px;
  }

    .nav-box a {
        font-size: 14px;
    }

    .nav-box {
        gap: 20px;
    }

    .content {
        padding: 20px 12px;
    }

    .content-label {
        border-radius: 30px;
        padding: 20px;
    }

    .blur-glow {
    width: 300px;
    height: 300px;
  }

}

@media (max-width: 640px) {

      .main {
    padding: 80px 20px;
  }

  .hero-section h1 {
    font-size: 40px;
  }

  .subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .signature-heading {
    padding: 24px 20px;
  }

  .signature-heading h2 {
    font-size: 24px;
  }

  .signature-card {
    min-height: auto;
  }

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

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

  .section {
    margin-bottom: 60px;
  }

  .cta h3 {
    font-size: 18px;
  }

  .logo img {
    width: 130px;
  }

  .mobile-menu {
    display: flex;
  }

 .nav-box {
    display: none;
  }

  .nav-box.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;

    width: 100%;
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}

@media (max-width: 480px) {

    .nav-box {
        gap: 10px;
        border-radius: 25px;
    }

    .nav-box a {
        padding: 8px 14px;
    }

    .grid-card {
        gap: 25px;
    }
}


:root {
    --page-max: 1200px;
    --page-gutter: clamp(20px, 5vw, 40px);
    --fs-display: clamp(40px, 6vw, 72px);
    --fs-title: clamp(24px, 3vw, 34px);
    --fs-heading: clamp(18px, 1.7vw, 22px);
    --fs-subtitle: clamp(16px, 1.6vw, 20px);
    --fs-body: clamp(14px, 1.2vw, 16px);
    --fs-small: clamp(12px, 1vw, 14px);
}

body {
    font-size: var(--fs-body);
    line-height: 1.6;
}


.header-top,
.nav-wrapper,
.main,
main.main,
.about-container,
.content,
.content-label,
.footer-container,
.portfolio-highlights,
.portfolio-section,
.services-accordion,
.about-bio-inner,
.about-cta-scene,
.sequence-scene,
.about-sequence-bg .about-grid,
.about-sequence-bg .education,
.about-sequence-bg .cta {
    width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.header-top,
.nav-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.main,
main.main,
.about-container {
    padding-left: 0;
    padding-right: 0;
}

.content {
    padding-left: 0;
    padding-right: 0;
}

.content-label {
    width: 100%;
}

.hero-section h1,
.about-left h1,
.services-hero h1,
.content-label .title,
.contact-card .hero-section h1 {
    font-size: var(--fs-display);
    line-height: 1.1;
}

.section-title,
.signature-heading h2,
.education h2,
.contact-text h2,
.grid-card h2 {
    font-size: var(--fs-title);
    line-height: 1.2;
}

.cta h3,
.about-right h3,
.signature-card h3,
.service-card-header h3,
.cv h3 {
    font-size: var(--fs-heading);
    line-height: 1.25;
}

.subtitle,
.about-left .subtitle {
    font-size: var(--fs-subtitle);
    line-height: 1.45;
}

p,
li,
label,
input,
textarea,
select,
button,
.description,
.text,
.signature-heading p,
.signature-card p,
.service,
.service-desc,
.process-label,
.contact-text p,
.email,
.footer-content,
.glow-btn {
    font-size: var(--fs-body);
}

.signature-label,
.signature-card span,
.pill,
.preview,
.language-selector,
.footer-content {
    font-size: var(--fs-small);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }

    html, body {
        scroll-behavior: auto;
    }

    .soft-reveal {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .scroll-logo-line path {
        stroke-dasharray: 6 12;
    }

    .image-sequence-canvas {
        opacity: 1;
    }

}




.about-logo-scene,
.about-intro-scene,
.about-bio-scene,
.about-edu-scene,
.about-cta-scene {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    color: white;
}


.about-kicker {
    display: block;
    color: #D9A9C1;
    font-family: montserrat-sm;
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}


.about-logo-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(420px, 72svh, 760px);
    padding: clamp(80px, 12vh, 160px) 0 clamp(60px, 10vh, 130px);
    text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

#logo3d-canvas {
    display: block;
    width: min(680px, 86vw);
    height: min(520px, 58svh);
    min-height: 280px;
    max-height: 560px;
    margin: 0 auto;
}

.logo-3d-placeholder {
    width: clamp(200px, 38vw, 400px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(217,169,193,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 0 60px rgba(217,169,193,0.08), 0 0 120px rgba(217,169,193,0.04);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 0 60px rgba(217,169,193,0.08), 0 0 120px rgba(217,169,193,0.04); }
    50%       { box-shadow: 0 0 90px rgba(217,169,193,0.18), 0 0 180px rgba(217,169,193,0.09); }
}

.logo-3d-inner {
    text-align: center;
    padding: 20px;
}

.logo-3d-label {
    font-family: montserrat;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(217,169,193,0.55);
}


.about-intro-scene {
    padding: clamp(180px, 26vh, 360px) clamp(24px, 6vw, 120px);
    text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

.about-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(120px, 22vh, 300px);
    max-width: 820px;
    margin: 0 auto;
}

.index-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.about-intro-inner h1,
.about-intro-inner h2,
.index-intro-inner h1,
.index-intro-inner h2 {
    font-family: montserrat-bi;
    font-size: clamp(28px, 3.5vw, 54px);
    line-height: 1.05;
    color: white;
    margin: 0;
}

.about-intro-inner h1 em,
.about-intro-inner h2 em,
.index-intro-inner h1 em,
.index-intro-inner h2 em {
    font-family: Greatvibes;
    font-style: normal;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(56px, 7vw, 100px);
    display: block;
    line-height: 1.0;
}

.about-intro-text,
.index-intro-text {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.9;
    color: rgb(255, 255, 255);
    max-width: 580px;
    margin: 0;
}


.about-bio-scene {
    padding: clamp(200px, 28vh, 400px) clamp(24px, 8vw, 120px);
    text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

.about-bio-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(160px, 22vh, 320px);
}

.about-bio-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    padding-left: 0;
}

.about-bio-text p {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.95;
    color: rgba(255,255,255,0.68);
    margin: 0;
}


.about-skills-block {
    gap: 0;
    padding-top: clamp(40px, 6vh, 72px);
}

.about-skills-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 40px;

    max-width: 800px;
    margin: 0 auto;

    padding: 0; 
}

.skills-heading {
    font-family: montserrat-bi;
    font-size: clamp(28px, 3.5vw, 54px);
    color: white;
    line-height: 1.05;
    margin: 0 0 80px;
    align-items: center;
    text-align: center;
}

.skills-heading em {
    font-family: Greatvibes;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(56px, 7vw, 100px);
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skills-list li {
    font-family: montserrat;
    font-size: clamp(13px, 1.2vw, 15px);
    color: rgb(255, 255, 255);
    padding-left: 18px;
    position: relative;
    margin: 0;
}

.skills-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #ffffff;
    opacity: 0.75;
}



.about-edu-scene {
    position: relative;
    min-height: calc(var(--edu-panels, 3) * 100vh);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.edu-sticky-stage {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    z-index: 15;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
}


.edu-tunnel-heading {
    flex: 0 0 auto;
    
    padding-top: var(--edu-heading-pt, clamp(56px, 8vh, 96px));
    padding-bottom: clamp(40px, 6vh, 72px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 2px 18px rgba(0,0,0,0.8);
    text-align: center;
    position: relative;
}

.edu-heading {
    font-family: montserrat-bi;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1.0;
    color: white;
    margin: 0;
    text-align: center;
}

.edu-heading em {
    font-family: Greatvibes;
    font-weight: normal;
    color: #D9A9C1;
    font-size: clamp(46px, 6.5vw, 76px);
    display: block;
    text-align: center;
}


.edu-track-viewport {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
    overflow: hidden;
}


.edu-track {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}


.edu-tunnel-frame {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}


.edu-tunnel-card {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            rgba(8,3,4,0.0)  0%,
            rgba(8,3,4,0.0)  40%,
            rgba(8,3,4,0.55) 75%,
            rgba(8,3,4,0.82) 100%),
        linear-gradient(90deg,
            rgba(8,3,4,0.35) 0%,
            rgba(8,3,4,0.0)  50%);
}


.edu-tunnel-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    transform: scale(calc(1.012 - (var(--frame-progress, 1) * 0.006)));
    transition: filter 0.3s ease;
    will-change: transform, opacity;
}

.edu-tunnel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: calc(0.96 - (var(--frame-progress, 1) * 0.12));
    transform: scale(calc(1.015 + (var(--frame-progress, 1) * 0.015)));
    filter: saturate(calc(1.06 - (var(--frame-progress, 1) * 0.08))) contrast(1.05);
    will-change: transform, opacity, filter;
}

.edu-tunnel-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10,7,10,0.12) 0%, rgba(10,7,10,0.08) 45%, rgba(10,7,10,0.68) 100%),
        linear-gradient(90deg, rgba(8,3,4,0.48) 0%, rgba(8,3,4,0.08) 46%, rgba(8,3,4,0.34) 100%);
}

.edu-tunnel-img.img-missing img { display: none; }
.edu-img-fallback { display: none !important; }


.edu-tunnel-info {
    position: absolute;
    left: clamp(32px, 6vw, 100px);
    bottom: clamp(60px, 10vh, 120px);
    z-index: 2;
    max-width: min(600px, 70vw);
    text-shadow: 0 2px 18px rgba(0,0,0,0.8);
    opacity: calc(1 - (var(--frame-progress, 1) * 0.7));
    transform: translate3d(calc(var(--frame-progress, 1) * 34px), calc(var(--frame-progress, 1) * 10px), 0);
    will-change: transform, opacity;
}

.edu-tunnel-info .about-kicker {
    margin-bottom: 10px;
}

.edu-tunnel-name {
    font-family: montserrat-bi;
    font-size: clamp(38px, 6.5vw, 90px);
    color: white;
    margin: 0 0 10px;
    line-height: 0.95;
}

.edu-tunnel-year {
    font-family: montserrat;
    font-size: clamp(13px, 1.3vw, 17px);
    color: rgba(255,255,255,0.72);
    margin: 0;
    letter-spacing: 0.06em;
}


.edu-track-dots {
    position: absolute;
    right: clamp(20px, 3vw, 48px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    z-index: 3;
}

.edu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(217,169,193,0.35);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.edu-dot.active {
    background: #D9A9C1;
    transform: scale(1.5);
}

.highlights-scroll-scene .edu-tunnel-heading {
    pointer-events: none;
}

.highlight-tunnel-card {
    position: absolute;
    inset: 0;
    display: block;
    color: white;
    text-decoration: none;
}

.highlight-tunnel-card .edu-tunnel-info {
    max-width: min(760px, 78vw);
}

.highlight-tunnel-card .project-type {
    margin-bottom: 12px;
}

.highlight-tunnel-card .project-link {
    color: #D9A9C1;
}

.legacy-highlight-grid,
.about-bio-scene:has(.highlight-projects) {
    display: none;
}

@media (max-width: 900px) {
    .highlights-scroll-scene {
        display: none;
    }

    .legacy-highlight-grid,
    .about-bio-scene:has(.highlight-projects) {
        display: block;
    }
}


.edu-scroll-hint {
    position: absolute;
    bottom: clamp(16px, 3vh, 28px);
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
    font-family: montserrat;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(217,169,193,0.5);
    animation: hint-pulse 2.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1;   }
}

.edu-scroll-hint.hidden {
    opacity: 0 !important;
    animation: none;
    transition: opacity 0.4s ease;
}


.about-cta-scene {
    padding: clamp(200px, 28vh, 400px) clamp(24px, 8vw, 120px);
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    text-shadow: 0 2px 18px rgba(0,0,0,0.72);
        text-align: center;
    align-items: center;
}

.cta-display {
    font-family: montserrat-bi;
    font-size: clamp(34px, 5vw, 70px);
    line-height: 1.08;
    color: white;
    margin: 0 0 80px;
    max-width: 760px;
        text-align: center;
    align-items: center;
}

.cta-display em {
    font-family: Greatvibes;
    font-weight: normal;
    color: #D9A9C1;
    text-align: center;
    align-items: center;
    font-size: clamp(58px, 7.2vw, 100px);
}

.about-cta-scene > p {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.85;
    color: rgb(255, 255, 255);
    max-width: 520px;
    margin: 0 0 80px;
}




@media (max-width: 1024px) {
    .about-bio-text {
        gap: clamp(24px, 4vw, 48px);
    }

    .about-skills-col--left {
        padding-right: clamp(24px, 4vw, 48px);
    }

    .about-skills-col--right {
        padding-left: clamp(24px, 4vw, 48px);
    }
}


@media (max-width: 768px) {

    .about-bio-text {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 0;
    }

    .about-skills-block {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .about-skills-col--left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(217,169,193,0.15);
        padding-bottom: 40px;
    }

    .about-skills-col--right {
        padding-left: 0;
        padding-top: 40px;
    }

    .edu-tunnel-frame {
        padding: 0;
    }
}


@media (max-width: 600px) {
    .about-intro-scene,
    .about-bio-scene,
    .about-cta-scene {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .about-intro-inner h1,
    .about-intro-inner h2 {
        font-size: clamp(28px, 9vw, 48px);
    }

    .about-intro-inner h1 em,
    .about-intro-inner h2 em {
        font-size: clamp(44px, 12vw, 72px);
    }

    .about-intro-text {
        font-size: 14px;
    }

    .about-bio-scene {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .skills-heading {
        font-size: clamp(24px, 7vw, 36px);
    }

    .edu-sticky-stage {
        padding: 0;
    }

    .edu-heading {
        font-size: clamp(30px, 9vw, 44px);
    }

    .edu-tunnel-heading {
        padding-top: var(--edu-heading-pt, clamp(42px, 7vh, 70px));
        padding-bottom: clamp(28px, 5vh, 48px);
    }

    .edu-track-viewport {
        min-height: 0;
        padding-bottom: 0;
    }

    .edu-tunnel-card {
        min-height: 0;
        max-height: none;
        max-width: none;
    }

    .edu-tunnel-info {
        left: 22px;
        right: 22px;
        bottom: 28px;
        max-width: none;
    }

    .edu-tunnel-name {
        font-size: clamp(20px, 7vw, 32px);
    }

    .about-skills-col {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .cta-display {
        font-size: clamp(28px, 9vw, 48px);
    }

    .about-cta-scene {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}


.header-top,
.nav-wrapper,
.main,
main.main,
.about-container,
.content,
.footer-container,
.portfolio-highlights,
.portfolio-section,
.services-accordion,
.about-bio-inner,
.about-cta-scene,
.sequence-scene,
.about-sequence-bg .about-grid,
.about-sequence-bg .education,
.about-sequence-bg .cta {
    width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.header-top,
.nav-wrapper,
.main,
main.main,
.about-container,
.content,
.about-cta-scene {
    padding-left: 0;
    padding-right: 0;
}

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

.about-skills-block {
    width: 100%;
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
}

.services-grid {
    width: 100%;
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
}

.about-skills-col {
    width: 100%;
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
}

.about-skills-block .skills-heading {
    text-align: center;
    margin-bottom: clamp(72px, 10vh, 120px);
}

.about-skills-block .services-grid {
    justify-content: center;
}

body:not(.about-sequence-bg) main .content {
    padding-top: clamp(160px, 22vh, 280px);
    padding-bottom: clamp(160px, 22vh, 280px);
}

.contact-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.contact-main {
    padding-top: clamp(200px, 28vh, 400px);
    padding-bottom: clamp(200px, 28vh, 400px);
}

.contact-card {
    gap: clamp(90px, 12vh, 150px);
}

.about-bio-scene:not(.legacy-highlight-grid):has(.about-skills-block) {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(120px, 16vh, 220px);
    padding-bottom: clamp(120px, 16vh, 220px);
}

.about-bio-scene:not(.legacy-highlight-grid):has(.about-skills-block) .about-bio-inner {
    width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
    gap: 0;
}

.about-skills-col {
    gap: clamp(18px, 3vw, 28px);
    align-items: stretch;
}

.about-skills-col .skills-list {
    min-height: 100%;
    padding: clamp(24px, 3vw, 34px);
    border: 0.75px solid rgba(217, 169, 193, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
        rgba(8, 3, 4, 0.18);
    box-shadow:
        0 0 12px rgba(217,169,193,0.10),
        inset 0 0 24px rgba(255,255,255,0.025);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-skills-col .skills-list li {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid rgba(217, 169, 193, 0.16);
    color: rgba(255,255,255,0.86);
    line-height: 1.45;
}

.about-skills-col .skills-list li:last-child {
    border-bottom: 0;
}

.about-skills-col .skills-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    top: auto;
    left: 0;
    border-radius: 50%;
    background: #D9A9C1;
    box-shadow: 0 0 12px rgba(217,169,193,0.72);
}


@media (max-width: 1024px) {
    :root {
        --page-gutter: clamp(20px, 4vw, 32px);
    }

    header.index,
    header.contact {
        min-height: 880px;
        height: clamp(880px, 96svh, 1080px);
    }

    .about-container,
    .main,
    main.main {
        padding-top: clamp(80px, 12vh, 120px);
        padding-bottom: clamp(80px, 12vh, 120px);
    }

    .about-intro-scene,
    .about-bio-scene,
    .about-cta-scene {
        padding-top: clamp(120px, 18vh, 220px);
        padding-bottom: clamp(120px, 18vh, 220px);
    }

    .signature-grid,
    .services-grid,
    .project-grid,
    .client-grid,
    .about-skills-col {
        gap: clamp(16px, 3vw, 24px);
    }
}

@media (max-width: 820px) {
    .header-top {
        align-items: center;
    }

    .nav-box {
        gap: 18px;
        padding: 14px 18px;
    }

    .nav-box a {
        font-size: 14px;
        padding: 9px 16px;
        white-space: nowrap;
    }

    .hero-section h1,
    .about-left h1,
    .services-hero h1,
    .contact-text,
    .skills-heading,
    .cta-display {
        text-align: center;
    }

    header .about-left,
    header .about-left h1,
    header .about-left .subtitle,
    header .hero-actions {
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    header .hero-actions .btn-item {
        align-self: flex-start;
    }

    .about-grid,
    .intro-section,
    .sequence-duo,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .signature-grid,
    .services-grid,
    .project-grid,
    .highlight-projects,
    .client-grid,
    .about-skills-col {
        grid-template-columns: 1fr 1fr;
    }

    .legacy-highlight-grid .highlight-projects {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .signature-grid > :last-child:nth-child(odd),
    .services-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - clamp(16px, 3vw, 24px)) / 2);
        max-width: 100%;
    }

    .contact-card {
        gap: clamp(56px, 8vh, 96px);
    }

    .contact-main {
        padding-top: clamp(140px, 20vh, 240px);
        padding-bottom: clamp(140px, 20vh, 240px);
    }

    .about-skills-block .skills-heading {
        margin-bottom: clamp(48px, 7vh, 84px);
    }
}

@media (max-width: 640px) {
    :root {
        --page-gutter: 20px;
        --fs-display: clamp(36px, 11vw, 52px);
        --fs-title: clamp(24px, 8vw, 36px);
        --fs-heading: clamp(17px, 5vw, 22px);
        --fs-body: 15px;
    }

    header.index,
    header.contact {
        min-height: 840px;
        height: clamp(840px, 98svh, 1020px);
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .header-top {
        width: min(var(--page-max), calc(100vw - 32px));
    }

    .logo img {
        width: clamp(118px, 34vw, 150px);
        height: auto;
    }

    .language-selector {
        min-width: 66px;
    }

    .current-language {
        min-height: 38px;
        padding: 7px 12px;
    }

    .mobile-menu {
        display: flex;
        width: min(var(--page-max), calc(100vw - 32px));
        margin-left: auto;
        margin-right: auto;
    }

    .nav-wrapper {
        width: min(var(--page-max), calc(100vw - 32px));
    }

    .nav-box {
        display: none;
    }

    .nav-box.active {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 12px;
        margin-top: 14px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-box.active .nav-item {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-item,
    .nav-box a {
        width: 100%;
    }

    .nav-box a {
        display: block;
        text-align: center;
    }

    .about-container,
    .main,
    main.main,
    .content {
        width: calc(100vw - 40px);
        padding-left: 0;
        padding-right: 0;
    }

    .about-intro-scene,
    .about-bio-scene,
    .about-cta-scene,
    .contact-main {
        padding-top: clamp(92px, 14vh, 150px);
        padding-bottom: clamp(92px, 14vh, 150px);
    }

    .about-intro-inner,
    .index-intro-inner,
    .about-bio-inner,
    .about-skills-block,
    .services-grid,
    .about-skills-col,
    .about-cta-scene {
        width: 100%;
        max-width: none;
    }

    .signature-grid,
    .services-grid,
    .project-grid,
    .highlight-projects,
    .client-grid,
    .about-skills-col {
        grid-template-columns: 1fr;
    }

    .legacy-highlight-grid .highlight-projects {
        width: 100%;
        transform: none;
    }

    .signature-grid > :last-child:nth-child(odd),
    .services-grid > :last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .service,
    .signature-card,
    .project-card,
    .client-card,
    .service-card,
    .about-skills-col .skills-list,
    .content-label {
        border-radius: 16px;
    }

    .project-card h3,
    .client-card h3,
    .service-example-content h3,
    .service-client-card h3 {
        min-height: 0;
    }

    .service {
        min-height: 74px;
        padding: 18px;
    }

    .about-skills-block .skills-heading {
        margin-bottom: clamp(36px, 6vh, 56px);
    }

    .about-skills-col .skills-list {
        padding: 20px;
    }

    .content-label {
        padding: 24px 20px;
    }

    .contact-card {
        gap: clamp(42px, 7vh, 72px);
    }

    form,
    input,
    textarea,
    select {
        width: 100%;
        max-width: 100%;
    }

    .email,
    .contact-socials,
    .footer-socials {
        flex-wrap: wrap;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-top: 26px;
    }

    header .hero-actions,
    header .hero-actions .btn-item {
        align-items: flex-start;
        align-self: flex-start;
        justify-content: flex-start;
    }

    .email a {
        overflow-wrap: anywhere;
    }

    .edu-tunnel-info {
        left: 20px;
        right: 20px;
        bottom: clamp(42px, 8vh, 72px);
    }

    .edu-track-dots {
        right: 14px;
    }

    .about-logo-scene {
        min-height: clamp(340px, 56svh, 520px);
        padding-top: clamp(54px, 9vh, 92px);
        padding-bottom: clamp(42px, 8vh, 80px);
    }

    #logo3d-canvas {
        width: min(100%, 430px);
        height: clamp(280px, 44svh, 380px);
        min-height: 260px;
    }
}

@media (max-width: 420px) {
    :root {
        --page-gutter: 16px;
    }

    .about-container,
    .main,
    main.main,
    .content,
    .header-top,
    .nav-wrapper,
    .mobile-menu {
        width: calc(100vw - 32px);
    }

    .hero-section h1,
    .about-left h1,
    .services-hero h1,
    .skills-heading,
    .contact-text,
    .cta-display {
        overflow-wrap: anywhere;
    }

    .about-skills-col .skills-list li {
        padding-left: 20px;
    }

    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    #logo3d-canvas {
        height: clamp(240px, 42svh, 330px);
        min-height: 230px;
    }
}

@media (max-width: 900px) {
    .legacy-highlight-grid {
        width: min(var(--page-max), calc(100vw - (var(--page-gutter) * 2)));
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .legacy-highlight-grid .about-bio-inner,
    .legacy-highlight-grid .about-skills-block {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .legacy-highlight-grid .highlight-projects {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .legacy-highlight-grid .highlight-projects {
        width: 100%;
        transform: none;
        grid-template-columns: 1fr;
    }
}


header.index,
header.contact {
    padding-left: 20px;
    padding-right: 20px;
}

.header-top {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(24px, 3vw, 52px);
    padding-right: clamp(24px, 3vw, 52px);
}

@media (max-width: 820px) {
    .project-detail-gallery--grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .project-detail-gallery--grid img:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .project-detail-gallery img,
    .project-detail-gallery video {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }

    .project-detail-gallery--assets img {
        height: 100%;
        min-height: 78svh;
        aspect-ratio: auto;
    }

    .project-detail-cta {
        align-items: center;
        flex-direction: column;
        min-height: 58svh;
        padding-top: clamp(76px, 12vh, 120px);
        padding-bottom: clamp(76px, 12vh, 120px);
    }

    .header-top {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 420px) {
    .header-top {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}
