/* -------------------- Inline Styles -------------------- */

:root {
    --light: #F9F6F2;
    --dark: #333333;
    --purple: #AE8BEF;
    --dark-purple: #744BAA;
    --blue: #91C4F2;
    --yellow: #BFFF47;
    --red: #E4572E;
    --heading: 'Geomanist', sans-serif;
    --paragraph: 'DM Sans', sans-serif;
    --button: 'Geomanist', sans-serif;
    --accent: 'TequilaAndTacos', serif;
}

/* Webfont: Tequila & Tacos */

@font-face {
    font-family: 'TequilaAndTacos';
    src: url('/assets/fonts/tequila-and-tacos.woff') format('woff'), /* Modern Browsers */
         url('/assets/fonts/tequila-and-tacos.woff2') format('woff2'), /* Modern Browsers */
         url('/assets/fonts/tequila-and-tacos.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Geomanist */

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-light-webfont.eot');
    src: url('/assets/fonts/geomanist-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-light-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-light-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-light-webfont.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-light-italic-webfont.eot');
    src: url('/assets/fonts/geomanist-light-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-light-italic-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-light-italic-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-light-italic-webfont.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-book-webfont.eot');
    src: url('/assets/fonts/geomanist-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-book-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-book-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-book-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-regular-italic-webfont.eot');
    src: url('/assets/fonts/geomanist-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-regular-italic-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-regular-italic-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-regular-italic-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-medium-webfont.eot');
    src: url('/assets/fonts/geomanist-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-medium-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-medium-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-medium-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-medium-italic-webfont.eot');
    src: url('/assets/fonts/geomanist-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-medium-italic-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-medium-italic-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-medium-italic-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-bold-webfont.eot');
    src: url('/assets/fonts/geomanist-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-bold-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-bold-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-bold-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist';
    src: url('/assets/fonts/geomanist-bold-italic-webfont.eot');
    src: url('/assets/fonts/geomanist-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/assets/fonts/geomanist-bold-italic-webfont.woff2') format('woff2'),
         url('/assets/fonts/geomanist-bold-italic-webfont.woff') format('woff'),
         url('/assets/fonts/geomanist-bold-italic-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* -------------------- Reset & Global Styles -------------------- */

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

[class*=grid] {
    margin: 0;
}

[class*="col-"] {
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--paragraph); 
    font-weight: 300;
    font-size: 1.07rem;
    line-height: 130%;
    background-color: var(--neutral);
    color: var(--dark);
}

section { padding: 7% 3.5%; }
.section-padding { padding: 7% 3.5%; }
.section-padding-l-r { padding: 0 3.5%; }

nobr, .nobr { white-space: nowrap; } 

/* -------------------- Cookie Banner Styles -------------------- */

.cookie-notice {
    display: block; 
    padding-bottom: 1rem; 
    margin-bottom: 0;
}

#cookie-notice {
    padding: 2rem;
    display: none;
    text-align: center;
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    width: 23%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background: var(--light);
    color: var(--dark);
    font-size: 0.9rem;
    border-radius: 12px;
    z-index: 30 !important;
    transform: translateX(-100%); /* Initially off-screen to the left */
    animation: slideIn 0.7s ease forwards; /* Animation duration, easing, and forwards to keep the final state */
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

#cookie-notice a {
    display: inline-block;
    cursor: pointer;
    margin: 0.5rem;
    margin-bottom: 0;
    border-bottom: 1px solid;
    font-weight: 500;
    font-size: 0.8rem;
}

a#cookie-notice-accept {
  text-transform: uppercase;
  border-bottom: 1px solid;
}

a#cookie-notice-info {
    text-transform: uppercase;
}

#close-cookie-banner {
  margin: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 30%;
}

/* -------------------- Header Styles -------------------- */

header {
    position: static;
    top: 0;
    width: 100%;
    padding: 3% 3.5% 1% 3.5%;
    z-index: 1003;
    background-color: var(--light);
}

header.project-header {
    background-color: transparent;
}


.header-logo {
    max-width: 40%;
}

header nav a {
    text-transform: uppercase;
}

.lang-nav {
    z-index: 10;
    cursor: pointer;
}

.left-lang-nav {
    margin-right: 0;
}

.right-lang-nav {
    margin: 0;
}

header nav a.active span {
    position: relative;
    z-index: 1;
}

header nav a.active span::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: url('/assets/handdrawn-circle.svg');
  background-size: contain; /* ✅ This prevents cropping */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.lang-nav div { display: inline-block;}

/* -------------------- Language Switcher -------------------- */


/* -------------------- Mobile Menu Styles -------------------- */

#bg-menu-mobile {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    will-change: transform;
    z-index: 1001;
    background-color: var(--light-brown);
}

ul.hidden {
    display: none !important;
}

ul#mob-nav {
    width: 100%;
    position: fixed;
    top: 80px;
    left:0; 
    list-style: none;
    z-index: 1002;
    text-align: center;
    padding-left: 0;
}

ul#mob-nav li {
    position: relative;
    left: 100%;
    color: var(--dark);
    font-family: var(--heading);
    font-size: 1.3rem;
    line-height: 250%;
    will-change: transform;
}

ul#mob-nav li.lang-switcher {
    font-size: 0.8rem;
    font-family: var(--paragraph);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 7%;
    color: var(--dark-brown);
}

.lang-1 { margin-right: 2%;}
.lang-2 { margin-left: 2%;}

ul#mob-nav li::before {
    content: '';
}

/* burger animation */

#hamburger {
    width: 20px;
    height: 29px;
    position: absolute;
    right: 20px;
    background-color: transparent;
    top: 13px;
}

#hamburger span {
  z-index: 3;
  display: block;
  position: absolute;
  height: 1.2px;
  width: 100%;
  background: var(--light);
  border-radius: 5px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#hamburger.dark span {
  background: var(--dark);
}

#hamburger span:nth-child(1) {
  top: 8px;
}

#hamburger span:nth-child(2) {
  top: 14px;
}

#hamburger span:nth-child(3) {
  top: 20px;
}

#hamburger.open span:nth-child(1) {
  top: 11px;
  height: 1.2px;
  transform: rotate(135deg);
  background-color: var(--dark);
}

#hamburger.open span:nth-child(2) {
  opacity: 0;
  left: -30px;
  height: 1.2px;
  transition: .16s ease-in-out;
}

#hamburger.open span:nth-child(3) {
  top: 11px;
  height: 1.2px;
  transform: rotate(-135deg);
  background-color: var(--dark);
}

/* -------------------- Footer Styles -------------------- */

footer {
    padding: 5% 7%;
}

.footer-logo {
    display: block;
    max-width: 15%;
}

