/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300;1,400&family=Montserrat:ital,wght@0,300;0,400;1,300&family=Plus+Jakarta+Sans:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- CUSTOM LOCAL FONTS --- */
@font-face { font-family: 'Alte Haas Grotesk'; src: url('/assets/fonts/AlteHaasGroteskBold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mignon'; src: url('/assets/fonts/Mignon-Regular.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bellefair'; src: url('/assets/fonts/bellefair-regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; }

/* --- GLOBAL VARIABLES --- */
:root {
    --mist: #f3f4f4;
    --alabaster: #F9F8EC;
    --onyx: #1a1a1a;
    --dove: #DAE0E0;
    --white: #ffffff;
    --black: #000000;
    --tailwind-gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    
    /* Typography Mappings */
    --font-dict: 'Alte Haas Grotesk', 'Plus Jakarta Sans', sans-serif;
    --font-phonetic: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Cormorant Garamond', serif; 
    --font-mignon: 'Mignon', 'Cormorant Garamond', serif;
    --font-bellefair: 'Bellefair', serif;
}

/* --- BASE & RESETS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--alabaster);
    color: var(--onyx);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.6; }

/* Hide scrollbar for seamless look across all portals/pages */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
[v-cloak] { display: none; }

/* --- FORM ELEMENTS (PORTAL) --- */
input[type="checkbox"].foier-checkbox {
    appearance: none;
    background-color: transparent;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 1px solid var(--onyx);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}
input[type="checkbox"].foier-checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--onyx);
    background-color: var(--onyx);
}
input[type="checkbox"].foier-checkbox:checked::before { transform: scale(1); }
input[type="checkbox"].foier-checkbox:hover { border-color: var(--dove); }

/* --- HOMEPAGE TYPOGRAPHY & BUTTONS --- */
.section-heading {
    font-family: var(--font-bellefair);
    font-size: 3.125rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    text-align: center;
    color: inherit;
}
.section-heading.left-align { text-align: left; margin-bottom: 0.5rem; }

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: inherit;
    display: block;
}

.body-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: inherit;
}

.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--onyx);
    font-family: var(--font-phonetic);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { background: var(--onyx); color: var(--white) !important; }
.btn-archive { border-color: var(--alabaster); }
.btn-archive:hover { background: var(--alabaster); color: var(--onyx) !important; }

/* --- GLOBAL NAVIGATION & MENU OVERLAY --- */
.nav-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; padding: 2.5rem 5%;
    display: flex; justify-content: flex-end; z-index: 100; pointer-events: none;
}
.menu-toggle {
    pointer-events: auto; background: none; border: none; cursor: pointer;
    z-index: 101; display: flex; flex-direction: column; gap: 6px; padding: 10px;
}
.menu-toggle span {
    display: block; width: 30px; height: 1.5px; background-color: var(--white);
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}

/* Menu Open States */
body.menu-open { overflow: hidden; }
body.menu-open #navLogoLink { opacity: 0; pointer-events: none; }
body.menu-open nav { background-color: transparent !important; border-color: transparent !important; }
body.menu-open .menu-toggle span { background-color: var(--onyx); }
body.menu-open .menu-toggle span:nth-child(1), body.menu-open #portalMenuToggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
body.menu-open #portalMenuToggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
body.menu-open .menu-overlay, body.menu-open #portalMenuOverlay { opacity: 1; pointer-events: auto; }

.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--mist);
    z-index: 99; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease-in-out;
}

.menu-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.menu-links li, #dynamicMenuLinks li { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
body.menu-open .menu-links li, body.menu-open #dynamicMenuLinks li { opacity: 1; transform: translateY(0); }
body.menu-open .menu-links li:nth-child(1) { transition-delay: 0.1s; }
body.menu-open .menu-links li:nth-child(2) { transition-delay: 0.2s; }
body.menu-open .menu-links li:nth-child(3) { transition-delay: 0.3s; }
body.menu-open .menu-links li:nth-child(4) { transition-delay: 0.4s; }
body.menu-open .menu-links li:nth-child(5) { transition-delay: 0.5s; }

