/* ═══════════════════════════════════════════════════════════════
   MAAH PORCELANATO — Signature Design System
   A one-of-a-kind visual experience
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800;900&family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    --black: #0a0a0a;
    --charcoal: #141414;
    --dark: #1e1e1e;
    --grey-900: #252525;
    --grey-800: #333;
    --grey-600: #6a6a6a;
    --grey-400: #999;
    --grey-200: #d4d4d4;
    --cream: #f0ebe3;
    --warm: #c4a96a;
    --warm-light: #d4be85;
    --warm-dim: rgba(196, 169, 106, 0.15);
    --white: #fafafa;
    --pure-white: #fff;

    --ff-display: 'Outfit', sans-serif;
    --ff-serif: 'Playfair Display', serif;
    --ff-body: 'Inter', sans-serif;

    --fs-mega: clamp(4rem, 12vw, 12rem);
    --fs-display: clamp(3rem, 8vw, 7.5rem);
    --fs-h1: clamp(2.4rem, 5.5vw, 5rem);
    --fs-h2: clamp(1.8rem, 4vw, 3.2rem);
    --fs-h3: clamp(1.3rem, 2.5vw, 2rem);
    --fs-h4: clamp(1.05rem, 1.6vw, 1.3rem);
    --fs-body: clamp(0.9rem, 1.1vw, 1.05rem);
    --fs-body-lg: clamp(1rem, 1.3vw, 1.2rem);
    --fs-small: clamp(0.7rem, 0.85vw, 0.82rem);
    --fs-micro: 0.68rem;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

    --gap: clamp(1rem, 3vw, 2rem);
    --pad: clamp(1.5rem, 5vw, 4rem);
    --section-pad: clamp(5rem, 12vh, 10rem);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
    /* We handle smooth scroll in JS */
}

body {
    font-family: var(--ff-body);
    font-weight: 300;
    color: var(--white);
    background-color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    border: none;
    background: none;
    cursor: none;
    font-family: inherit;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-display);
    font-weight: 300;
    line-height: 1.1;
}

::selection {
    background-color: var(--warm);
    color: var(--black);
}

/* ── Custom Cursor ──────────────────────────────────────────── */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--warm);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.4s var(--ease-out-expo),
        height 0.4s var(--ease-out-expo),
        border-color 0.3s,
        background-color 0.3s,
        transform 0.1s linear;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--warm-light);
    background-color: rgba(196, 169, 106, 0.1);
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: var(--warm);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
}

/* ── Grain Overlay ──────────────────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── Loading Screen ─────────────────────────────────────────── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__bar {
    width: 120px;
    height: 1px;
    background: var(--grey-800);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.loader__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--warm);
    transition: width 0.3s var(--ease-out-expo);
}

.loader__text {
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--grey-600);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    mix-blend-mode: difference;
    transition: padding 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 1rem 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
}

.nav__logo {
    height: 155px;
    display: flex;
    align-items: center;
    z-index: 101;
}

.nav__logo-img {
    height: 100%;
    width: auto;
    visibility: hidden;
}

.nav__links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 0.3rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--warm);
    transition: width 0.5s var(--ease-out-expo);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.active {
    color: var(--warm);
}

/* Burger */
.nav__burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    z-index: 101;
    position: relative;
}

.nav__burger span {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--white);
    transition: all 0.5s var(--ease-out-expo);
    transform-origin: center;
}

.nav__burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay */
.nav__mobile {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--pad);
    clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
    transition: clip-path 0.8s var(--ease-out-expo);
}

.nav__mobile.open {
    clip-path: circle(150% at calc(100% - 3rem) 2.5rem);
}

.nav__mobile-link {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    display: block;
    padding: 0.3em 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s var(--ease-out-expo), color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__mobile.open .nav__mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.nav__mobile.open .nav__mobile-link:nth-child(1) {
    transition-delay: 0.25s;
}

.nav__mobile.open .nav__mobile-link:nth-child(2) {
    transition-delay: 0.3s;
}

.nav__mobile.open .nav__mobile-link:nth-child(3) {
    transition-delay: 0.35s;
}

.nav__mobile.open .nav__mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

.nav__mobile.open .nav__mobile-link:nth-child(5) {
    transition-delay: 0.45s;
}

.nav__mobile-link:hover {
    color: var(--warm);
    padding-left: 1em;
}

.nav__mobile-number {
    font-size: var(--fs-micro);
    color: var(--grey-600);
    margin-right: 1.5em;
    font-variant-numeric: tabular-nums;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* ── Section Label ──────────────────────────────────────────── */
.label {
    font-family: var(--ff-display);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm);
    display: inline-flex;
    align-items: center;
    gap: 1em;
}

.label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--warm);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--black);
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1.8s var(--ease-out-expo) 0.5s,
        transform 3s var(--ease-out-expo) 0.5s;
}