footer nav a, footer nav span {
    display: block;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--light);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

footer nav a:hover {
    color: var(--dark);
}

footer nav.dark a:hover {
    color: var(--yellow);
}

footer nav a:last-of-type {
    margin-bottom: 0;
}

footer nav a.social {
    display: inline-block;
    color: var(--dark);
    font-size: 1.7rem;
    margin-left: 0.5rem;
    padding: 0 0.5rem;
    margin-bottom: 0;
}

footer nav a.social:last-of-type {
    padding-right: 0;
}

footer nav a.social:hover {
    color: var(--light);
}

footer .bg-dark nav a.social {
    color: var(--light);
}

footer .bg-dark nav a.social:hover {
    color: var(--yellow);
}

#social-links a {
    font-size: 1.5rem;
    padding: 0 0.3rem;
    margin: 0 1rem;
}

.copyright {
    font-size: 0.95rem;
    line-height: 1.2rem;
    margin-top: 0.5rem;
}

.footer-star {
    max-width: 3.2rem;
    position: absolute;
    bottom: 8%;
    left: 2%;
}

.footer-email i {
    margin-right: 0.3rem;
    transition: transform 0.3s ease-in-out;
}

.footer-email:hover i {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

/* -------------------- Typography Styles -------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading);
    font-weight: 400;
    line-height: 105%;
}

h1 {
    font-size: 4.5rem;
    line-height: 85%;
    text-transform: uppercase;
}

h1.xl { font-size: 4rem;}

h1.sm { font-size: 3rem; line-height: 100%;}

h2 {
    font-size: 4.5rem;
    line-height: 95%;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    font-weight: 500;
}

h2.accent {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--yellow);
    line-height: 90%;
}

h2.handwriting {
    font-family: var(--accent);
    font-size: 3.2rem;
}

h2.handwriting.sm {
    font-family: var(--accent);
    font-size: 2rem;
    line-height: 80%;
}

h2.faq {
    color: var(--purple);
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 4rem;
}

h2.faq span.handwriting {
    font-size: 3.5rem;
}

h3 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3.handwriting {
    font-family: var(--accent);
    font-size: 2.7rem;
    letter-spacing: 0.05rem;
}

h3.handwriting span {
    font-size: 1.5rem;
    letter-spacing: 0;
    margin-right: 0.5rem;
}

h3.footer {
    text-transform: uppercase;
    font-size: 2.7rem;
}

h4 {
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

strong, .strong { font-weight: 500;}

.handwriting {
    font-family: var(--accent);
}

.handwriting.lg {
    font-size: 1.8rem;
    margin-top: 2rem;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

p.title {
    font-family: var(--heading);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    margin-bottom: 2rem;
}

p a, dd a {
    border-bottom: 1px solid;
}

p a:hover, dd a:hover {
    color: var(--dark-brown);
}

.uppercase {
    text-transform: uppercase;
}

ul, ol {
    padding-left: 1rem;
    margin-left: 0;
}

li {
    margin-bottom: 0.5rem;
}

/* -------------------- Button Styles -------------------- */

[class*=button] {
    display: inline-block;
    cursor: pointer;
    font-family: var(--button);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.03rem;
    font-weight: 500;
    line-height: 0;
    text-align: center;
    padding: 1.2rem 1.5rem;
    border-radius: 50px;
}

[class*=button]:last-of-type {
    margin-right: 0;
}

@keyframes arrow-wiggle {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(3px);
    }
}

@keyframes arrow-wiggle-down {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(2px);
    }
}

.button-purple {
    background-color: var(--purple);
    color: white;
    transition: 0.3s ease-in-out;
}

.button-purple:hover {
    background-color: var(--yellow);
    color: var(--dark);
}

.button-accent {
    background-color: var(--yellow);
    color: var(--dark);
}

