/*
 * SINTARAS CUSTOM FRAMEWORK
 * 100% Original CSS - Built from scratch
 * Using open-source design principles
 */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Brand Colors */
    --sint-black: #000000;
    --sint-white: #FFFFFF;
    --sint-gray: #888888;
    --sint-gray-light: #E5E5E5;
    --sint-gray-dark: #333333;

    /* Subsidiary Colors */
    --sint-craft: #00e5b4;
    --sint-craft-light: #00c49a;
    --sint-health: #3b82f6;
    --sint-health-light: #60a5fa;
    --sint-tech: #f59e0b;
    --sint-tech-light: #fbbf24;

    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 4rem;
    --font-size-hero: clamp(3rem, 10vw, 12rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-2xl: 12rem;

    /* Layout */
    --container-max: 1400px;
    --container-padding: clamp(1rem, 5vw, 4rem);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-preloader: 400;
    --z-cursor: 500;
}

/* Dark mode variables */
html.dark {
    --bg-primary: var(--sint-black);
    --bg-secondary: #151515;
    --text-primary: var(--sint-white);
    --text-secondary: var(--sint-gray);
    --border-color: #2a2a2a;
}

/* Light mode variables */
html.light, html:not(.dark) {
    --bg-primary: var(--sint-white);
    --bg-secondary: #f5f5f5;
    --text-primary: var(--sint-black);
    --text-secondary: var(--sint-gray);
    --border-color: var(--sint-gray-light);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.is-loading {
    cursor: wait;
}

/* ============================================
   PRELOADER - Society Studios Style
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    z-index: 9999;
    pointer-events: none;
}

.preloader__top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.preloader__top img {
    width: 110vw;
    max-width: none;
    opacity: 0;
    transform: translate(-100vw, 2vh);
    filter: brightness(0) invert(1);
}

html.light .preloader__top img {
    filter: brightness(0);
}

.preloader__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    margin-top: -1px;
}

.preloader__bottom img {
    width: 110vw;
    max-width: none;
    opacity: 0;
    transform: translate(100vw, -2vh);
    filter: brightness(0) invert(1);
}

html.light .preloader__bottom img {
    filter: brightness(0);
}

/* Hide preloader when done */
.preloader.is-complete {
    display: none;
}

@media (max-width: 768px) {
    .preloader__top img {
        transform: translate(-110vw, 1vh);
    }

    .preloader__bottom img {
        transform: translate(100vw, -1vh);
    }
}

html.is-loading * {
    cursor: wait !important;
    pointer-events: none;
}

html.has-loaded {
    cursor: auto;
}

/* Native scroll - Lenis disabled */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-medium), color var(--transition-medium);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--narrow {
    max-width: 900px;
}

.container--wide {
    max-width: 1600px;
}

.container--full {
    max-width: none;
    padding: 0;
}

.container--reduced {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Image crop style */
.img-crop {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section spacing */
.section {
    padding: var(--space-xl) 0;
}

.section--tight {
    padding: var(--space-lg) 0;
}

.section--loose {
    padding: var(--space-2xl) 0;
}

/* Grid system */
.grid {
    display: grid;
    gap: var(--space-md);
}

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

@media (max-width: 768px) {
    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRELOADER
   ============================================ */
/* ============================================
   PRELOADER - Zoom Through Image Effect
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: var(--z-preloader);
    display: grid;
    place-content: center;
    pointer-events: all;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__image {
    grid-area: 1 / 1;
    max-width: 600px;
    width: 85vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.2);
    filter: blur(10px);
    will-change: transform, opacity, filter;
}

/* Counter display */
.preloader__counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.preloader__counter-bar {
    width: 100px;
    height: 2px;
    background: var(--bg-secondary);
    border-radius: 1px;
    overflow: hidden;
}

.preloader__counter-fill {
    height: 100%;
    width: 0%;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

/* Finish effect - TV close */
.preloader.is-finishing .preloader__image {
    clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
    transition: clip-path 0.4s ease-in-out;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: background var(--transition-medium);
}

.header.is-scrolled {
    background: rgba(var(--bg-primary), 0.95);
    backdrop-filter: blur(10px);
}

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

.header__logo {
    height: 24px;
    width: auto;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.header__logo img {
    height: 100%;
    width: auto;
    pointer-events: none;
}

/* Menu Toggle */
.menu-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: calc(var(--z-modal) + 1);
}

.menu-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px auto;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    list-style: none;
    text-align: center;
}

.nav-menu__item {
    overflow: hidden;
}

.nav-menu__link {
    display: block;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 500;
    padding: var(--space-xs) 0;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-overlay.is-open .nav-menu__link {
    transform: translateY(0);
}

.nav-menu__link:hover {
    color: var(--sint-gray);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    gap: var(--space-xs);
    background: var(--border-color);
    padding: 4px;
    border-radius: 999px;
}

.theme-toggle__btn {
    background: transparent;
    border: none;
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 999px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.theme-toggle__btn.is-active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
}

.page-transition__panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--bg-primary);
}

.page-transition__panel--left {
    left: 0;
    transform: translateX(-100%);
}

.page-transition__panel--right {
    right: 0;
    transform: translateX(100%);
}

/* Center line for diagonal sweep */
.page-transition__line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background: var(--text-primary);
    transform: translateX(-50%);
    z-index: 10;
}

/* Diagonal sweep panels */
.page-transition.is-diagonal .page-transition__panel--left {
    width: 50%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 0 0, 0 0);
    transform: none;
}