.menu-links a {
    font-family: var(--font-dict); font-size: clamp(2rem, 6vw, 4rem); color: var(--dove);
    text-transform: uppercase; text-decoration: none; letter-spacing: 0.02em;
    transition: color 0.4s ease; line-height: 1.1;
}
.menu-links a:hover { color: var(--onyx); opacity: 1; }

/* --- HOMEPAGE SECTIONS --- */
.hero {
    height: 100vh; width: 100%; background-image: url('/assets/images/IMG_1544.jpeg');
    background-size: cover; background-position: center; background-color: var(--onyx); 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 5%; position: relative;
}
.hero-title { font-family: var(--font-mignon); font-size: clamp(5rem, 15vw, 12rem); font-weight: normal; color: var(--white); margin: 0; line-height: 1; z-index: 2; }
.hero-subtitle { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 2rem); font-style: italic; color: var(--white); margin-top: 1rem; font-weight: 300; z-index: 2; }

.description { min-height: 36vh; display: flex; justify-content: center; align-items: center; padding: 5vh 5%; }
.description-text { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); text-align: center; line-height: 1.4; font-weight: 300; }

.intro { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 10vh 5%; position: relative; }
.intro-container { width: 100%; margin: 0 auto; }
.intro-grid { display: grid; grid-template-columns: 1fr minmax(auto, 600px) 1fr; gap: 2rem; position: relative; }
.dict-block { position: sticky; top: 35vh; height: max-content; display: flex; flex-direction: column; gap: 0.8rem; }
.left-dict { justify-self: start; align-items: flex-start; text-align: left; }
.left-dict .dict-title { justify-content: flex-start; }
.right-dict { justify-self: end; align-items: flex-end; text-align: right; }
.right-dict .dict-title { justify-content: flex-end; }
.dict-title { display: flex; align-items: baseline; gap: 0.5rem; }
.dict-term { font-family: var(--font-dict); color: var(--dove); font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: 0.02em; }
.dict-phonetic { font-family: var(--font-phonetic); color: #a6a6a6; font-size: clamp(0.9rem, 1.2vw, 1.1rem); font-style: italic; }
.dict-def { font-family: var(--font-serif); color: var(--onyx); font-size: 1.05rem; font-style: italic; font-weight: 300; }
.intro-body { text-align: left; display: flex; flex-direction: column; gap: 2.5rem; }

.services { width: 100%; }
.services-section-wrapper { display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 100vh; }
.services-left { position: relative; height: 100%; }
.services-left-sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.services-carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.services-carousel::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/assets/images/noise.gif'); background-repeat: repeat; opacity: 0.15; mix-blend-mode: overlay; pointer-events: none; z-index: 2; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: carouselFade 24s infinite ease-in-out; z-index: 0; filter: grayscale(100%) contrast(110%) brightness(0.85); }
.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: 4s; }
.carousel-slide:nth-child(3) { animation-delay: 8s; }
.carousel-slide:nth-child(4) { animation-delay: 12s; }
.carousel-slide:nth-child(5) { animation-delay: 16s; }
.carousel-slide:nth-child(6) { animation-delay: 20s; }
@keyframes carouselFade { 0%, 12.5% { opacity: 1; } 16.66%, 95.83% { opacity: 0; } 100% { opacity: 1; } }

.services-right { padding: 10vh 5%; display: flex; flex-direction: column; justify-content: flex-start; }
.services-right-inner { width: 100%; max-width: 85%; margin: 0 auto; }
.services-list-title { margin-top: 5vh; margin-bottom: 2.5rem; }

.service-accordion { display: flex; flex-direction: column; border-top: 1px solid rgba(26, 26, 26, 0.1); }
.accordion-item { border-bottom: 1px solid rgba(26, 26, 26, 0.1); }
.accordion-summary { display: flex; justify-content: space-between; align-items: center; padding: 2.5rem 0; cursor: pointer; user-select: none; }
.accordion-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 300; font-style: italic; color: var(--onyx); display: flex; align-items: center; gap: 1.5rem; }
.accordion-icon { font-family: var(--font-body); font-size: 1.2rem; font-weight: 400; color: var(--onyx); }
.accordion-item.open .accordion-icon::before { content: "−"; }
.accordion-item:not(.open) .accordion-icon::before { content: "+"; }
.accordion-content-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s ease-in-out; }
.accordion-item.open .accordion-content-wrapper { grid-template-rows: 1fr; }
.accordion-content { overflow: hidden; }
.accordion-content-inner { padding-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: flex-end; opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; }
.accordion-item.open .accordion-content-inner { opacity: 1; transform: translateY(0); }