.button-accent::after {
    content: "\f063";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.button-accent:hover::after {
    animation: arrow-wiggle-down 0.3s ease-in-out infinite alternate;
}

.button-accent-2 {
    background-color: var(--yellow);
    color: var(--dark);
}

.button-accent-2::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.button-accent-2:hover::after {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

.button-subtle {
    border: 1px solid var(--dark);
}

.button-subtle:hover {
    color: var(--light);
    background-color: var(--dark);
}

.button-subtle::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.button-subtle:hover::after {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

.button-subtle-light {
    border: 1px solid var(--light);
    color: var(--light);
    transition: 0.3s ease-in-out;
}

.button-subtle-light:hover {
    background-color: var(--light);
    color: var(--dark);
}

.button-text {
    padding: 0;
    border-radius: 0px;
    font-size: 1.3rem;
}

.button-text::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.button-light {
    border: 1px solid var(--light);
    background-color: var(--light);
    color: var(--dark);
}

.button-light:hover {
    border: 1px solid var(--yellow);
    background-color: var(--yellow);
}

.button-light::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.button-light:hover::after {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

/* -------------------- Images, Background Images & Videos -------------------- */

.bg-image {
    background-color: var(--light-brown);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-image.border-radius {
    border-radius: 20px;
}

.bg-image.border-radius-sm {
    border-radius: 15px;
}

.bg-image.top {
    background-color: var(--light-brown);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.bg-image.bottom {
    background-color: var(--light-brown);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.bg-image.overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust the opacity and color as needed */
}

.bg-image.light-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Adjust the opacity and color as needed */
}

.bg-image.dark-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity and color as needed */
}

.square {
    padding-bottom: 50%;
    padding-top: 50%;
    border-radius: 10px;
}

.fake-square {
    padding-bottom: 51%;
    padding-top: 51%;
}

.landscape {
    padding-bottom: 30%;
    padding-top: 30%;
}

.landscape-xs {
    padding-bottom: 18%;
    padding-top: 18%;
}

.landscape-sm {
    padding-bottom: 22%;
    padding-top: 22%;
}

.landscape-md {
    padding-bottom: 35%;
    padding-top: 35%;
}

.landscape-lg {
    padding-bottom: 39.5%;
    padding-top: 39.5%;
}

.portrait {
    padding-bottom: 60%;
    padding-top: 60%;
}

.portrait-md {
    padding-bottom: 67%;
    padding-top: 67%;
}

.portrait-lg {
    padding-bottom: 80%;
    padding-top: 80%;
}

.portrait-xl {
    padding-bottom: 96%;
    padding-top: 96%;
}

/* -------------------- Utility Classes -------------------- */

.tall-20 { min-height: 20vh; }
.tall-30 { min-height: 30vh; }
.tall-40 { min-height: 40vh; }
.tall-50 { min-height: 50vh; }
.tall-60 { min-height: 60vh; }
.tall-70 { min-height: 70vh; }
.tall-80 { min-height: 80vh; }
.tall-85 { min-height: 85vh; }
.tall-90 { min-height: 90vh; }
.tall-95 { min-height: 95vh; }
.tall-100 { min-height: 100vh; }

.padded    { padding: 5%; }
.padded-05  { padding: 0.5%; }
.padded-1  { padding: 1%; }
.padded-2  { padding: 2%; }
.padded-3  { padding: 3%; }
.padded-7  { padding: 7%; }
.padded-10 { padding: 10%; }
.padded-15 { padding: 15%; }
.padded-20 { padding: 20%; }

.padded-t  { padding-top: 5%; }
.padded-b  { padding-bottom: 5%; }
.padded-l  { padding-left: 5%; }
.padded-r  { padding-right: 5%; }
.padded-t-10  { padding-top: 10%; }
.padded-b-10  { padding-bottom: 10%; }
.padded-l-10  { padding-left: 10%; }
.padded-r-10  { padding-right: 10%; }
.padded-l-13  { padding-left: 13%; }
.padded-r-13  { padding-right: 13%; }
.padded-t-1  { padding-top: 1%; }
.padded-l-2  { padding-left: 2%; }
.padded-r-2  { padding-right: 2%; }
.padded-t-2  { padding-top: 2%; }
.padded-b-2  { padding-bottom: 2%; }
.padded-t-3  { padding-top: 3%; }
.padded-b-3  { padding-bottom: 3%; }
.padded-r-3  { padding-right: 3%; }
.padded-l-3  { padding-left: 3%; }
.padded-b-7  { padding-bottom: 7%; }
.padded-r-7  { padding-right: 7%; }
.padded-l-7  { padding-left: 7%; }
.padded-t-15  { padding-top: 15%; }
.padded-b-15  { padding-bottom: 15%; }
.padded-l-15  { padding-left: 15%; }
.padded-r-15  { padding-right: 15%; }

.padded-0 { padding: 0; }
.padded-t-0 { padding-top: 0; }
.padded-b-0 { padding-bottom: 0; }
.padded-l-0 { padding-left: 0; }
.padded-r-0 { padding-right: 0;} 

.margin { margin: 5% }
.margin-1 { margin: 1% }
.margin-2 { margin: 2% }
.margin-3 { margin: 3% }
.margin-10 { margin: 10% }
.margin-t { margin-top: 5%; }
.margin-b { margin-bottom: 5%; }
.margin-l  { margin-left: 5%;   }
.margin-r  { margin-right: 5%;  }
.margin-t-neg { margin-top: -5%; }
.margin-b-neg { margin-bottom: -5%; }
.margin-l-neg { margin-left: -5%; }
.margin-r-neg { margin-right: -5%; }
.margin-b-10 { margin-bottom: 10%; }
.margin-t-10 { margin-top: 10%; }
.margin-r-10  { margin-right: 10%;  }
.margin-b-1 { margin-bottom: 1%; }
.margin-t-1 { margin-top: 1%; }
.margin-t-2 { margin-top: 2%; }
.margin-b-2 { margin-bottom: 2%; }
.margin-l-2 { margin-left: 2%; }
.margin-r-2 { margin-right: 2%; }
.margin-t-3 { margin-top: 3%; }
.margin-b-3 { margin-bottom: 3%; }
.margin-t-7 { margin-top: 7%; }
.margin-t-15 { margin-top: 15%; }
.margin-b-15 { margin-bottom: 15%; }
.margin-t-20 { margin-top: 20%; }

.margin-t-0 { margin-top: 0; }
.margin-b-0 { margin-bottom: 0; }
.margin-l-0 { margin-bottom: 0; }
.margin-r-0 { margin-right: 0; }

.left   { text-align: left; }
.center { text-align: center; }
.right  { text-align: right; }

.white-text { color: white; }
.light-text { color: var(--light); }
.dark-text  { color: var(--dark); }
.purple-text  { color: var(--purple); }
.yellow-text  { color: var(--yellow); }

.bg-light  { background-color: var(--light);}
.bg-dark  { background-color: var(--dark); color: var(--light);}
.bg-dark.radius  { background-color: var(--dark); color: var(--light); border-radius: 15px;}
.bg-purple  { background-color: var(--purple);}
.bg-blue  { background-color: var(--blue);}

.flex-flip-sm { flex-direction: column-reverse; }

.center-content {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.sup-content {
    display: flex;
    flex-direction: column; /* Stack the logo and button vertically */
    align-items: center; /* Center both elements horizontally */
}

[class*="col-4"].bottom { align-self: flex-end; }

.border { border: 1px solid var(--dark); border-radius: 15px ;}
.border-light { border: 1px solid var(--light); border-radius: 10px; }
.border-t-b { border-top: 1px solid var(--dark); border-bottom: 1px solid var(--dark); }
.border-t { border-top: 1px solid var(--dark); }
.border-b { border-bottom: 1px solid var(--dark); }

/* -------------------- Positioning Utility Classes -------------------- */

.parent {
    position: relative;
    overflow: hidden;
}

.parent-overflow { 
    position: relative;
}

.no-scroll {
    overflow: hidden;
}

.hidden {
    display: none;
}

/* -------------------- Ticker Banner Styles -------------------- */

.tickerBanner {
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    text-align: center;
}

.tickerBanner span {
    display: inline-block;
    padding: 1% 1.5% 0.7% 1.5%;
    flex-shrink: 0;
    position: relative;
    width: initial;
    font-size: max(5vw, 5rem);
    font-family: var(--heading);
    font-weight: 500;
    text-transform: uppercase;
    text-align: left;
    line-height: 100%;
    letter-spacing: -0.05rem;
}

.tickerBanner span.active {
    animation: ticker 10s infinite linear;
    animation-duration: var(--bannerBlockTime), 10s;
}

@keyframes ticker {
    from {right:0}
    to   {right:var(--bannerBlockLength)}
}

/* -------------------- HOMEPAGE Styles -------------------- */

.curved {
    height: 900px;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.curved:before {
    content: "";
    width: 150vw;
    height: 230%;
    position: absolute;
    background-color: var(--purple);
    border-radius: 50%;
    left: -25vw;
    top: 50px
}

p.intro { 
    margin-top: 10%;
    padding: 0 10%;
    font-size: 1.3rem; 
    line-height: 130%;
}

.hero-star {
    max-width: 5%;
    position: relative;
    transform: translate(-50%, -50%);
    bottom: -12%;
}

.services:hover .bg-image:hover {
    cursor: pointer;
    filter: none;
}

.services:hover .button-text::after {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

ul.quiz {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

ul.quiz li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

ul.quiz input[type="checkbox"] {
    display: none;
}

/* Custom checkbox (unchecked state) */
ul.quiz label {
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    display: inline-block;
}

ul.quiz label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background: url('/assets/unchecked.png') no-repeat center center;
    background-size: contain;
}

ul.quiz label:hover::before {
    background: url('/assets/checked.png') no-repeat center center;
    background-size: contain;
}

/* Custom checkbox (checked state) */
ul.quiz input[type="checkbox"]:checked + label::before {
    background: url('/assets/checked.png') no-repeat center center;
    background-size: contain;
}

/* Initially hide the CTA */
.quiz-button {
    opacity: 0;
    pointer-events: none; /* Prevent clicking the button when hidden */
    transition: opacity 0.3s ease-in-out;
}

.project-card {
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-50px);
}

.project-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
    font-size: 0.95rem;
}

.project-card:hover + .project-cta {
    opacity: 1;
}

div.project-cta-button {
    position: absolute;
    right: 0;
    bottom: 0;
    border: 1px solid;
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.project-cta-button img {
    min-width: 18px;
    transform: rotate(-45deg);
    transition: 0.1s ease-in-out;
}

/* -------------------- ABOUT Styles -------------------- */

.cv-name {
    font-size: clamp(2.6rem, 10.7vw, 14rem);
    line-height: 0.9;
    white-space: nowrap;
    margin-left: -0.05em;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.1rem;
    width: 100%;
    white-space: nowrap;
}

img.about-portrait {
    max-width: 50%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 72%;
    transform: translate(-50%, -50%);
}

.about-right {
    position: absolute;
    right: 3.5%;
    bottom: 5%;
}

.about-left {
    position: absolute;
    left: 3.5%;
    bottom: 5%;
    font-size: 1.3rem;
    width: 300px;
}

.about-left .adj {
    display: flex;
    justify-content: left;
    align-content: center;
    align-items: center;
    margin-bottom: 0.7rem;
}

.about-left .adj:last-of-type {
    margin-bottom: 0;
}

.about-left .adj::before {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background-image: url('/assets/star-dark.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5%;
    animation: rotation 30s infinite linear;
}

.adj-switch {
    border: 1px solid;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 2% 5%;
    cursor: pointer;
}

.adj-switch:hover { background-color: var(--blue); }

.adj-switch::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
    margin-left: 0.4rem;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.adj-switch:hover::after {
    animation: arrow-wiggle 0.4s ease-in-out infinite alternate;
}

#story {
    min-height: 800px;
}

.story-img-1 {
    position: absolute;
    max-width: 200px;
    top: 0;
    left: -20%;
}

.story-img-2 {
    position: absolute;
    max-width: 200px;
    top: 30%;
    right: -15%;
}

.story-img-3 {
    position: absolute;
    max-width: 220px;
    bottom: -60%;
    left: 30%;
}

.at-work-card {
    position: relative;
    color: var(--light);
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.at-work-card:hover {
    box-shadow: 2px 2px 10px rgba(60, 60, 62, 0.4);
}

.at-work-card:hover::after {
    opacity: 1;
}

.at-work-content {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    text-align: center;
    padding: 0 7%;
    transition: opacity 0.3s ease-in-out;
}

.at-work-card:hover .at-work-content {
    opacity: 1;
    z-index: 2;
}

.at-work-title {
    font-family: var(--paragraph);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* -------------------- PORTFOLIO STYLES -------------------- */

.contact-cta:hover { color: var(--blue)}

.hero-viewport {
  position: relative;
  overflow-x: hidden;
  width: 100vw;
}

.persona-wrapper{
  position:relative;
  height:650px;
}

.persona-carousel{
  position: absolute;
  bottom: 0;
  height:100%;
  width:100%;
  cursor:pointer;
}

.persona{
  position:absolute;
  bottom:0;
  max-height:580px;
  transition: transform 0.7s cubic-bezier(.65,.05,.36,1), 
  left 0.7s cubic-bezier(.65,.05,.36,1),
  opacity 0.5s;
  transform-origin:bottom center;
}

/* centre */

.persona--center{
  left:50%;
  transform:translateX(-50%) scale(1.05);
  z-index:5;
}

/* proches */

.persona--left{
  left:22%;
  transform:translateX(-50%) scale(0.6);
  z-index:4;
}

.persona--right{
  left:78%;
  transform:translateX(-50%) scale(0.6);
  z-index:4;
}

/* éloignés */

.persona--far-left{
  left:-2%;
  transform:translateX(-50%) scale(0.6);
}

.persona--far-right{
  left:102%;
  transform:translateX(-50%) scale(0.6);
}

.persona--exit-left{
  left:-20%;
  opacity:0;
}

.persona-clone{
  pointer-events:none;
}

.persona--pre-enter-left{
  left: -20%;      /* hors écran à gauche */
  transform: translateX(-50%) scale(0.6);
}

.persona--pre-enter-right{
  left: 120%;      /* hors écran à droite */
  transform: translateX(-50%) scale(0.6);
}

.cv-title {
    position: relative;
    top: 23%;
    font-size: clamp(4rem, 6vw, 5rem);
    line-height: 0.9;
    white-space: nowrap;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px black;
}

.title-mask{
  display:inline-block;
  overflow:hidden;
  height:1em;
  vertical-align:bottom;
}

.title-line{
  display:inline-block;
  transform:translateY(0%);
  transition:transform 0.6s cubic-bezier(.65,.05,.36,1);
}

.title-line.animating{
  transform:translateY(-110%);
}

#title-left-wrapper {
  display:inline;
}

#title-right-wrapper {
  display:inline;
}

#title-left {
  position: absolute;
  right: 54%;
}

#title-right {
  position: absolute;
  left: 54%;
}

/* --- Project Navigation Buttons --- */

.nav-portfolio {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sq-purple-button {
    font-weight: 400;
    text-transform: lowercase;
    padding: 1.45rem 1.4rem;
    border-radius: 10px;
    background-color: var(--purple);
    color: var(--dark);
    transition: 0.3s ease-in-out;
}

.sq-blue-button {
    font-weight: 400;
    text-transform: lowercase;
    padding: 1.45rem 1.4rem;
    border-radius: 10px;
    background-color: var(--blue);
    color: var(--dark);
    transition: 0.3s ease-in-out;
}

.sq-yellow-button {
    font-weight: 400;
    text-transform: lowercase;
    padding: 1.45rem 1.4rem;
    border-radius: 10px;
    background-color: var(--yellow);
    color: var(--dark);
    transition: 0.3s ease-in-out;
}

.sq-red-button {
    font-weight: 400;
    text-transform: lowercase;
    padding: 1.45rem 1.4rem;
    border-radius: 10px;
    background-color: var(--red);
    color: var(--dark);
    transition: 0.3s ease-in-out;
}

.sq-purple-button:hover,
.sq-blue-button:hover {
    transform: rotate(3deg);
}

.sq-red-button:hover,
.sq-yellow-button:hover {
    transform: rotate(-3deg);
}

/* --- H2 Titles --- */

.reveal-title .title-part {
  display: inline-block;
  transform: translateX(90px);
  opacity: 0;
  filter: blur(3px);
}

.reveal-offset .title-part:first-child {
  position: absolute;
  left: 5%;
}

.mobile.title-part { display: none;}

.blur-title {
  filter: blur(3px);
  transition: filter 0.7s ease;
}

.blur-title.aos-animate {
  filter: blur(0);
}

/* --- Web portfolio stack --- */

.image-stack {
    position: relative;
    width: 100%;
    height: 400px; /* adjust as needed */
}

.image-stack img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;

    transition: transform 0.6s cubic-bezier(.65,.05,.36,1),
                z-index 0s 0.3s;

    border-radius: 10px;
    will-change: transform;
    backface-visibility: hidden;
}

/* positions EXACTES conservées */
.img1 { transform: translate(0, 20px) rotate(0); z-index: 3; }
.img2 { transform: translate(30px, -20px) rotate(4deg); z-index: 2; }
.img3 { transform: translate(-30px, -15px) rotate(-5deg); z-index: 1; }

.image-controls {
    margin-top: 20px;
}

.image-controls button {
    padding: 0.1rem 1.2rem;
    margin-right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border: 1px solid;
    background-color: transparent;
    border-radius: 50px;
    color: inherit;
}

.image-controls button:hover {
    background-color: var(--light);
    color: var(--dark);
}

/* --- Event Accordion --- */

#event { align-items: start; }

.title {
    cursor: pointer;
    font-weight: 500;
}

.description {
    padding-top: 0.7rem;
}

.accordion-container { cursor: pointer;}

.accordion dt::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    color: var(--dark);
    position: absolute;
    top: 0;
    right: 5%;
    display: block;
    width: 1rem;
    height: 1rem;
    line-height: 1.5;
    text-align: center;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.accordion-container:hover .accordion dt:not(.open)::after { 
    animation: bounceArrow 0.6s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.accordion dt.open::after {
    top: 0.6rem;
    transform:rotate(-180deg);
}

.accordion dd ul {
  list-style: none;
  margin: 0;
  padding-left: 30px; /* espace pour le "bullet" */
  position: relative;  /* pour positionner l'image par rapport au UL */
}

.accordion dd ul::before {
  content: "";
  position: absolute;
  top: 1px; /* aligne le haut du bullet avec le haut du UL */
  left: 0;
  width: 20px;  /* largeur de l'image */
  height: 20px; /* hauteur de l'image */
  background-image: url('/assets/star-accent.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Floating Testimonials --- */

.review-title {
    position: absolute;
    transform: translate(-50%, 0);
    top: -11%;
    left: 50%;
    width: 90vw;
}

[class*=reco-box-] {
    position: absolute;
    width: 30%;
    font-size: 1.07rem;
    line-height: 130%;
}

[class*=reco-box-] div {
    background-color: var(--light);
}

.reco-box-1 {
    z-index: 1;
    transform: rotate(-7deg);
    top: 4%;
    left: 2%;
}

.reco-box-2 {
    z-index: 2;
    top: 5%;
    left: 35%;
}

.reco-box-3 {
    z-index: 3;
    transform: rotate(10deg);
    top: 0;
    right: 2%;
}

.client-review a:hover {
    color: var(--blue);
}

/* -------------------- Flipping Cards Styles -------------------- */

.flipping-card {
    perspective: 1000px;
    position: relative;
    height: 450px;
}

.flipping-card .bg-image .card-title {
    color: var(--light);
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
    padding: 0 5%;
}

.flipping-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipping-card:hover .flipping-card-inner {
    transform: rotateY(180deg);
}

.flipping-card-front, .flipping-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flipping-card-front {
    background-color: var(--neutral);
    color: var(--light);
    /* Adjust as needed */
}

.flipping-card-back {
    background-color: var(--neutral);
    color: var(--dark);
    transform: rotateY(180deg);
    padding: 5% 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

.flipping-card-back.left {
    text-align: left;
}

/* -------------------- SERVICES Styles -------------------- */

.services-header {
    min-height: 500px;
}

.services-portrait {
    max-height: 600px;
    position: absolute;
    bottom: -47%;
    right: -15%;
}

#offer {
  border-radius: 15px;
  background-color: var(--light);
  border: 1px solid var(--dark);
  color: var(--dark);
  transition: background-color 0.3s cubic-bezier(.25,.8,.25,1), 
              border 0.3s cubic-bezier(.25,.8,.25,1), 
              color 0.3s cubic-bezier(.25,.8,.25,1),
              box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
}

#offer:hover {
  background-color: var(--purple);
  border: none;
  color: var(--light); /* default text color */
  box-shadow: 2px 2px 10px rgba(60, 60, 62, 0.5);
}

/* FLEX container for title alignment */
.offer-title {
  display: flex;
  justify-content: flex-start;
  color: var(--purple); /* initial color */
}

/* This is the element GSAP will animate */
.offer-title-inner {
  display: inline-block;
  text-align: left;
  will-change: transform;
  transition: color 0.3s ease; /* Let GSAP handle transform */
}

/* On hover, we only change text alignment and color */
#offer:hover .offer-title-inner {
  color: var(--light);     /* updated text color */
  text-align: center;      /* aligns the text visually inside the shifted box */
}

.emoji {
  display: inline-block;
  transition: transform 0.3s ease;
}

#offer:hover .emoji {
  animation: wiggle 1s infinite alternate ease-in-out;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-5deg); }
}

.why-me-title { 
    margin-bottom: 0.5rem;
    font-size: 5vw;
}

.why-me-title-clone {
    margin-bottom: 0.5rem;
    font-size: 5vw;
    visibility: hidden;
    height: auto;
    pointer-events: none;
    position: absolute;
}

/* -------------------- WORK Styles -------------------- */

.cards {
    height: calc(99vh - var(--header-height));
    display: flex;
    justify-content: left;
    align-items: center;
    align-content: center;
}

.card {
    margin: 0;
}

.card:not(.card-num-1){
    position: absolute;
    top: 5vh;
    left: 40vw;
    width: initial;
}

.zoom-in-container:hover .work-project-card {
    filter: blur(3px);
}

.zoom-in-container:hover .work-project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the opacity and color as needed */
}

.work-project-name {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--heading);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
    transition: 0.5s ease-in-out;
}