.hero.loaded .hero__bg img {
    opacity: 0.45;
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.1) 30%,
            rgba(10, 10, 10, 0.6) 70%,
            rgba(10, 10, 10, 0.95) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad) 8vh;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.hero__eyebrow {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hero__eyebrow-inner {
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--warm);
    transform: translateY(110%);
    display: block;
    animation: slideUp 1s var(--ease-out-expo) 1s forwards;
}

.hero__title {
    font-size: var(--fs-display);
    font-weight: 200;
    line-height: 0.95;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-text {
    display: block;
    transform: translateY(110%);
    animation: slideUp 1.2s var(--ease-out-expo) forwards;
}

.hero__title-line:nth-child(1) .hero__title-text {
    animation-delay: 1.1s;
}

.hero__title-line:nth-child(2) .hero__title-text {
    animation-delay: 1.25s;
}

.hero__title em {
    font-family: var(--ff-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--warm);
}

.hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 1.6s forwards;
}

.hero__desc {
    font-size: var(--fs-body);
    color: var(--grey-400);
    max-width: 380px;
    line-height: 1.8;
}

.hero__scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-micro);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-600);
}

.hero__scroll-line {
    width: 60px;
    height: 1px;
    background: var(--grey-800);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--warm);
    animation: scrollSlide 2s var(--ease-in-out-circ) infinite;
}

/* ── Marquee ────────────────────────────────────────────────── */
.marquee {
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--charcoal);
    position: relative;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__item {
    font-family: var(--ff-display);
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 200;
    white-space: nowrap;
    padding: 0 2rem;
    color: var(--grey-600);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.marquee__item span {
    color: var(--warm);
    font-size: 0.5em;
}

/* ── Intro / About Strip ────────────────────────────────────── */
.intro {
    padding: var(--section-pad) 0;
    position: relative;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    align-items: start;
}

.intro__col-text {
    padding-right: 0;
}

.intro__heading {
    font-size: var(--fs-h2);
    font-weight: 200;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.intro__heading strong {
    font-weight: 600;
    color: var(--warm);
}

.intro__body {
    font-size: var(--fs-body-lg);
    color: var(--grey-400);
    line-height: 2;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.intro__col-image {
    position: relative;
}

.intro__img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.intro__img-wrapper img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s var(--ease-out-expo);
}

.intro__img-wrapper.revealed img {
    transform: scale(1);
}

.intro__img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    z-index: 2;
    transform-origin: top;
    transform: scaleY(1);
    transition: transform 1.2s var(--ease-out-expo);
}

.intro__img-wrapper.revealed::before {
    transform: scaleY(0);
}

.intro__floating-text {
    position: absolute;
    right: -1rem;
    bottom: 2rem;
    font-family: var(--ff-display);
    font-size: var(--fs-mega);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    writing-mode: vertical-rl;
    pointer-events: none;
    display: none;
}

/* ── Horizontal Scroll Showcase ─────────────────────────────── */
.showcase {
    padding: var(--section-pad) 0 calc(var(--section-pad) / 2);
    overflow: hidden;
}

.showcase__header {
    padding: 0 var(--pad);
    max-width: 1440px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.showcase__title {
    font-size: var(--fs-h2);
    font-weight: 200;
}

.showcase__count {
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    color: var(--grey-600);
    letter-spacing: 0.1em;
}

.showcase__track {
    display: flex;
    gap: var(--gap);
    padding: 0 var(--pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.showcase__track::-webkit-scrollbar {
    display: none;
}

.showcase__track:active {
    cursor: grabbing;
}

.showcase__card {
    flex: 0 0 85vw;
    max-width: 700px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    background: var(--charcoal);
}

.showcase__card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.showcase__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.showcase__card:hover .showcase__card-img img {
    transform: scale(1.05);
}

.showcase__card-info {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase__card-title {
    font-family: var(--ff-display);
    font-size: var(--fs-h4);
    font-weight: 400;
}

.showcase__card-cat {
    font-size: var(--fs-micro);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-600);
}

.showcase__progress {
    max-width: 1440px;
    margin: 2rem auto 0;
    padding: 0 var(--pad);
}

.showcase__progress-bar {
    width: 100%;
    height: 1px;
    background: var(--grey-900);
    position: relative;
}

.showcase__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33%;
    background: var(--warm);
    transition: width 0.3s var(--ease-out-expo);
}

/* ── Pillars / Why Us ───────────────────────────────────────── */
.pillars {
    padding: var(--section-pad) 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.pillars::before {
    content: 'MAAH';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--ff-display);
    font-size: clamp(10rem, 30vw, 30rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    white-space: nowrap;
}

.pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

.pillar {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    transition: background 0.4s;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pillar__number {
    font-family: var(--ff-display);
    font-size: var(--fs-mega);
    font-weight: 800;
    color: var(--warm);
    opacity: 0.15;
    line-height: 0.8;
    min-width: 60px;
}

.pillar__content {}

.pillar__title {
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.pillar__text {
    font-size: var(--fs-body);
    color: var(--grey-400);
    line-height: 1.9;
    max-width: 500px;
}

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--black);
}

.cta-band__bg {
    position: absolute;
    inset: -20%;
}

.cta-band__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: saturate(0.6);
}

.cta-band__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.65);
}

.cta-band__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-band__title {
    font-size: var(--fs-h1);
    font-weight: 200;
    margin-bottom: 1rem;
}

.cta-band__title em {
    font-family: var(--ff-serif);
    font-style: italic;
    color: var(--warm);
}

.cta-band__sub {
    font-size: var(--fs-body-lg);
    color: var(--grey-400);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.1em 2.5em;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: color 0.4s var(--ease-out-expo), border-color 0.4s;
}

.btn--fill {
    background: var(--warm);
    color: var(--black);
}

.btn--fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.btn--fill:hover::before {
    transform: translateY(0);
}

.btn--fill span {
    position: relative;
    z-index: 1;
}

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn--outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--warm);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.btn--outline:hover {
    color: var(--black);
    border-color: var(--warm);
}