.page-transition.is-diagonal .page-transition__panel--right {
    width: 50%;
    height: 100%;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transform: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__video,
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: var(--font-size-hero);
    font-weight: 500;
    line-height: 0.9;
    margin-bottom: var(--space-md);
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

.hero__tags {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.hero__tag {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============================================
   PROJECT/SUBSIDIARY PAGES
   ============================================ */
.project-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.project-hero__media {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.project-hero__video,
.project-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero__content {
    padding: var(--space-lg) 0;
}

.project-hero__title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    margin-bottom: var(--space-sm);
}

.project-hero__meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* Loading images animation */
.project-hero__loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.is-loading .project-hero__loading {
    opacity: 1;
}

.project-hero__loading img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* ============================================
   PROJECT DETAILS
   ============================================ */
.project-details {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
}

.project-details__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .project-details__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.project-details__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.project-details__group-title {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.project-details__disciplines {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.discipline-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
}

.discipline-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Description wrapper - collapsible */
.project-details__description-wrap {
    height: 400px;
    overflow: hidden;
    position: relative;
    transition: height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-details__description-wrap.is-collapsed {
    -webkit-mask-image: linear-gradient(0deg, transparent, #fff 25%);
    mask-image: linear-gradient(0deg, transparent, #fff 25%);
}

.project-details__description {
    font-size: calc(15.5px + 0.59vw);
    line-height: 1.35em;
    color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.6);
}

html.light .project-details__description {
    color: rgba(0, 0, 0, 0.6);
}

.project-details__description > p:not(:last-child) {
    margin-bottom: 24px;
}

.project-details__description strong {
    color: var(--text-primary);
    font-size: calc(16.7px + 0.78vw);
    font-weight: 400;
    line-height: 1.35em;
}

/* Read More Button - Society Studios Style */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
    font-family: var(--font-primary);
    cursor: pointer;
    margin-top: 56px;
    margin-left: 0;
    color: var(--text-primary);
}

.read-more-btn__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.read-more-btn__icon::before,
.read-more-btn__icon::after {
    content: '';
    position: absolute;
    background: var(--text-primary);
    transition: transform 0.3s ease;
}

/* Horizontal line */
.read-more-btn__icon::before {
    width: 16px;
    height: 1.25px;
}

/* Vertical line (forms the plus) */
.read-more-btn__icon::after {
    width: 1.25px;
    height: 16px;
}

/* Minus state - hide vertical line */
.read-more-btn.is-expanded .read-more-btn__icon::after {
    transform: rotate(90deg);
}

.read-more-btn__label {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: calc(17px + 0.49vw);
    letter-spacing: -0.01em;
    min-height: 56px;
    padding: 12px 32px;
    position: relative;
    transition: color 0.3s ease;
    overflow: hidden;
}

.read-more-btn__label::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--text-primary);
    border-radius: inherit;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn:hover .read-more-btn__label::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.read-more-btn:hover .read-more-btn__label {
    color: var(--bg-primary);
}

.read-more-btn__label span {
    position: relative;
    z-index: 1;
}

.read-more-btn:hover .read-more-btn__icon {
    background: var(--text-primary);
}

.read-more-btn:hover .read-more-btn__icon::before,
.read-more-btn:hover .read-more-btn__icon::after {
    background: var(--bg-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .read-more-btn__icon {
        width: 48px;
        height: 48px;
    }

    .read-more-btn__label {
        min-height: 48px;
        padding: 10px 24px;
        font-size: 16px;
    }

    .read-more-btn {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .project-details__description-wrap {
        height: 300px;
    }

    .project-details__description {
        font-size: 18px;
    }

    .project-details__description strong {
        font-size: 20px;
    }
}

/* ============================================
   MEDIA SECTIONS
   ============================================ */
.media-section {
    padding: var(--space-sm) 0;
}

.media-section__inner {
    display: grid;
    gap: var(--space-sm);
}

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

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

@media (max-width: 768px) {
    .media-section--double {
        grid-template-columns: 1fr;
    }
}

.media-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.media-item--16x9 {
    aspect-ratio: 16 / 9;
}

.media-item--1x1 {
    aspect-ratio: 1 / 1;
}

.media-item--3x4 {
    aspect-ratio: 3 / 4;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.02);
}

/* Project Media - Society Studios style */
.project-media {
    padding: 9px;
}

.project-media__inner {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    padding: 9px;
}

.project-media--single {
    grid-template-columns: 1fr;
}

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

@media (max-width: 768px) {
    .project-media__inner {
        grid-auto-flow: row;
    }
    .project-media--double {
        grid-template-columns: 1fr;
    }
}

.project-media__item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-media__item img,
.project-media__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    max-height: none;
}

.project-media__item--16x9 {
    aspect-ratio: 16 / 9;
}

.project-media__item--1x1 {
    aspect-ratio: 1 / 1;
}

/* ============================================
   RELATED PROJECTS
   ============================================ */
.related-projects {
    padding: var(--space-xl) 0;
}

.related-projects__title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--space-lg);
}

.related-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .related-projects__grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-secondary);
}