.zoom-in-container:hover .work-project-name {
    opacity: 1;
}

.work-socials-banner {
    position: absolute; 
    border-radius: 15px;
    bottom: 5%; 
    width: 93%; 
    min-height: 70px;
}

.work-socials-intro {
    display: flex;
    justify-content: left;
    align-content: center;
    align-items: center;
}

.work-socials-intro::before {
    content: "";
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    background-image: url('/assets/star-accent.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 1%;
    animation: rotation 30s infinite linear;
}

nav.work-socials {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translate(0, -50%);
}

nav.work-socials a {
    font-size: 1.7rem;
    padding: 0 0.5rem;
    margin: 0 0.5rem;
}

nav.work-socials a:last-of-type {
    padding-right: 0;
    margin-right: 0;
}

nav.work-socials a:hover {
    color: var(--yellow);
}

/* -------------------- PROJECT Styles -------------------- */

.project-container {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.project-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4rem;
}

.project-cover {
    transition: filter 0.8s ease;
}

#review-pin {
  transition: background-color 0.8s ease;
}



/* -------------------- Contact Form Styles -------------------- */

div.mail-box:hover { cursor: pointer; color: var(--yellow);}

form input, 
form textarea,
select {
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem 0.7rem;
    border: 1px solid var(--light);
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    color: var(--light);
    background-color: inherit;
    font-size: 0.95rem;
}