.static-row { display: flex; justify-content: space-between; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid rgba(26, 26, 26, 0.1); }
.static-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 300; font-style: italic; }
.waitlist-badge { font-family: var(--font-phonetic); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--dove); padding: 0.6rem 1.2rem; border-radius: 50px; white-space: nowrap; }

.archive { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10vh 5%; }
.archive-subtitle { margin-bottom: 1.5rem; text-align: center; }
.archive-description { max-width: 500px; text-align: center; margin-bottom: 2.5rem; opacity: 0.9; }

.archive-preview { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 10vh 5% 5% 5%; }
.archive-preview-wrapper { width: 100%; max-width: 1400px; margin: 0 auto; }
.archive-preview-header { margin-bottom: 6rem; }
.work-showcase { display: flex; align-items: flex-end; gap: 4rem; }
.work-desktop { flex: 5; }
.work-desktop-img { width: 100%; aspect-ratio: 1.4; display: block; }
.work-mobile { flex: 1.5; }
.work-mobile-img { width: 100%; aspect-ratio: 9/16; display: block; }
.work-details { flex: 3; padding-bottom: 1rem; }
.work-scope-title { font-family: var(--font-serif); font-size: 2rem; font-style: italic; font-weight: 300; margin-bottom: 1rem; }

.testimonials { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 10vh 5%; }
.testimonials-wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; gap: 2rem; }
.carousel-arrow { background: none; border: none; cursor: pointer; padding: 1rem; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; }
.carousel-arrow:hover { opacity: 0.6; }
.carousel-arrow svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1; fill: none; }
.testimonial-content-container { flex: 1; position: relative; min-height: 250px; display: flex; justify-content: center; align-items: center; }
.testimonial-slide { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; max-width: 800px; text-align: center; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.testimonial-slide.active { opacity: 1; pointer-events: auto; }
.testimonial-quote { margin-bottom: 3rem; max-width: 90%; margin-left: auto; margin-right: auto; }
.testimonial-name { font-family: var(--font-bellefair); font-size: 2rem; font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 0.5rem; }

.process { padding: 15vh 5%; position: relative; display: block; overflow: hidden; }
.slideshow-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.process .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(100%) brightness(0.4); animation: bgFade 18s infinite ease-in-out; opacity: 0; }
.process .slide:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?q=80&w=2000&auto=format&fit=crop'); animation-delay: 0s; }
.process .slide:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=2000&auto=format&fit=crop'); animation-delay: 6s; }
.process .slide:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000&auto=format&fit=crop'); animation-delay: 12s; }
.grain-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; background-image: url('https://static.wixstatic.com/media/e6c322_e72c1f4cb2f44b649841bef81028728f~mv2.gif'); background-repeat: repeat; opacity: 0.1; }
.timeline-wrapper { position: relative; z-index: 10; width: 100%; max-width: 1400px; margin: 0 auto; }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; margin-top: 4rem; }
.timeline-track { position: absolute; top: 3.5rem; left: calc(-50vw + 50%); width: 100vw; height: 1px; background: rgba(255, 255, 255, 0.2); margin: 0; }
.timeline-progress { position: absolute; top: 0; left: 0; height: 100%; background: var(--white); width: 0%; box-shadow: 0 0 10px rgba(255,255,255,0.5); transition: width 0.1s linear; }
.timeline-column { display: flex; flex-direction: column; cursor: pointer; padding-bottom: 2rem; position: relative; }
.timeline-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 300; letter-spacing: 0.02em; color: var(--white); opacity: 0.5; display: flex; align-items: flex-end; padding-bottom: 1rem; transition: opacity 0.4s ease; }
.timeline-content { display: flex; gap: 1.5rem; opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; padding-top: 1.5rem; padding-right: 1rem; }
.step-thumbnail { width: 55px; height: 55px; background-color: rgba(255,255,255,0.1); flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="55" height="55"><rect width="100%" height="100%" fill="none"/></svg>'); }
.step-text h4 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 300; font-style: italic; margin-bottom: 0.5rem; line-height: 1.1; }
.step-text p { color: var(--white); }
.timeline-column:hover .timeline-title, .timeline-column.active .timeline-title { opacity: 1; }
.timeline-column:hover .timeline-content, .timeline-column.active .timeline-content { opacity: 1; transform: translateY(0); pointer-events: auto; }
.process-footer { margin-top: 5rem; text-align: left; max-width: 400px; }