.project-card__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__media {
    transform: scale(1.05);
}

.project-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.project-card__meta {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--space-xl) 0;
}

.contact-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (max-width: 768px) {
    .contact-section__inner {
        grid-template-columns: 1fr;
    }
}

.contact-section__title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--space-md);
}

.contact-section__text {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.contact-section__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.contact-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   BUTTONS - Gooey Style with Diagonal Arrows
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    min-height: 48px;
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Button text wrapper */
.btn__text {
    position: relative;
    z-index: 2;
}

/* Arrow container */
.btn__arrow {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* Diagonal arrow SVG */
.btn__arrow svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transform: rotate(-45deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gooey background fill effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

@media (hover: hover) {
    .btn:hover {
        color: var(--bg-primary);
        background: var(--text-primary);
        border-color: var(--text-primary);
    }

    .btn:hover::before {
        width: 300%;
        height: 300%;
    }

    /* Move arrow from right to left on hover */
    .btn:hover .btn__arrow {
        transform: translateX(calc(-100% - 0.5rem));
        order: -1;
    }

    /* Arrow rotates slightly on hover */
    .btn:hover .btn__arrow svg {
        transform: rotate(-45deg) scale(1.1);
    }
}

.btn:active {
    transform: scale(0.98);
}

/* Light button variant (for dark backgrounds) */
.btn--light {
    border-color: #fff;
    color: #fff;
}

.btn--light::before {
    background: #fff;
}

.btn--light:hover {
    color: #000;
}

/* Large button */
.btn--large {
    padding: 16px 32px;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
}

/* Tag/Pill styles */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: clamp(0.625rem, 0.8vw, 0.75rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
}

.tag--filled {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.tag--outline {
    background: transparent;
    color: var(--text-primary);
}

/* ============================================
   FOOTER - Society Studios Style
   ============================================ */
.footer {
    padding: 120px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 68px;
}

/* Left Menu */
.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 62px;
}

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

.footer__nav li:not(:last-child) {
    margin-bottom: 8px;
}

.footer__nav-link {
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    transition: opacity var(--transition-fast);
}

.footer__nav-link:hover {
    opacity: 0.6;
}

/* Right Info */
.footer__info {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 62px;
}

.footer__top {
    display: flex;
    gap: 54px;
}

/* Locations */
.footer__locations {
    display: flex;
    gap: 54px;
}

.footer__location {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__location-name {
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.footer__location-address {
    font-size: 0.875rem;
    line-height: 1.35;
    opacity: 0.5;
    margin-top: 6px;
}

.footer__location-map {
    font-size: 0.875rem;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    transition: all var(--transition-fast);
}

.footer__location-map:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.footer__location-phone {
    font-size: 0.875rem;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Social Column */
.footer__social-col {
    display: flex;
    flex-direction: column;
}

.footer__social-label {
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.footer__social {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

.footer__social a {
    align-items: center;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    display: flex;
    font-size: 14px;
    height: 36px;
    justify-content: center;
    text-transform: uppercase;
    width: 36px;
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Middle - Email */
.footer__middle {
    margin-top: 16px;
}

.footer__email {
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

/* Bottom - Legal & Copyright */
.footer__bottom {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__legal {
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.footer__legal:hover {
    opacity: 1;
}

.footer__copyright {
    font-size: 0.875rem;
    line-height: 1;
    opacity: 0.5;
    text-transform: uppercase;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 100px 0 36px;
        gap: 54px;
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 54px;
    }

    .footer__menu {
        text-align: center;
    }

    .footer__info {
        align-items: center;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    .footer__locations {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .footer__location {
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer__social-col {
        align-items: center;
    }

    .footer__middle {
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
    }
}

/* Footer Marquee */
.footer__marquee {
    overflow: hidden;
    padding: var(--space-xs) 0;
    margin-bottom: var(--space-sm);
}

.footer__marquee-inner {
    display: flex;
    gap: var(--space-xl);
    animation: marquee 20s linear infinite;
}

.footer__marquee-item {
    flex-shrink: 0;
}

.footer__marquee-item img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro {
    padding: var(--space-xl) 0;
    text-align: center;
}

.intro__text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto;
}

.intro__text .accent {
    font-weight: 500;
}

.intro__text .accent-craft { color: var(--sint-craft); }
.intro__text .accent-health { color: var(--sint-health); }
.intro__text .accent-tech { color: var(--sint-tech); }

/* ============================================
   SERVICES/PROJECTS LIST
   ============================================ */
.services-list {
    padding: var(--space-xl) 0;
}

.services-list__title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--space-lg);
}

.services-list__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .services-list__grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.service-card__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__media {
    transform: scale(1.05);
}

.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.service-card__title {
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.service-card__subtitle {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   STATEMENT SECTION
   ============================================ */
.statement {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.statement__text {
    font-size: var(--font-size-hero);
    line-height: 1;
}

.statement__text span {
    display: block;
}

.statement__trademark {
    font-size: 0.3em;
    vertical-align: super;
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.8s; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */

/* Hide system cursor when custom cursor is active */
@media (min-width: 1025px) {
    html.has-custom-cursor,
    html.has-custom-cursor * {
        cursor: none !important;
    }
}

.cursor {
    position: fixed;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5000;
    transition: width 0.4s, height 0.4s, opacity 0.4s, color 0.4s;
    transform: translate(-50%, -50%);
    left: 0;
    top: 0;
}

.cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: transform 0.1s, opacity 0.1s, width 0.4s, height 0.4s;
}

.cursor.is-hovering::before {
    transform: translate(-50%, -50%) scale(0.8);
}

/* Video play/pause cursor states */
.cursor.is-video-hover::before {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.15);
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.7);
}

.cursor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    z-index: 2;
}

.cursor.is-video-hover .cursor-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1024px) {
    .cursor {
        display: none !important;
    }
}

/* ============================================
   HERO WITH CTA - Society Studios Style
   ============================================ */
.hero-with-cta {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-with-cta__container {
    width: 100%;
}

.hero-with-cta__inner {
    height: 100vh;
    position: sticky;
    top: 0;
}

.hero-with-cta__content {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-with-cta__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-with-cta__background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
}

.scroll-indicator__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator__dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ============================================
   THUMB VIDEO - Expanding from bottom-left
   ============================================ */
.thumb-video-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
}

.thumb-video {
    position: absolute;
    /* END STATE: 80% centered - GSAP animates FROM small TO this */
    bottom: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border-radius: 0;
    overflow: hidden;
    z-index: 4;
    cursor: pointer;
    pointer-events: auto;
}

.thumb-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    max-height: none;
}

.thumb-video.is-loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 1279px) {
    .thumb-video-wrap,
    .thumb-video {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.no-scroll {
    overflow: hidden;
}

/* ============================================
   HOMEPAGE SPECIFIC COMPONENTS
   ============================================ */

/* Hero with Video Background */
.hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, var(--bg-primary) 100%);
    pointer-events: none;
}

.hero__video video,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    padding: var(--space-2xl) var(--container-padding) var(--space-xl);
    position: relative;
    z-index: 1;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    animation: scrollLine 2s infinite;
}

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

/* Intro Section */
.intro-section {
    padding: var(--space-2xl) 0;
    padding-top: 160vh; /* Extra space after thumb video stays at max size */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-section__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   FLOATING QUESTION MARK ANIMATION
   ============================================ */
.intro-question {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15rem, 40vw, 30rem);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
    animation: questionFloat 8s ease-in-out infinite;
    user-select: none;
}

html.light .intro-question {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.06);
}

/* Floating animation */
@keyframes questionFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-5deg) scale(1);
    }
    25% {
        transform: translate(-45%, -55%) rotate(0deg) scale(1.02);
    }
    50% {
        transform: translate(-50%, -48%) rotate(5deg) scale(1);
    }
    75% {
        transform: translate(-55%, -52%) rotate(0deg) scale(0.98);
    }
}

/* Question mark inner glow effect */
.intro-question::before {
    content: '?';
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
    animation: questionPulse 4s ease-in-out infinite alternate;
}

html.light .intro-question::before {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.03);
}

@keyframes questionPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.intro-section__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.intro-section__text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.intro-section__text.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* Divisions Section */
.divisions-section {
    position: relative;
    padding: 0;
}

/* Sticky title that stays while videos scroll over */
.divisions-section .section-title {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(4rem, 20vw, 20rem);
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 10vh 0;
    z-index: 1;
    width: 100%;
    white-space: nowrap;
}

.divisions-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    z-index: 2; /* Videos scroll over the title */
    padding: var(--space-md) 0;
    margin-top: -15vh;
}

.division-card {
    position: relative;
    width: 80%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
    background: var(--bg-secondary);
    border-radius: 12px;
}

@media (max-width: 992px) {
    .division-card {
        width: 100%;
    }
}

.division-card__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.division-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.division-card:hover .division-card__media video {
    transform: scale(1.05);
}

/* Label at top left */
.division-card__label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 3;
}