form input:focus,
form textarea:focus {
    background-color: var(--light);
    color: var(--dark);
}

textarea {
  min-height: 10rem;
  resize: none;
}

#_firstname,
#_lastname {
    width: 49%; 
    float: left;
}

#_lastname {
    margin-left: 2%;
}

.form-group {
    width: 49%;
    float: left;
}

.form-group.right-side {
    margin-left: 1%;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-top: 5%;
    margin-bottom: 0;
}

.button.form-button { 
    width: initial; 
    background-color: var(--light);
    border: 1px solid var(--light);
    color: var(--dark);
    margin-top: 1.5rem;
    transition: 0.3s ease-in-out;
}

.button.form-button:hover { 
    background-color: var(--yellow);
    border: 1px solid var(--yellow);
}

select {
    appearance: none; /* Removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

/* Wrap the select in a div to position the icon */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::after {
    content: "\f063"; /* Font Awesome arrow-down */
    font-family: "Font Awesome 6 Free"; /* Ensure correct font is used */
    font-weight: 900; /* Font Awesome solid style */
    position: absolute;
    right: 1rem; /* Position the icon */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent interaction */
    color: var(--light); /* Match text color */
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: inherit;
    opacity: 1; /* Firefox */
}
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: inherit;
}
  
  ::-ms-input-placeholder { /* Microsoft Edge */
    color: inherit;
}