.btn--outline:hover::before {
    transform: translateY(0);
}

.btn--outline span {
    position: relative;
    z-index: 1;
}

.btn__arrow {
    transition: transform 0.3s var(--ease-out-expo);
    position: relative;
    z-index: 1;
}

.btn:hover .btn__arrow {
    transform: translateX(5px);
}

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 60dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--black);
    padding: 0 0 5rem;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.85) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad);
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.page-hero__title {
    font-size: var(--fs-h1);
    font-weight: 200;
    margin-bottom: 1rem;
}

.page-hero__title em {
    font-family: var(--ff-serif);
    font-style: italic;
    color: var(--warm);
}

.page-hero__sub {
    font-size: var(--fs-body-lg);
    color: var(--grey-400);
    max-width: 550px;
}

/* ── Stats Banner ───────────────────────────────────────────── */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--charcoal);
}

.stat {
    padding: 2.5rem var(--pad);
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.stat:last-child {
    border-right: none;
}

.stat__number {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--warm);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: var(--fs-micro);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-600);
}

/* ── Split Content ──────────────────────────────────────────── */
.split {
    padding: var(--section-pad) 0;
}

.split__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.split__img {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.split__img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split__text .label {
    margin-bottom: 1.5rem;
}

.split__heading {
    font-size: var(--fs-h2);
    font-weight: 200;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.split__heading strong {
    font-weight: 600;
}

.split__body {
    font-size: var(--fs-body-lg);
    color: var(--grey-400);
    line-height: 2;
    margin-bottom: 2rem;
}

/* ── Values List ────────────────────────────────────────────── */
.values-list {
    padding: var(--section-pad) 0;
    background: var(--charcoal);
}

.value {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    transition: background 0.4s, padding-left 0.4s var(--ease-out-expo);
}

.value:hover {
    background: rgba(255, 255, 255, 0.015);
    padding-left: 1.5rem;
}

.value__header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.value__num {
    font-family: var(--ff-display);
    font-size: var(--fs-h4);
    color: var(--warm);
    font-weight: 600;
    min-width: 35px;
}

.value__title {
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    font-weight: 400;
}

.value__desc {
    font-size: var(--fs-body);
    color: var(--grey-400);
    line-height: 1.9;
    max-width: 600px;
    padding-left: 0;
}

/* ── Gallery Grid ───────────────────────────────────────────── */
.gallery {
    padding: var(--section-pad) 0;
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.8s;
    filter: saturate(0.8);
}

.gallery__item:hover img {
    transform: scale(1.05);
    filter: saturate(1);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 50%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-title {
    font-family: var(--ff-display);
    font-size: var(--fs-h4);
    font-weight: 500;
    margin-bottom: 0.3rem;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery__item:hover .gallery__item-title {
    transform: translateY(0);
}

.gallery__item-cat {
    font-size: var(--fs-micro);
    color: var(--grey-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out-expo) 0.05s;
}

.gallery__item:hover .gallery__item-cat {
    transform: translateY(0);
}

.gallery__item--wide {
    grid-column: 1 / -1;
}

.gallery__item--wide img {
    aspect-ratio: 21 / 9;
}

/* ── Catalogue Specs ────────────────────────────────────────── */
.specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin: 3rem 0;
}

.spec {
    padding: 2rem;
    background: var(--charcoal);
    text-align: center;
}

.spec__value {
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--warm);
    margin-bottom: 0.3rem;
}

.spec__name {
    font-size: var(--fs-micro);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-600);
}

/* ── Brochure Viewer ────────────────────────────────────────── */
.viewer {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin: 3rem 0;
}

.viewer__display {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.viewer__page {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.4s var(--ease-out-expo);
}

.viewer__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.viewer__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

.viewer__btn:hover {
    border-color: var(--warm);
    background: var(--warm);
    color: var(--black);
}

.viewer__btn:disabled {
    opacity: 0.2;
    pointer-events: none;
}

.viewer__info {
    font-size: var(--fs-small);
    color: var(--grey-600);
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: center;
}

.viewer__thumbs {
    display: flex;
    gap: 6px;
    padding: 1rem 2rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow-x: auto;
    scrollbar-width: none;
}

.viewer__thumbs::-webkit-scrollbar {
    display: none;
}

.viewer__thumb {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.4;
    transition: all 0.3s var(--ease-out-expo);
}

.viewer__thumb.active,
.viewer__thumb:hover {
    border-color: var(--warm);
    opacity: 1;
}

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

/* ── Contact ────────────────────────────────────────────────── */
.contact-section {
    padding: var(--section-pad) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--ff-display);
    font-size: var(--fs-micro);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-600);
    margin-bottom: 0.6rem;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8em 0;
    outline: none;
    transition: border-color 0.4s;
    border-radius: 0;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--warm);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--grey-800);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info__item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
}

