:root {
    --bg: #FAF7F2;
    --bg-alt: #F3EDE4;
    --bg-card: #FFFFFF;
    --surface: #F7F1E8;
    --primary: #B8956A;
    --primary-light: #D4BC9A;
    --primary-dark: #8B6F4E;
    --accent: #C9A96E;
    --text: #2C2418;
    --text-secondary: #6B5D4F;
    --text-muted: #A09484;
    --border: #E8DDD0;
    --border-light: #F0E8DC;
    --pastel-blush: #E8D5C4;
    --pastel-sage: #D5DDD0;
    --pastel-lavender: #DDD5E0;
    --pastel-cream: #F5EDE0;
    --cream: #FDF9F3;
    --shadow-sm: 0 2px 8px rgba(44, 36, 24, 0.04);
    --shadow-md: 0 8px 32px rgba(44, 36, 24, 0.08);
    --shadow-lg: 0 16px 64px rgba(44, 36, 24, 0.12);
    --shadow-xl: 0 24px 80px rgba(44, 36, 24, 0.16);
    --shadow-glow: 0 0 60px rgba(184, 149, 106, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
    contain: layout style;
}

::selection {
    background: var(--primary-light);
    color: white;
}

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

/* ─── CURSOR GLOW ─────────────────── */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
    opacity: 0;
    will-change: transform;
}

.cursor-glow.active {
    opacity: 1;
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

/* ─── CONTAINER ───────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ─── NAV ─────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    transition: transform 0.4s var(--ease-out), padding 0.4s var(--ease-out), background 0.4s;
    will-change: transform;
}

.nav--scrolled {
    padding: 14px 40px;
    background: rgba(250, 247, 242, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 40px rgba(44, 36, 24, 0.04);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav__logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
    transition: transform 0.4s var(--ease-elastic);
}

.nav__logo:hover .nav__logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.nav__logo-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--text);
    text-transform: uppercase;
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav__links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: all 0.4s var(--ease-out);
    transform: translateX(-50%);
}

.nav__links a:hover {
    color: var(--text);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__menu-btn span {
    width: 28px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

.nav__menu-btn.active span:first-child {
    transform: translateY(4.25px) rotate(45deg);
}

.nav__menu-btn.active span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: opacity;
}

.mobile-menu.active {
    pointer-events: all;
}

.mobile-menu__bg {
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    will-change: opacity;
}

.mobile-menu.active .mobile-menu__bg {
    opacity: 1;
}

.mobile-menu__links {
    list-style: none;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mobile-menu__links li {
    margin: 28px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-menu__links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu__links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu__links a {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--text);
    transition: color 0.3s;
    display: inline-block;
}

.mobile-menu__links a:hover {
    color: var(--primary);
}

/* ─── HERO ────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

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

.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(184, 149, 106, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(184, 149, 106, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
    contain: strict;
}

.hero__orb--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--pastel-cream), transparent 70%);
    top: -250px;
    right: -150px;
    animation: orbFloat1 25s ease-in-out infinite;
}

.hero__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--pastel-blush), transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: orbFloat2 20s ease-in-out infinite;
}

.hero__orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--pastel-sage), transparent 70%);
    top: 35%;
    left: 45%;
    animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -40px) scale(1.08); }
    50% { transform: translate(-30px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.03); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.06); }
    66% { transform: translate(30px, 40px) scale(0.94); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

.hero__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero__label-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

/* ─── HERO ENTRANCE (load-only, no scroll) ─── */
.hero__anim {
    opacity: 0;
    transform: translateY(36px);
    animation: heroFadeUp 1s var(--ease-out) var(--d, 0s) forwards;
}

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

.hero__line-accent {
    width: 48px;
    height: 1.5px;
    background: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    animation: lineGrow 0.8s var(--ease-out) 0.5s forwards;
}

@keyframes lineGrow {
    to { transform: scaleX(1); }
}

.hero__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 150px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 36px;
}

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

.hero__title-line--accent {
    color: var(--primary);
    font-style: italic;
    font-family: var(--font-elegant);
    font-weight: 300;
    font-size: 1.15em;
}