/* -------------------- 404 Styles -------------------- */


/* -------------------- Testimonials Slick Slider -------------------- */

.slider-item {
    display: flex !important;
}

.testimonial-project {
    font-size: 1.1rem;
    font-weight: 600;
}

a.testimonials-button {
    position: absolute;
    right: 20px;
    top: 7px;
    border: 1px solid;
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.testimonials-button img {
    min-width: 20px;
    transform: rotate(-45deg);
    transition: 0.1s ease-in-out;
}

.testimonials-button:hover {
    background-color: var(--yellow);
}

.testimonials-button:hover img {
    transform: rotate(0);
}

.slick-dots {
    left: 0; /* This align the dots perfectly to the center, do not delete */
    bottom: -30px;
}

.slider-container .slick-dots {
    left: 0; /* This align the dots perfectly to the center, do not delete */
    bottom: -50px;
}

.slick-dots li,
.slick-dots li button {
   	width: 10px;
}

.slick-dots li button::before {
    font-size: 7px;
    color: var(--dark-brown);
    opacity: .2;
}

.slick-dots li.slick-active button::before {
    color: var(--dark-brown);
}

.slick-next::before, .slick-prev::before {
    font-size: 25px;
}

.slick-prev {
    left: 3%;
    z-index: 10;
}

.slick-next {
    right: 3%;
    z-index: 10;
}

/* -------------------- FAQ Styles -------------------- */


/* -------------------- ANIMATIONS -------------------- */

/* Rotating circles across site */

.rotate {
    animation: rotation 35s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(-360deg);
    }
    to {
      transform: rotate(0deg);
    }
}

/* Title animation word by word */

@keyframes up {
	100% {
		transform: translateY(0%);
	}
}

.wordContainer {
    display: inline-block;
	overflow: hidden;
}

.word {
	animation: up 0.8s;
	animation-delay: .3s;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
	transform: translateY(115%);
}

/* Delay for staggering effect */
.textWrapper .wordContainer:nth-child(2) .word {
	animation-delay: .45s;
}
.textWrapper .wordContainer:nth-child(3) .word {
	animation-delay: .55s;
}
.textWrapper .wordContainer:nth-child(4) .word {
	animation-delay: .65s;
}

/* Bg Image Zoom In */

.zoom-in-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.zoom-in-img-holder {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
}

.zoom-in-container:hover .zoom-in-img-holder {
    transform: scale(1.08);
}

/* -------------------- Responsive Design Utility Classes -------------------- */

/* General CSS Styles (apply everywhere) */ 

.show-xs, 
.show-sm,
.show-md,
.show-lg {
	display: none;
}

/* --------------- LG Media Query (1024px) --------------- */ 
/* Styles added here will apply at devices bigger than 1024px, or zoomed in equivalent*/ 