.inquiry { min-height: 100vh; padding: 15vh 5%; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 20; }

.values-section { padding: 15vh 5%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.values-text { font-family: var(--font-dict); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; text-transform: uppercase; line-height: 1.1; display: flex; flex-direction: column; justify-content: center; align-items: center; row-gap: 0rem; max-width: 1100px; }

.footer { padding: 8vh 5% 5vh 5%; width: 100%; }
.footer-content { display: flex; justify-content: space-between; align-items: stretch; width: 100%; }
.footer-left { display: flex; align-items: flex-end; }
.footer-logo-text { font-family: var(--font-mignon); font-size: clamp(5rem, 15vw, 13rem); line-height: 0.8; letter-spacing: -0.02em; }
.footer-right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; width: 50%; }
.footer-links-container { display: flex; gap: 6vw; width: 100%; justify-content: flex-start; }
.footer-column { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.footer-link { font-family: var(--font-body); font-size: 1.1rem; font-weight: 400; text-decoration: none; transition: opacity 0.3s ease; }
.copyright { margin-top: 4rem; text-align: right; color: var(--dove) !important; }

/* --- UNIVERSAL DOSSIER & PORTAL COMPONENTS --- */

/* Typography */
.subtitle {
    font-family: var(--font-phonetic);
    font-weight: 300;
    font-size: 0.80rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.title-main {
    font-family: var(--font-bellefair);
    font-size: 1.5rem; 
    color: var(--onyx); 
    letter-spacing: -0.05em; 
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .title-main {
        font-size: 1.875rem; /* md:text-3xl */
    }
}

.hint-text {
    font-family: var(--font-body);
    font-weight: 300; /* font-normal */
    font-size: 0.75rem; /* text-xs */
    color: var(--gray-500);
    line-height: 1.625; /* leading-relaxed */
    text-transform: none; /* normal-case */
    letter-spacing: 0.02em;
}

/* Forms & Inputs */
.input-line {
    appearance: none;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--dove); 
    border-radius: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 0.75rem 0; /* py-3 */
    font-family: var(--font-body);
    font-weight: 200;
    font-size: 1rem; /* text-base */
    color: var(--onyx);
    transition: all 0.3s ease;
    outline: none;
}
.input-line:focus {
    outline: none;
    border-color: var(--onyx); 
}
.input-line::placeholder {
    color: var(--gray-300);
}

.input-serif {
    appearance: none;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--dove); 
    padding: 0.75rem 0; /* py-3 */
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem; /* text-2xl */
    font-style: italic;
    color: var(--onyx);
    transition: all 0.3s ease;
}
.input-serif:focus {
    outline: none;
    border-color: var(--onyx); 
}
.input-serif::placeholder {
    color: var(--gray-300);
    font-style: normal;
}

.input-label {
    font-family: var(--font-phonetic);
    font-weight: 500;
    font-size: .80rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--onyx);
    display: block;
    margin-bottom: 0.5rem; /* mb-2 */
}

/* Form Buttons */
.btn-primary {
    appearance: none;
    width: 100%;
    background-color: var(--onyx);
    color: var(--white);
    font-family: var(--font-phonetic);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1.25rem 2.5rem; /* py-5 px-10 */
    border: 1px solid var(--onyx); 
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
@media (min-width: 640px) {
    .btn-primary { width: auto; } /* sm:w-auto */
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--onyx);
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    appearance: none;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--dove);
    color: var(--onyx);
    font-family: var(--font-phonetic);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1.25rem 2.5rem; /* py-5 px-10 */
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
@media (min-width: 640px) {
    .btn-secondary { width: auto; } /* sm:w-auto */
}
.btn-secondary:hover {
    border-color: var(--onyx); 
}