.hero__desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 48px;
}

.hero__cta {
    display: flex;
    gap: 16px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero__scroll span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: var(--primary);
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__side-text {
    position: absolute;
    right: 40px;
    bottom: 40px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    opacity: 0.5;
}

/* ─── SCROLL REVEAL SYSTEM ───────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out),
        filter 0.9s var(--ease-out);
    will-change: opacity, transform;
    contain: layout style;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: opacity 0.3s;
        transform: none;
        filter: none;
    }
    [data-reveal].revealed { transform: none; filter: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

[data-reveal="scale"] {
    transform: scale(0.88) translateY(20px);
}

[data-reveal="scale"].revealed {
    transform: scale(1) translateY(0);
}

[data-reveal="left"] {
    transform: translateX(-60px) translateY(10px);
}

[data-reveal="left"].revealed {
    transform: translateX(0) translateY(0);
}

[data-reveal="right"] {
    transform: translateX(60px) translateY(10px);
}

[data-reveal="right"].revealed {
    transform: translateX(0) translateY(0);
}

/* ─── BUTTONS ─────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 24px rgba(184, 149, 106, 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 40px rgba(184, 149, 106, 0.45);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: translateY(0) scale(0.98);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(184, 149, 106, 0.04);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn svg {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ─── SECTION ─────────────────────── */
.section {
    padding: 140px 0;
}

.section--stats {
    padding: 80px 0;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section__header {
    margin-bottom: 72px;
}

.section__header--center {
    text-align: center;
}

.section__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section__title em {
    font-family: var(--font-elegant);
    font-weight: 300;
    color: var(--primary);
}

.section__desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ─── STATS ───────────────────────── */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.stat {
    text-align: center;
}

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

.stat__number {
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.stat__plus {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary-light);
    margin-top: -4px;
}

.stat__label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 12px;
}

.stat__divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ─── FILTERS ─────────────────────── */
.collection__filters {
    display: flex;
    gap: 8px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--text-secondary);
}

.filter-btn--active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(184, 149, 106, 0.25);
}

/* ─── CARDS ───────────────────────── */
.collection__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), opacity 0.4s;
    cursor: pointer;
    position: relative;
    will-change: transform;
    contain: layout paint;
}

.card.hidden {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    pointer-events: none;
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card--featured {
    grid-row: span 2;
}

.card__img {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card--featured .card__img {
    aspect-ratio: auto;
    height: 55%;
}

.card__img-inner {
    position: relative;
    z-index: 1;
}

.card__3d-placeholder {
    width: 120px;
    height: 120px;
    color: var(--primary-light);
    transition: transform 0.7s var(--ease-out);
}

.card:hover .card__3d-placeholder {
    transform: scale(1.15) rotate(5deg);
}

.card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.25) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 55%
    );
    transform: translateX(-100%);
    transition: transform 0.8s var(--ease-out);
    z-index: 2;
    pointer-events: none;
}

.card:hover .card__shine {
    transform: translateX(100%);
}

.card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    z-index: 3;
}

.card__badge--gold {
    background: var(--primary);
    color: white;
}

.card__info {
    padding: 28px;
}

.card__category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

.card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin: 8px 0 10px;
    color: var(--text);
}

.card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.card__material {
    font-size: 12px;
    color: var(--text-muted);
}

.card__price {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* ─── MODEL VIEWER ────────────────── */
.section--models {
    background: var(--cream);
}

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

.model-viewer {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, var(--surface), var(--bg-alt));
    border: 1px solid var(--border-light);
    aspect-ratio: 1;
    transition: border-color 0.4s, box-shadow 0.4s;
    contain: layout paint;
    will-change: box-shadow;
}

.model-viewer:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.model-viewer__canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.model-viewer__canvas:active {
    cursor: grabbing;
}

.model-viewer__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    z-index: 5;
    transition: opacity 0.6s var(--ease-out);
}

.model-viewer__loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.model-viewer__spinner {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    will-change: transform;
}

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

.model-viewer__controls {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
}

.model-viewer__hint {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    white-space: nowrap;
    border: 1px solid rgba(232, 221, 208, 0.5);
}