.contact-info__icon svg {
    width: 16px;
    height: 16px;
}

.contact-info__label {
    font-size: var(--fs-micro);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-600);
    margin-bottom: 0.2rem;
}

.contact-info__value {
    font-size: var(--fs-body);
    color: var(--grey-400);
}

.contact-info__value a:hover {
    color: var(--warm);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: var(--black);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer__brand-text {
    font-size: var(--fs-body);
    color: var(--grey-600);
    max-width: 320px;
    line-height: 1.8;
    margin-top: 1rem;
}

.footer__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1.2rem;
}

.footer__link {
    display: block;
    font-size: var(--fs-body);
    color: var(--grey-600);
    padding: 0.3rem 0;
    transition: color 0.3s, padding-left 0.4s var(--ease-out-expo);
}

.footer__link:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-600);
    transition: all 0.3s var(--ease-out-expo);
}

.footer__social-link:hover {
    border-color: var(--warm);
    color: var(--warm);
    transform: translateY(-3px);
}

.footer__social-link svg {
    width: 15px;
    height: 15px;
}

.footer__copyright {
    font-size: var(--fs-micro);
    color: var(--grey-800);
    text-align: center;
    letter-spacing: 0.05em;
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

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

.reveal-d1 {
    transition-delay: 0.1s;
}

.reveal-d2 {
    transition-delay: 0.2s;
}

.reveal-d3 {
    transition-delay: 0.3s;
}

.reveal-d4 {
    transition-delay: 0.4s;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollSlide {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    50.01% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 480px) {
    .stats-banner {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .showcase__card {
        flex: 0 0 65vw;
    }
}

@media (min-width: 768px) {
    body {
        cursor: none;
    }

    .nav__links {
        display: flex;
    }

    .nav__burger {
        display: none;
    }

    .intro__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }

    .intro__floating-text {
        display: block;
    }

    .intro__col-text {
        padding-right: 2rem;
    }

    .split__inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .split--reverse .split__img {
        order: -1;
    }

    .pillar {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
        padding: 3rem 2rem;
    }

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

    .gallery__item--wide {
        grid-column: 1 / -1;
    }

    .contact__grid {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .footer__top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .showcase__card {
        flex: 0 0 45vw;
    }

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

    .value {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 2.5rem 2rem;
    }

    .value__desc {
        padding-left: 50px;
    }
}

@media (min-width: 1024px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    .showcase__card {
        flex: 0 0 38vw;
        max-width: 650px;
    }

    .pillar {
        grid-template-columns: 100px 1fr;
    }

    .intro__grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 6rem;
    }
}

@media (min-width: 1280px) {
    .intro__grid {
        gap: 8rem;
    }

    .split__inner {
        gap: 6rem;
    }
}

/* ── Touch devices: show cursor ─────────────────────────────── */
@media (hover: none) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-dot {
        display: none;
    }

    button,
    a {
        cursor: pointer;
    }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {

    .nav,
    .nav__mobile,
    .grain,
    .cursor,
    .cursor-dot,
    .loader,
    .marquee {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
        cursor: auto;
    }

    .hero {
        min-height: auto;
    }
}