@media only screen and (min-width: 1024px) { 
    .show-lg { display: block; }
	.hide-lg { display: none; }

    .parallax-bg-image {
        position: relative;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* --------------- MD Media Query (64em / 1024px) --------------- */ 
/* Styles added here will apply at devices smaller than 1024px, or zoomed in equivalent */ 

@media (max-width: 64em) {
    .show-md { display: block; }
	.hide-md { display: none; }

    #cookie-notice {
        width: 40%;
        font-size: 0.8rem;
    }

    /* -------------------- Mobile Nav -------------------- */

    #hamburger { right: 50px; }

    #bg-menu-mobile { width: 50%; }

    ul#mob-nav li { left: 125%; }

    /* -------------------- Header -------------------- */

    /* -------------------- Utility Classes -------------------- */

    .md-tall-0 { min-height: 0; }
    .md-tall-30 { min-height: 30vh; }
    .md-tall-40 { min-height: 40vh; }
    .md-tall-50 { min-height: 50vh; }
    .md-tall-60 { min-height: 60vh; }
    .md-tall-70 { min-height: 70vh; }
    .md-tall-100 { min-height: 100vh; }

    .md-padded-0 { padding: 0; }
    .md-padded-4 { padding: 4%; }
    .md-padded { padding: 5%; }
    .md-padded-10 { padding: 10%; }
    .md-padded-15 { padding: 15%; }
    .md-padded-l-0 { padding-left: 0; }
    .md-padded-r-0 { padding-right: 0; }
    .md-padded-1 { padding: 1%; }
    .md-padded-2 { padding: 2%; }
    .md-padded-t { padding-top: 5%; }
    .md-padded-l { padding-left: 5%; }
    .md-padded-r { padding-right: 5%; }
    .md-padded-t-10 { padding-top: 10%; }
    .md-padded-r-10 { padding-right: 10%; }
    .md-padded-l-10 { padding-left: 10%; }
    .md-padded-r-10 { padding-right: 10%; }
    .md-padded-r-0 { padding-right: 0;}
    .md-padded-l-2 { padding-left: 2%; }
    .md-padded-r-2 { padding-right: 2%; }
    .md-padded-b-20 { padding-bottom: 20%;}

    .md-margin-t { margin-top: 5%; }
    .md-margin-b { margin-bottom: 5%; }
    .md-margin-t-0 { margin-top: 0; }
    .md-margin-b-0 { margin-bottom: 0; }
    .md-margin-l-0 { margin-left: 0; }
    .md-margin-r-0 { margin-right: 0; }
    .md-margin-b-3 { margin-bottom: 3%;}
    .md-margin-t-10 { margin-top: 10%; }
    .md-margin-t-15 { margin-top: 15%; }
    .md-margin-t-20 { margin-top: 20%; }
    .md-margin-l-40 { margin-left: 40%; }

    .md-center { text-align: center; }
    .md-left { text-align: left; }

    [class*="col-4"].bottom { align-self:flex-start }

    /* -------------------- Images -------------------- */

    .md-square {
        padding-bottom: 50%;
        padding-top: 50%;
    }

    /* -------------------- Portfolio -------------------- */

    .nav-portfolio {
        display: grid;         /* switch flex -> grid */
        grid-template-columns: repeat(2, max-content); /* 2 colonnes de largeur naturelle */
        justify-content: center;  /* centre les 2 colonnes */
        column-gap: 1rem;      /* espace horizontal entre les colonnes */
        row-gap: 1rem;         /* espace vertical entre les lignes */
    }

    .nav-portfolio a {
        width: auto;           /* largeur naturelle */
        flex: none;            /* pas d’étirement */
        margin: 0;             /* pas de marge supplémentaire */
    }

    .nav-portfolio.show-sm { display: none;}

    h2 { font-size: 3.5rem;}
    
    #title-left { right: 56%; }
    #title-right { right: 57%; }

    .image-stack { height: 200px; }

    .footer-star {
        max-width: 3rem;
        bottom: 12%;
        left: 4%;
    }

    .persona-wrapper {height:600px;}

    .persona {max-height: 520px; }

    .show-md.grid-event {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
    }

    /* --- Floating Testimonials --- */

    .reco-box-1 {
        z-index: 1;
        transform: rotate(-7deg);
        top: 4%;
        left: 2%;
    }

    .reco-box-2 {
        z-index: 2;
        top: 5%;
        left: 35%;
    }

    .reco-box-3 {
        z-index: 3;
        transform: rotate(10deg);
        top: 0;
        right: 2%;
    }

    h3.footer { font-size: 2.5rem; }

}

/* --------------- SM Media Query (48em / 768px) --------------- */ 
/* Styles added here will apply at devices smaller than 768px, or zoomed in equivalent */ 

@media (max-width: 48em) {
	.show-sm { display: block; }
	.hide-sm { display: none; }

    section { padding: 12% 5%; }
    .section-padding { padding: 12% 5%; }

    body { font-size: 1rem;}

    /* --------------- Cookie banner --------------- */ 

     #cookie-notice {
        margin: 0 6%;
        left: 1%;
        bottom: 1rem;
        width: 85%;
        padding: 2rem;
        font-size: 0.9rem;
        z-index: 30 !important;
    }

    /* -------------------- Mobile Nav -------------------- */

    #hamburger { right: 20px; }

    #bg-menu-mobile { width: 100%; }

    ul#mob-nav li { left: 100%; }

    /* -------------------- Header -------------------- */

    header { padding: 5% 3.5% 1.5% 3.5%; }

    header::after { width: 100%; }

    .header-logo { max-width: 30%; }

    /* -------------------- Footer -------------------- */

    footer { padding: 10%; margin-top: -10%;}

    .footer-logo { max-width: 13%;}

    footer nav a { display: inline-block; }

    footer nav a.social { margin: 0; padding: 0 1rem; }
    footer nav a.social:last-of-type { padding: 0 1rem; }

    footer nav a::after {
        content: "";
        margin-left: 0;
    }

    .copyright { padding: 1.5% 0;}

    h3.footer { font-size: 2rem; }

    .footer-star {
        max-width: 2.5rem;
        bottom: 8%;
        left: 5%;
    }

    /* -------------------- Hero -------------------- */

    .curved { height: 600px; }

    .curved::before {
        content: "";
        width: 200vw;
        height: 120%;
        left: -50vw;
    }

    p.intro {
        margin-top: 15%;
        font-size: 1.1rem;
    }

    /* -------------------- Utility Classes -------------------- */

    [class*="grid-"][class*="-middle"].sm-center {
        justify-content: center;
        align-items: center;
    }

    .sm-tall-0 { min-height: 0vh; }
    .sm-tall-15 { min-height: 15vh; }
    .sm-tall-30 { min-height: 30vh; }
    .sm-tall-40 { min-height: 40vh; }
    .sm-tall-50 { min-height: 50vh; }
    .sm-tall-60 { min-height: 60vh; }
    .sm-tall-70 { min-height: 70vh; }
    .sm-tall-80 { min-height: 80vh; }
    .sm-tall-90 { min-height: 90vh; }
    .sm-tall-100 { min-height: 100vh; }

    .sm-padded-0 { padding: 0; }
    .sm-padded { padding: 5%; }
    .sm-padded-t { padding-top: 5%; }
    .sm-padded-b { padding-bottom: 5%; }
    .sm-padded-l { padding-left: 5%; }
    .sm-padded-r { padding-right: 5%; }
    .sm-padded-t-0 { padding-top: 0; }
    .sm-padded-l-0 { padding-left: 0;}
    .sm-padded-r-0 { padding-right: 0;}
    .sm-padded-t-7 { padding-top: 7%; }
    .sm-padded-b-7 { padding-bottom: 7%; }
    .sm-padded-t-10 { padding-top: 10%; }
    .sm-padded-b-10 { padding-bottom: 10%; }
    .sm-padded-l-12 { padding-left: 12%;}
    .sm-padded-t-15 { padding-top: 15%; }
    .sm-padded-b-15 { padding-bottom: 15%; }
    .sm-padded-r-15 { padding-right: 15%; }
    .sm-padded-b-20 { padding-bottom: 20%; }
    .sm-padded-t-20 { padding-top: 20%; }
    .sm-padded-r-20 { padding-right: 20%;}

    .sm-margin-t { margin-top: 5%; }
    .sm-margin-b { margin-bottom: 5%; }
    .sm-margin-l { margin-left: 5%; }
    .sm-margin-r { margin-right: 5%; }
    .sm-margin-0 { margin: 0;}
    .sm-margin-t-0 { margin-top: 0;}
    .sm-margin-b-0 { margin-bottom: 0;}
    .sm-margin-l-0 { margin-left: 0;}
    .sm-margin-r-0 { margin-right: 0;}
    .sm-margin-t-7 { margin-top: 7%; }
    .sm-margin-t-10 { margin-top: 10%; }
    .sm-margin-b-10 { margin-bottom: 10%; }
    .sm-margin-t-15 { margin-top: 15%; }
    .sm-margin-b-15 { margin-bottom: 15%; }
    .sm-margin-t-20 { margin-top: 20%; }
    .sm-margin-t-25 { margin-top: 25%; }

    .sm-center { text-align: center; }
    .sm-left { text-align: left; }
    .sm-right { text-align: right; }

    .sm-yellow-text  { color: var(--yellow); }

    .tickerBanner span { font-size: 3rem; }

    /* -------------------- Images -------------------- */

    .bg-image.border-radius { border-radius: 15px;  }
    .square { border-radius: 15px; }
    .border { border-radius: 15px; }
    .border-light { border-radius: 15px; }
    .zoom-in-container { border-radius: 15px; }

    .sm-square {
        padding-top: 50%;
        padding-bottom: 50%;
    }

    .sm-portrait {
        padding-top: 65%;
        padding-bottom: 65%;
    }

    .sm-landscape {
        padding-bottom: 30%;
        padding-top: 30%;
    }

    .sm-landscape-radius {
        padding-bottom: 30%;
        padding-top: 30%;
        border-radius: 15px;
    }

    /* -------------------- Typography -------------------- */

    h1 { 
        font-size: 3rem;
        line-height: 90%; 
    }

    h1.sm { font-size: 2.5rem;}

    h2 { font-size: 2.35rem; margin-bottom: 2rem; }

    h2.accent { font-size: 3rem; }

    h2.faq { margin-bottom: 2.5rem; }
    h2.faq span.handwriting { font-size: 3.3rem; }

    h4 {font-size: 1.1rem; color: var(--blue);}

    /* -------------------- About -------------------- */

    img.about-portrait {
        max-width: 99%;
        top: 45%;
        transform: translate(-50%, -50%);
    }

    a.testimonials-button {
        background-color: var(--yellow);
    }

    /* -------------------- Services -------------------- */

    .services-header {
        min-height: 400px;
    } 

    .services-portrait {
        max-height: 350px;
        bottom: -32%;
        right: -30%;
    }

    .why-me-title {
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }

    /* -------------------- Portfolio -------------------- */

    .cv-name {font-size: 11.2vw; margin-left: -0.15em;}

    [class*=button] {
        font-size: 0.95rem;
    }

    .persona-wrapper{
        position:relative;
        height:530px;
    }

    .persona-carousel{
        position: absolute;
        bottom: 0;
        height:100%;
        width:100%;
        cursor:pointer;
    }

    .persona{
        position:absolute;
        bottom:0;
        max-height:500px;
        transition: transform 0.7s cubic-bezier(.65,.05,.36,1), 
        left 0.7s cubic-bezier(.65,.05,.36,1),
        opacity 0.5s;
        transform-origin:bottom center;
    }

    .persona--left{
        left: 5%;
        transform: translateX(-50%) scale(0.65);
    }

    .persona--center{
        left: 50%;
        transform: translateX(-50%) scale(1);
    }

    .persona--right{
        left: 95%;
        transform: translateX(-50%) scale(0.65);
    }

    /* MASQUER LES PERSONAS EXTRÊMES */

    .persona--far-left,
    .persona--far-right {
        opacity: 0;
        pointer-events: none;
    }

    /* OPTIONNEL : éviter qu'ils "flashent" pendant l'anim */

    .persona--pre-enter-left,
    .persona--pre-enter-right {
        opacity: 0;
    }

    .cv-title {
        font-size: 2.2rem;
        top: 15%;
        -webkit-text-stroke: 0.7px black;
    }

    #title-left {
        position: absolute;
        left: 0;
        right: auto;
    }

    #title-right {
        position: absolute;
        right: 0;
        left: auto;
    }

    .nav-portfolio.show-sm {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: center;
        column-gap: 2rem;
        row-gap: 1rem;
    }

    #video.show-sm { display: flex;}

    .reveal-title .title-part.off { display: none;}

    .reveal-title .mobile.title-part {
        display: inline-block;
        transform: translateX(90px);
        opacity: 0;
        filter: blur(3px);
    }

    .reveal-offset .mobile.title-part.first-child {
        position: absolute;
        left: 5%;
    }

    .image-stack { height: 130px; margin-left: -7%; }

    .image-stack img { width: 110%;}

    .show-md.grid-event { display: none; }

    .show-sm.grid-event {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
    }

    .description { padding-top: 1.2rem;}

    .client-review {font-size: 0.95;}

    .footer-email {text-transform: initial;}

    .footer-star { display: none;}

    .review-title {
        position: initial;
        transform: translate(0, 0);
        width: 100vw;
    }

    .sm-reco-1 {
        transform: rotate(5deg);
        top: -9%;
        position: relative;
        background-color: var(--light);
    }
    .sm-reco-2 {
        top: -15%;
        position: relative;
        background-color: var(--light);
    }
    .sm-reco-3 {
        transform: rotate(-4deg);
        top: -20%;
        position: relative;
        background-color: var(--light);
    }

}

/* --------------- XS Media Query (25em / 400px) --------------- */ 
/* Styles added here will apply at devices smaller than 768px, or zoomed in equivalent */ 

@media (max-width: 25em) {

    .cv-title {font-size: 1.8rem;}

}

@media (max-width: 20em) {

    .cv-title {font-size: 1.5rem;}

}