.model-viewer__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(250, 247, 242, 0.95));
    z-index: 3;
}

.model-viewer__info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.model-viewer__info p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.model-viewer__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.model-viewer:hover .model-viewer__corner {
    opacity: 1;
}

.model-viewer__corner--tl {
    top: 12px; left: 12px;
    border-top: 1.5px solid var(--primary);
    border-left: 1.5px solid var(--primary);
}

.model-viewer__corner--tr {
    top: 12px; right: 12px;
    border-top: 1.5px solid var(--primary);
    border-right: 1.5px solid var(--primary);
}

.model-viewer__corner--bl {
    bottom: 12px; left: 12px;
    border-bottom: 1.5px solid var(--primary);
    border-left: 1.5px solid var(--primary);
}

.model-viewer__corner--br {
    bottom: 12px; right: 12px;
    border-bottom: 1.5px solid var(--primary);
    border-right: 1.5px solid var(--primary);
}

/* ─── PROCESS ─────────────────────── */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 24px;
}

.process__line {
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--primary), var(--primary-light), transparent);
}

.process__step {
    text-align: center;
    position: relative;
}

.process__number {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out);
}

.process__step:hover .process__number {
    border-color: var(--primary);
    box-shadow: 0 0 0 8px rgba(184, 149, 106, 0.08), var(--shadow-md);
    transform: scale(1.08);
}