.btn-add {
    appearance: none;
    width: 100%;
    border: 1px dashed var(--dove);
    background-color: var(--white);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem; /* py-5 */
    font-family: var(--font-phonetic);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-500); 
    transition: all 300ms ease;
    margin-top: 1.5rem; /* mt-6 */
    cursor: pointer;
}
.btn-add:hover {
    color: var(--onyx);
    border-color: var(--onyx);
}

.btn-remove {
    appearance: none;
    position: absolute;
    top: 1rem; right: 1rem; /* top-4 right-4 */
    font-family: var(--font-phonetic);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-500);
    background-color: var(--white);
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border: 1px solid var(--dove);
    z-index: 10;
    opacity: 0.8;
    transition: all 300ms ease;
    cursor: pointer;
}
.btn-remove:hover {
    color: var(--onyx);
    border-color: var(--onyx);
    opacity: 1;
}

/* Structural Blocks */
.card-block {
    background-color: var(--white);
    border: 1px solid var(--dove);
    padding: 2rem; /* p-8 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    position: relative;
    transition: all 300ms ease;
}
@media (min-width: 768px) {
    .card-block { padding: 3rem; } /* md:p-12 */
}

/* Toggle Selections */
.toggle-btn {
    appearance: none;
    flex: 1 1 0%;
    padding: 1.5rem; /* p-6 */
    border-width: 1px;
    border-style: solid;
    transition: all 300ms ease;
    text-align: left;
    cursor: pointer;
}
@media (min-width: 768px) {
    .toggle-btn { padding: 2rem; } /* md:p-8 */
}

.toggle-btn-active {
    border-color: var(--onyx); 
    background-color: var(--mist); 
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); /* shadow-inner */
}

.toggle-btn-inactive {
    border-color: var(--dove); 
    background-color: var(--white);
}
.toggle-btn-inactive:hover {
    border-color: var(--gray-400); 
}

/* --- DOSSIER ANIMATIONS & OVERLAYS --- */
.step-content { display: none; }
.step-content.active { display: block; animation: slideFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.uploading-overlay { 
    background: rgba(255,255,255,0.9); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: absolute; 
    inset: 0; 
    z-index: 10; 
    font-family: var(--font-phonetic); 
    font-size: 10px; 
    font-weight: bold; 
    letter-spacing: 0.2em; 
    text-transform: uppercase; 
    color: var(--onyx); 
}

@keyframes slideFadeUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .intro-grid { grid-template-columns: 1fr; gap: 4rem; }
    .dict-block { position: relative; top: 0; }
    .left-dict, .right-dict { justify-self: center; align-items: center; text-align: center; }
    .left-dict .dict-title, .right-dict .dict-title { justify-content: center; }
    .left-dict { order: -1; }
    .right-dict { order: 1; }
    
    .services-section-wrapper { grid-template-columns: 1fr; }
    .services-left-sticky { height: 50vh; position: relative; }
    
    .services-right { padding: 10vh 5%; }
    .services-right-inner { max-width: 100%; }
    
    .editorial-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section-title { position: relative; top: 0; margin-bottom: 2rem; }
    .service-accordion { border-top: none; }
    
    .accordion-content-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .accordion-title { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    
    .work-showcase { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .work-desktop { width: 100%; }
    .work-mobile { width: 50%; }
    .work-details { padding-bottom: 0; }

    .timeline-wrapper { overflow-x: auto; padding-bottom: 2rem; }
    .timeline-grid { min-width: 800px; }
    .timeline-track { top: 4.5rem; }

    .footer-content { flex-direction: column-reverse; gap: 4rem; }
    .footer-right { align-items: flex-start; width: 100%; }
    .footer-links-container { flex-direction: column; gap: 2rem; justify-content: flex-start; }
    .copyright { text-align: left; }
}