/* Content container at bottom */
.division-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Title in round white button */
.division-card__title {
    display: inline-block;
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    background: white;
    color: black;
    border-radius: 100px;
    white-space: nowrap;
}

/* Description on right - transparent bg, white text */
.division-card__desc {
    font-size: var(--font-size-sm);
    color: white;
    text-align: right;
    opacity: 0.9;
}

/* Interconnected Section - Full width video with centered title */
.interconnected-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.interconnected-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.interconnected-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interconnected-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.interconnected-title {
    font-size: clamp(3rem, 10vw, 10rem);
    text-transform: uppercase;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Subsidiary Highlight Section */
.subsidiary-highlight {
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
}

.subsidiary-highlight__inner {
    max-width: 800px;
    margin: 0 auto;
}

.subsidiary-highlight__label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    color: white;
    border-radius: 2px;
}

.subsidiary-highlight__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.subsidiary-highlight__text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Partners Section - Society Studios Style */
.partners-section {
    padding: 112px 0 142px;
}

.partners-section__heading {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.25em;
    margin-bottom: 80px;
    text-transform: uppercase;
    font-weight: 400;
}

.partners-cols {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    justify-content: space-between;
    gap: 36px;
}

@media (max-width: 992px) {
    .partners-cols {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-cols {
        grid-template-columns: 1fr;
    }
}

.partner-col {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.partner-col__label {
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    display: block;
    flex-shrink: 0;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    line-height: 1em;
    padding: 10px 16px;
    text-align: center;
    text-transform: lowercase;
    width: fit-content;
}

.partner-col__names {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.partner-names-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.partner-name {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.35em;
    color: var(--text-secondary);
}

/* Contact Section (Homepage) */
.contact-section {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.contact-section__inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.contact-section__text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Statement Section */
.statement-section {
    padding: var(--space-lg) 0;
    padding-bottom: var(--space-md);
    text-align: center;
}

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

.statement__top,
.statement__bottom {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.statement__bottom sup {
    font-size: 0.2em;
    vertical-align: super;
}

/* Footer Enhancements */
.footer__locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

@media (max-width: 768px) {
    .footer__locations {
        grid-template-columns: 1fr;
    }
}

.footer__location h4 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.footer__location p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.footer__location a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.footer__location a:hover {
    border-color: var(--text-secondary);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social a {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-xs);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

/* Marquee Animation */
.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee__content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: marqueeScroll 30s linear infinite;
    flex-shrink: 0;
}

.marquee__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.marquee__logo sup {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-left: 0;
    vertical-align: super;
}

.marquee__text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--text-secondary);
}

.marquee__separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Button Large Variant */
.btn--large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
}

/* Subsidiary Color Variables */
:root {
    --color-craft: var(--sint-craft);
    --color-health: var(--sint-health);
    --color-tech: var(--sint-tech);
}

/* Media Item Full Width */
.media-item--full {
    width: 100%;
}

/* ============================================
   EXPAND-ON-SCROLL PROJECT HERO
   ============================================ */
.project-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.project-hero__inner {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 120px var(--container-padding) 0;
}

.project-hero__title {
    position: relative;
    z-index: 2;
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 4.5vw;
    margin-bottom: var(--space-sm);
}

/* Title animation - split text effect */
.project-hero__title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.project-hero__title.is-animated .char {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Title Line Styles - Society Studios Style */
.project-hero__title-line {
    display: block;
    text-decoration: none;
}

.project-hero__title-line--underline {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
}

/* Flyte-style title with tagline */
.project-hero__title--flyte {
    font-weight: 400;
    letter-spacing: -0.02em;
}

.project-hero__title-tagline {
    font-size: 0.5em;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 0.3em;
    font-style: italic;
}

.project-hero__tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 4.5vw;
}

.project-hero__media-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-height: 50vh;
    margin-top: 46px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center;
    background: var(--bg-secondary);
}

.project-hero__media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Sound Toggle Button */
.video-sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-sound-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.video-sound-toggle__icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-sound-toggle__icon svg {
    width: 100%;
    height: 100%;
}

/* Show muted icon by default */
.video-sound-toggle__icon--unmuted {
    display: none;
}

/* When unmuted, show unmuted icon */
.video-sound-toggle.is-unmuted .video-sound-toggle__icon--muted {
    display: none;
}

.video-sound-toggle.is-unmuted .video-sound-toggle__icon--unmuted {
    display: flex;
}

.video-sound-toggle.is-unmuted {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.video-sound-toggle__text {
    font-family: var(--font-primary);
}

/* Hero media needs position relative for button */
.hero__media,
.project-hero__media-wrapper {
    position: relative;
}

/* Loading Images - 3D Flip Animation (Lumina Style) */
.loading-images {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary, #0a0a0a);
    display: none; /* Start hidden by default */
    place-content: center;
    z-index: 4950;
    pointer-events: all;
}

/* Only show during preloader animation */
.loading-images.is-animating {
    display: grid;
}

.loading-images.is-hidden {
    display: none !important;
    pointer-events: none;
}

.loading-image {
    grid-area: 1 / 1;
    max-width: 500px;
    width: 80vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    /* Initial transform set by JS */
}

/* ============================================
   HORIZONTAL CAROUSEL - Nature/Wildlife Cards
   ============================================ */
.nature-carousel {
    padding: 80px 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.nature-carousel__title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.nature-carousel__track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.nature-carousel__track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: carouselScroll 40s linear infinite;
    width: max-content;
}

.nature-carousel__track:hover {
    animation-play-state: paused;
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.nature-card {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nature-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.nature-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nature-card__media video,
.nature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nature-card:hover .nature-card__media video,
.nature-card:hover .nature-card__media img {
    transform: scale(1.1);
}

/* Warm cinematic overlay */
.nature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(139, 69, 19, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Icon badge */
.nature-card__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nature-card:hover .nature-card__icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.nature-card__icon--circle {
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.nature-card__icon--diamond {
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 4px;
}

.nature-card__icon--diamond svg {
    transform: rotate(-45deg);
}

.nature-card__icon svg {
    width: 28px;
    height: 28px;
    fill: white;
    stroke: white;
    stroke-width: 1.5;
}

/* Card label */
.nature-card__label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nature-card:hover .nature-card__label {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nature-card {
        width: 240px;
        height: 340px;
    }

    .nature-carousel__title {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .nature-card {
        width: 200px;
        height: 280px;
    }

    .nature-card__icon {
        width: 50px;
        height: 50px;
    }

    .nature-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .nature-carousel {
        padding: 60px 0;
    }
}

/* ============================================
   CONTACT HERO - Society Studios Style
   ============================================ */
/* Contact Hero - Society Studios Style */
.contact-hero {
    position: relative;
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero__wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero__background {
    position: relative;
    width: 70%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.contact-hero__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.contact-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.contact-hero__heading {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    max-width: 900px;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 1px;
}

/* Light button variant */
.btn--light {
    border-color: #fff;
    color: #fff;
}

.btn--light::before {
    background: #fff;
}

.btn--light:hover {
    color: var(--bg-primary);
}

.btn--light .btn__arrow path {
    stroke: #fff;
}

.btn--light:hover .btn__arrow path {
    stroke: var(--bg-primary);
}

@media (max-width: 768px) {
    .contact-hero__heading {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .contact-hero__content {
        padding: var(--space-lg);
    }
}

/* ============================================
   SPA PAGE TRANSITIONS
   ============================================ */
#page-content {
    min-height: 100vh;
}

.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-transition-exit {
    opacity: 1;
    transform: translateY(0);
}

.page-transition-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* HTML classes during navigation */
html.is-navigating {
    cursor: wait;
}

html.is-navigating * {
    pointer-events: none !important;
}

/* ============================================
   CRAFT SUBSIDIARY - PROFESSIONAL TITLE ANIMATIONS
   Big Frames & Premium Wood Craft Aesthetic
   ============================================ */

/* Framed Title Container */
.craft-hero-title {
    position: relative;
    display: inline-block;
    padding: clamp(40px, 8vw, 120px);
}

/* Big Decorative Frames */
.craft-hero-title::before,
.craft-hero-title::after {
    content: '';
    position: absolute;
    border: 2px solid var(--text-primary);
    pointer-events: none;
}

/* Outer Frame */
.craft-hero-title::before {
    inset: 0;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Inner Frame */
.craft-hero-title::after {
    inset: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

/* Frame Animation State */
.craft-hero-title.is-visible::before,
.craft-hero-title.is-visible::after {
    opacity: 1;
    transform: scale(1);
}

/* Corner Decorations */
.craft-hero-title__corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-primary);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.craft-hero-title__corner--tl {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    transform: translate(-10px, -10px);
}

.craft-hero-title__corner--tr {
    top: -20px;
    right: -20px;
    border-left: none;
    border-bottom: none;
    transform: translate(10px, -10px);
}

.craft-hero-title__corner--bl {
    bottom: -20px;
    left: -20px;
    border-right: none;
    border-top: none;
    transform: translate(-10px, 10px);
}

.craft-hero-title__corner--br {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    transform: translate(10px, 10px);
}

.craft-hero-title.is-visible .craft-hero-title__corner {
    opacity: 1;
    transform: translate(0, 0);
}

.craft-hero-title.is-visible .craft-hero-title__corner--tl { transition-delay: 0.6s; }
.craft-hero-title.is-visible .craft-hero-title__corner--tr { transition-delay: 0.7s; }
.craft-hero-title.is-visible .craft-hero-title__corner--bl { transition-delay: 0.8s; }
.craft-hero-title.is-visible .craft-hero-title__corner--br { transition-delay: 0.9s; }

/* Split Text Animation - Each Letter */
.craft-title__text {
    display: block;
    overflow: hidden;
}

.craft-title__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
    transform-origin: center top;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.craft-hero-title.is-visible .craft-title__char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Staggered delay for each character */
.craft-title__char:nth-child(1) { transition-delay: 0.1s; }
.craft-title__char:nth-child(2) { transition-delay: 0.15s; }
.craft-title__char:nth-child(3) { transition-delay: 0.2s; }
.craft-title__char:nth-child(4) { transition-delay: 0.25s; }
.craft-title__char:nth-child(5) { transition-delay: 0.3s; }
.craft-title__char:nth-child(6) { transition-delay: 0.35s; }
.craft-title__char:nth-child(7) { transition-delay: 0.4s; }
.craft-title__char:nth-child(8) { transition-delay: 0.45s; }
.craft-title__char:nth-child(9) { transition-delay: 0.5s; }
.craft-title__char:nth-child(10) { transition-delay: 0.55s; }
.craft-title__char:nth-child(11) { transition-delay: 0.6s; }
.craft-title__char:nth-child(12) { transition-delay: 0.65s; }

/* Subtitle with line reveal */
.craft-subtitle {
    position: relative;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 1s, transform 0.8s ease 1s;
}

.craft-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.8s ease 0.8s, left 0.8s ease 0.8s;
}

.craft-hero-title.is-visible .craft-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.craft-hero-title.is-visible .craft-subtitle::before {
    width: 60px;
    left: calc(50% - 30px);
}

/* Premium Wood Badge */
.craft-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 20px;
    border: 1px solid var(--text-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.craft-hero-title.is-visible .craft-badge {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.1s;
}

/* Reveal Animation Variant - Clip Path */
.craft-reveal {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.craft-reveal.is-visible {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ============================================
   IMAGE SWITCHER (Craft Brand - Highly Animated)
   ============================================ */
.image-switcher {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.image-switcher--1x1 {
    aspect-ratio: 1;
}

.image-switcher--16x9 {
    aspect-ratio: 16/9;
}

.image-switcher--4x3 {
    aspect-ratio: 4/3;
}

.image-switcher__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.15s ease-out, transform 0.4s ease-out;
}

.image-switcher__image.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Animated border effect */
.image-switcher::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background: linear-gradient(45deg, var(--accent-primary), transparent, var(--accent-primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

/* Craft-specific warm amber glow */
.image-switcher--craft::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 3;
}

/* Label overlay */
.image-switcher__label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    z-index: 4;
}

/* Parallax Frame Effect on Scroll */
.craft-frame-parallax {
    position: absolute;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.3);
    pointer-events: none;
    will-change: transform;
}

.craft-frame-parallax--1 {
    inset: -40px;
}

.craft-frame-parallax--2 {
    inset: -80px;
}

.craft-frame-parallax--3 {
    inset: -120px;
}

/* Wood Grain Texture Overlay */
.craft-texture-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Elegant Hover Effects */
@media (hover: hover) {
    .craft-hero-title:hover::before {
        transform: scale(1.02);
    }

    .craft-hero-title:hover::after {
        transform: scale(0.98);
    }

    .craft-hero-title:hover .craft-title__char {
        transform: translateY(-2px);
    }
}

/* Fix 2026-10-26: real images in the media slots that held gradients */
.media-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-with-cta__background .media-cover { filter: brightness(.55); }
.interconnected-video .media-cover { filter: brightness(.6); }

/* Centre the contact block without transform (the .reveal animation overwrites transform) */
.contact-hero__content { top: 0; left: 0; right: 0; bottom: 0; transform: none; justify-content: center; margin: auto; }

/* Services list (What we do) */
.services-list { list-style: none; counter-reset: svc; padding: 0; display: grid; gap: 1.1rem; text-align: left; max-width: 760px; margin: 2rem auto; }
.services-list li { counter-increment: svc; position: relative; padding-left: 3rem; font-size: 1.05rem; line-height: 1.55; opacity: .9; }
.services-list li::before { content: counter(svc, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 700; color: #C9A84C; }
.services-list b { font-weight: 700; }
#services { padding-top: clamp(4rem, 10vw, 8rem); }
/* the 160vh top padding only exists for the desktop hero thumb animation, which is hidden below 1280px */
@media (max-width: 1279px) { #about { padding-top: clamp(4rem, 12vw, 8rem); } }
@media (max-width: 600px) { .services-list li { padding-left: 2.4rem; font-size: 1rem; } }