.process__content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.process__content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ─── MATERIALS ───────────────────── */
.materials {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.material {
    text-align: center;
}

.material__swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: all 0.5s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.material:hover .material__swatch {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.material h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.material p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── CONTACT ─────────────────────── */
.section--contact {
    background: var(--cream);
}

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

.contact__desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 20px 0 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact__detail-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

.contact__detail a,
.contact__detail span {
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.contact__detail a:hover {
    color: var(--primary);
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--bg-card);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.form__group {
    position: relative;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 18px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease-out);
    outline: none;
    -webkit-appearance: none;
}

.form__group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A09484' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.1), var(--shadow-sm);
}

.form__group label {
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
    background: transparent;
    padding: 0 4px;
}

.form__group input:focus ~ label,
.form__group input:not(:placeholder-shown) ~ label,
.form__group textarea:focus ~ label,
.form__group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 14px;
    font-size: 11px;
    color: var(--primary);
    background: var(--bg-card);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.form__group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ─── FOOTER ──────────────────────── */
.footer {
    background: var(--text);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .nav__logo-mark {
    background: rgba(255, 255, 255, 0.12);
}

.footer__brand .nav__logo-text {
    color: white;
}

.footer__tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

.footer__links {
    display: flex;
    gap: 80px;
}

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

.footer__col h4 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.footer__col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer__col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* ─── RESPONSIVE ──────────────────── */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .collection__grid { grid-template-columns: repeat(2, 1fr); }
    .card--featured { grid-row: span 1; }
    .card--featured .card__img { height: auto; aspect-ratio: 4/3; }
    .models { grid-template-columns: 1fr 1fr; }
    .models .model-viewer:last-child { grid-column: span 2; aspect-ratio: 2/1; }
    .materials { grid-template-columns: repeat(3, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process__line { display: none; }
}

/* Tablets */
@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__menu-btn { display: flex; }
    .nav { padding: 16px 24px; }
    .nav--scrolled { padding: 12px 24px; }
    .container { padding: 0 20px; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero__content { padding: 0 20px; }
    .hero__title { font-size: 48px; }
    .hero__subtitle { font-size: 17px; }
    .hero__cta { flex-direction: column; gap: 12px; align-items: stretch; }
    .hero__cta .btn { text-align: center; }
    .hero__side-text { display: none; }
    .hero__desc { font-size: 15px; }
    .section { padding: 80px 0; }
    .section__title { font-size: 38px; }
    .section__desc { font-size: 15px; }
    .stats { flex-direction: column; gap: 36px; }
    .stat__divider { width: 48px; height: 1px; }
    .collection__grid { grid-template-columns: 1fr; }
    .card { border-radius: var(--radius-md); }
    .card__info { padding: 20px; }
    .models { grid-template-columns: 1fr; gap: 20px; }
    .models .model-viewer:last-child { grid-column: span 1; aspect-ratio: 1; }
    .model-viewer { aspect-ratio: 1; }
    .model-viewer__info { padding: 16px; }
    .model-viewer__info h3 { font-size: 16px; }
    .model-viewer__info p { font-size: 11px; }
    .model-viewer__hint { font-size: 10px; padding: 6px 14px; }
    .materials { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .material__swatch { border-radius: var(--radius-md); }
    .material h3 { font-size: 14px; }
    .material p { font-size: 12px; }
    .process { grid-template-columns: 1fr; gap: 32px; }
    .process__number { width: 60px; height: 60px; font-size: 16px; }
    .process__content h3 { font-size: 18px; }
    .contact { grid-template-columns: 1fr; gap: 48px; }
    .contact__desc { font-size: 15px; }
    .contact__form { padding: 28px; gap: 16px; }
    .form__group input, .form__group textarea, .form__group select { padding: 14px; font-size: 13px; }
    .form__group label { font-size: 13px; left: 14px; top: 14px; }
    .form__group input:focus ~ label,
    .form__group input:not(:placeholder-shown) ~ label,
    .form__group textarea:focus ~ label,
    .form__group textarea:not(:placeholder-shown) ~ label { font-size: 10px; top: -8px; left: 10px; }
    .footer { padding: 60px 0 32px; }
    .footer__top { flex-direction: column; gap: 40px; }
    .footer__links { gap: 40px; flex-wrap: wrap; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .btn { padding: 14px 28px; font-size: 13px; }
    .btn--full { width: 100%; }
    .grain-overlay { opacity: 0.015; }
}

/* Mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 0 40px; }
    .hero__title { font-size: 36px; letter-spacing: -0.5px; line-height: 1.15; }
    .hero__label { font-size: 10px; letter-spacing: 3px; }
    .hero__subtitle { font-size: 16px; }
    .hero__desc { font-size: 14px; }
    .section { padding: 64px 0; }
    .section__tag { font-size: 10px; letter-spacing: 2px; }
    .section__title { font-size: 30px; }
    .section__title br { display: none; }
    .section__desc { font-size: 14px; }
    .stat__number { font-size: 36px; }
    .stat__label { font-size: 12px; }
    .collection__grid { grid-template-columns: 1fr; gap: 16px; }
    .card__info { padding: 16px; }
    .card__name { font-size: 17px; }
    .card__category { font-size: 11px; }
    .card__desc { font-size: 13px; }
    .models { grid-template-columns: 1fr; gap: 16px; }
    .model-viewer { aspect-ratio: 4/3; }
    .models .model-viewer:last-child { aspect-ratio: 4/3; }
    .materials { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .material h3 { font-size: 13px; }
    .material p { display: none; }
    .process__step { padding: 0; }
    .process__number { width: 52px; height: 52px; font-size: 14px; margin-bottom: 16px; }
    .process__content h3 { font-size: 16px; }
    .process__content p { font-size: 13px; }
    .contact { gap: 32px; }
    .contact__form { padding: 20px; gap: 12px; grid-template-columns: 1fr; }
    .form__group input, .form__group textarea, .form__group select { padding: 14px; font-size: 14px; }
    .form__group textarea { min-height: 100px; }
    .footer__links { gap: 32px; }
    .footer__col h4 { font-size: 10px; }
    .footer__col a { font-size: 13px; }
    .mobile-menu__links a { font-size: 32px; }
    .btn { padding: 14px 24px; font-size: 13px; }
    .nav__logo-mark { width: 36px; height: 36px; font-size: 15px; }
    .nav__logo-text { font-size: 12px; letter-spacing: 3px; }
}

/* Extra small */
@media (max-width: 360px) {
    .hero__title { font-size: 30px; }
    .section__title { font-size: 26px; }
    .hero__cta .btn { font-size: 12px; padding: 12px 20px; }
    .contact__form { padding: 16px; }
    .model-viewer { aspect-ratio: 3/4; }
}
