/* =========================================================
   Grand Deco — design system
   Fonts: Fraunces (display) / Hanken Grotesk (body)
   ========================================================= */

:root {
    --ivory: #f3efe8;
    --ivory-deep: #eae4d9;
    --ink: #16130e;
    --ink-soft: #3d382f;
    --muted: #7c7466;
    --brass: #a8814f;
    --brass-soft: #c3a375;
    --line: rgba(22, 19, 14, 0.12);
    --line-light: rgba(243, 239, 232, 0.16);
    --dark: #141210;
    --dark-2: #1d1a16;
    --font-display: "Fraunces", serif;
    --font-body: "Hanken Grotesk", sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: initial; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--brass); color: var(--ivory); }

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

h1 em, h2 em, h3 em, .display em {
    font-style: italic;
    font-weight: 300;
    color: var(--brass);
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 1000;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    transition: none;
}
.preloader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.preloader-word {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 52px);
    color: var(--ivory);
    letter-spacing: 0.02em;
}
.preloader-count {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.35em;
    color: var(--brass-soft);
}

/* ---------- Header (spacefactor-style dark translucent strip) ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(24, 21, 17, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--ivory);
    transition: background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.site-header.scrolled {
    background: rgba(20, 18, 16, 0.88);
    box-shadow: 0 1px 0 rgba(243, 239, 232, 0.08);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px clamp(20px, 4vw, 56px);
}
.brand-word {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.01em;
}
.brand img { height: 40px; width: auto; }
.main-nav { display: none; gap: clamp(16px, 2.4vw, 36px); }
.main-nav a {
    font-size: 13.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--brass);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.quote-pill {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
    transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.quote-pill:hover { background: var(--ivory); color: var(--ink); }
.search-toggle {
    background: none; border: none; color: inherit;
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.search-toggle:hover { opacity: 1; background: var(--ivory); color: var(--ink); }
.quote-count {
    background: var(--brass); color: var(--ivory);
    font-size: 11px; min-width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; padding: 0 5px;
}
.menu-toggle span { display: block; height: 1.5px; width: 100%; background: currentColor; transition: transform 0.35s var(--ease-out), opacity 0.3s, width 0.35s var(--ease-out); }

/* Dark header variant (over dark hero) */
.header-on-dark:not(.scrolled) { color: var(--ivory); }
.header-on-dark:not(.scrolled) .quote-pill { border-color: var(--ivory); }
.header-on-dark:not(.scrolled) .quote-pill:hover { background: var(--ivory); color: var(--ink); }
.header-on-dark:not(.scrolled) .menu-toggle span { background: var(--ivory); }

/* ---------- Menu overlay (left slide-in frosted panel) ---------- */
.mobile-menu {
    position: fixed; inset: 0; z-index: 190;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 0.7s;
}
.mobile-menu.open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.menu-panel {
    position: absolute; top: 0; bottom: 0; left: 0;
    width: min(60vw, 1100px);
    background: rgba(38, 34, 28, 0.55);
    -webkit-backdrop-filter: blur(26px) saturate(1.1);
    backdrop-filter: blur(26px) saturate(1.1);
    color: var(--ivory);
    padding: clamp(120px, 18vh, 190px) clamp(28px, 5vw, 72px) 48px;
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease-out);
    overflow-y: auto;
}
.mobile-menu.open .menu-panel { transform: translateX(0); }
.mobile-menu nav {
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: 8px;
    max-width: 860px;
}
.mobile-menu nav a {
    font-size: 15px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 14px 0;
    opacity: 0.85;
    transition: opacity 0.3s, color 0.3s, padding-left 0.35s var(--ease-out);
}
.mobile-menu nav a:hover { opacity: 1; color: var(--brass-soft); padding-left: 8px; }
.menu-divider { height: 1px; background: rgba(243, 239, 232, 0.35); max-width: 860px; margin: 34px 0 30px; }
.menu-social { display: flex; gap: 14px; }
.menu-social a {
    width: 38px; height: 38px;
    border: 1px solid rgba(243, 239, 232, 0.4);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s;
}
.menu-social a:hover { background: var(--ivory); color: var(--ink); }
.mobile-menu-foot { margin-top: 40px; font-size: 13.5px; letter-spacing: 0.08em; color: rgba(243, 239, 232, 0.55); }
.mobile-menu-foot p { padding: 2px 0; }
@media (max-width: 860px) {
    .menu-panel { width: 100vw; }
    .mobile-menu nav { grid-template-rows: repeat(10, auto); }
}
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--ivory); }
body.menu-open .menu-toggle span { background: var(--ivory); }
body.menu-open .quote-pill { border-color: var(--ivory); color: var(--ivory); }
body.menu-open .quote-pill:hover { background: var(--ivory); color: var(--ink); }

/* ---------- Toast ---------- */
.toast-note {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
    background: var(--ink); color: var(--ivory);
    padding: 14px 28px; border-radius: 999px;
    font-size: 14px; z-index: 300;
    animation: toastIn 0.6s var(--ease-out) 0.4s forwards, toastOut 0.5s ease-in 4.5s forwards;
    max-width: min(90vw, 520px); text-align: center;
}
@keyframes toastIn { to { transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { to { transform: translateX(-50%) translateY(150%); } }

/* ---------- Buttons ---------- */
.btn-line {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 15px 30px;
    position: relative; overflow: hidden;
    isolation: isolate;
    transition: color 0.4s var(--ease-out);
}
.btn-line::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.45s var(--ease-out);
    border-radius: inherit;
}
.btn-line:hover { color: var(--ivory); }
.btn-line:hover::before { transform: translateY(0); }
.btn-line svg { transition: transform 0.4s var(--ease-out); }
.btn-line:hover svg { transform: translateX(5px); }

.btn-line.on-dark::before { background: var(--ivory); }
.btn-line.on-dark:hover { color: var(--ink); }

.btn-solid {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--ink); color: var(--ivory);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 15px 30px;
    transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.btn-solid:hover { background: transparent; color: var(--ink); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}
.link-arrow svg { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Ring motif watermark ---------- */
.ring-motif,
.page-hero,
.section-deep,
.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.ring-motif::before,
.page-hero::before,
.section-deep::before,
.site-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background-image: url("../img/pattern-rings.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    width: clamp(320px, 42vw, 620px);
    aspect-ratio: 768 / 1200;
    top: 50%;
    left: -14%;
    transform: translateY(-50%);
    opacity: 0.07;
}
/* Mirrored, right-anchored variant */
.ring-motif.ring-right::before,
.page-hero::before,
.site-footer::before {
    left: auto;
    right: -14%;
    transform: translateY(-50%) scaleX(-1);
}
/* Slightly stronger on dark grounds so it stays visible */
.section-dark::before,
.site-footer::before { opacity: 0.10; }
@media (max-width: 768px) {
    .ring-motif::before,
    .page-hero::before,
    .section-deep::before,
    .site-footer::before { width: clamp(240px, 70vw, 380px); opacity: 0.05; }
    .section-dark::before,
    .site-footer::before { opacity: 0.08; }
}

/* ---------- Sections / shared ---------- */
.section { padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 56px); }
.section-dark { background: var(--dark); color: var(--ivory); }
.section-deep { background: var(--ivory-deep); }
.section-head { max-width: 1500px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--brass); }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(34px, 4.6vw, 68px); max-width: 18ch; }
.section-head.center .section-title { margin-inline: auto; }
.section-sub { margin-top: 22px; color: var(--muted); max-width: 56ch; font-size: 17px; font-weight: 300; }
.section-dark .section-sub { color: rgba(243, 239, 232, 0.6); }
.section-head.center .section-sub { margin-inline: auto; }
.wrap { max-width: 1500px; margin: 0 auto; }

/* Reveal primitives (JS-driven) */
.reveal, .reveal-img, .split-lines .line-inner { will-change: transform, opacity; }
.reveal { opacity: 0; transform: translateY(48px); }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.18); will-change: transform; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; height: 100svh; min-height: 640px;
    color: var(--ivory);
    overflow: hidden;
    background: var(--dark);
}
.hero .swiper { position: absolute; inset: 0; }
.hero .swiper-slide { overflow: hidden; }
.hero-media { position: absolute; inset: -8% 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.42) 0%, rgba(20, 18, 16, 0.18) 45%, rgba(20, 18, 16, 0.62) 100%);
}
.hero-content {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 7vh, 84px);
    pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero-eyebrow {
    font-size: 12.5px; letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--brass-soft);
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(44px, 7.4vw, 110px);
    max-width: 13ch;
    margin-bottom: 26px;
}
.hero-sub { max-width: 46ch; color: rgba(243, 239, 232, 0.75); font-weight: 300; font-size: 17px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-footer {
    position: absolute; z-index: 6;
    right: clamp(20px, 4vw, 56px); bottom: clamp(48px, 7vh, 84px);
    display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
}
.hero-count { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.2em; color: rgba(243,239,232,0.8); }
.hero-count .current { font-size: 26px; color: var(--ivory); }
.hero-nav { display: flex; gap: 10px; }
.hero-nav button {
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(243, 239, 232, 0.4);
    background: transparent; color: var(--ivory);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.35s, border-color 0.35s;
}
.hero-nav button:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero-progress {
    position: absolute; left: 0; bottom: 0; z-index: 7;
    height: 2px; width: 100%; background: rgba(243, 239, 232, 0.15);
}
.hero-progress span { display: block; height: 100%; width: 0; background: var(--brass); }
.hero-scroll {
    position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translateX(-50%);
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(243,239,232,0.55);
    display: none;
}

/* ---------- Wordmark (GRAND light + DECO bold) ---------- */
.wordmark {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1;
}
.wordmark .w-light { font-weight: 200; }
.wordmark .w-bold { font-weight: 800; }
.wm-header { font-size: 19px; }
.wm-preloader { font-size: clamp(30px, 5vw, 54px); color: var(--ivory); }
.wm-menu { font-size: clamp(22px, 3vw, 30px); color: var(--ivory); }
.wm-hero {
    font-size: clamp(44px, 9.5vw, 148px);
    color: #fff;
    letter-spacing: 0.02em;
}

/* ---------- Header extras ---------- */
.header-left { display: flex; align-items: center; gap: 20px; }
.header-mid {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 22px;
}
.header-inner { position: relative; }
.header-phone { font-size: 14px; letter-spacing: 0.12em; }
.header-social { display: flex; align-items: center; gap: 14px; }
.header-social a { opacity: 0.8; transition: opacity 0.3s; display: inline-flex; }
.header-social a:hover { opacity: 1; }
@media (max-width: 900px) { .header-mid { display: none; } }

.menu-toggle {
    display: flex;
    background: none; border: none;
    color: inherit;
    width: 36px; height: 30px;
    flex-direction: column; justify-content: center; gap: 6px;
}
.menu-toggle span:nth-child(3) { width: 70%; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { width: 100%; transform: translateY(-7.5px) rotate(-45deg); }
.menu-brand { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); }

/* ---------- Spacefactor-style hero ---------- */
.hero-sf { background: var(--dark); }
.hero-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; }
.hero-slide.is-active { visibility: visible; }
.hero-slide .slice {
    position: absolute; top: 0; bottom: 0;
    width: 20.15%; /* slight overlap kills seam lines */
    overflow: hidden;
    will-change: clip-path;
}
.hero-slide .slice-0 { left: 0; }
.hero-slide .slice-1 { left: 20%; }
.hero-slide .slice-2 { left: 40%; }
.hero-slide .slice-3 { left: 60%; }
.hero-slide .slice-4 { left: 80%; }
.hero-slide .slice img {
    position: absolute; top: 0; height: 100%; width: 500%;
    max-width: none;
    object-fit: cover;
    will-change: transform;
}
.hero-slide .slice-0 img { left: 0; }
.hero-slide .slice-1 img { left: -100%; }
.hero-slide .slice-2 img { left: -200%; }
.hero-slide .slice-3 img { left: -300%; }
.hero-slide .slice-4 img { left: -400%; }
.hero-shade {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.5) 0%, rgba(20, 18, 16, 0.22) 40%, rgba(20, 18, 16, 0.55) 100%);
}
.hero-center {
    position: absolute; inset: 0; z-index: 6;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    padding: 0 16px;
}
.hero-side {
    position: absolute; z-index: 6;
    left: clamp(14px, 2vw, 28px); top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    rotate: 180deg;
    font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
    color: rgba(243, 239, 232, 0.55);
}
.hero-bottom {
    position: absolute; z-index: 7;
    left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px);
    bottom: clamp(28px, 5vh, 52px);
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    pointer-events: none; /* let clicks through the empty strip to the slider arrows */
}
.hero-bottom > * { pointer-events: auto; }
.hero-order { background: rgba(20, 18, 16, 0.35); backdrop-filter: blur(6px); border-color: rgba(243, 239, 232, 0.5); color: var(--ivory); }
.hero-phone { color: var(--ivory); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: 0.14em; }
.hero-bottom-right { display: flex; align-items: center; gap: 18px; }
.hero-sf .hero-footer {
    right: clamp(20px, 4vw, 56px);
    bottom: clamp(28px, 5vh, 52px);
    gap: 16px;
    z-index: 8;
}
.hero-brand-logo {
    max-height: 130px;
    max-width: 360px;
    width: auto;
    object-fit: contain;
    margin-bottom: 4px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
@media (max-width: 640px) {
    .hero-brand-logo { max-height: 80px; max-width: 220px; }
}
@media (max-width: 640px) {
    .hero-side { display: none; }
    .hero-sf .hero-footer { bottom: clamp(110px, 18vh, 160px); }
}

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed; inset: 0; z-index: 220;
    background: rgba(20, 18, 16, 0.82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--ivory);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0s 0.45s;
}
.search-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease-out); }
.search-close {
    position: absolute; top: 26px; right: clamp(20px, 4vw, 56px);
    background: none; border: none; color: var(--ivory);
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s;
}
.search-close:hover { background: var(--ivory); color: var(--ink); }
.search-form { width: min(90vw, 880px); text-align: center; }
.search-hint { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 26px; }
.search-field {
    display: flex; align-items: center; gap: 18px;
    border-bottom: 1px solid rgba(243, 239, 232, 0.35);
    padding-bottom: 14px;
    transition: border-color 0.3s;
}
.search-field:focus-within { border-color: var(--brass); }
.search-field input {
    flex: 1;
    background: none; border: none; outline: none;
    font-family: var(--font-display);
    font-size: clamp(26px, 4.4vw, 54px);
    color: var(--ivory);
    min-width: 0;
}
.search-field input::placeholder { color: rgba(243, 239, 232, 0.35); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field button {
    background: none; border: none; color: var(--ivory);
    width: 56px; height: 56px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s;
}
.search-field button:hover { background: var(--ivory); color: var(--ink); }
.search-tags { margin-top: 28px; font-size: 13.5px; color: rgba(243, 239, 232, 0.5); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.search-tags a { color: rgba(243, 239, 232, 0.8); border-bottom: 1px solid rgba(243, 239, 232, 0.3); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.search-tags a:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

/* Search page form */
.search-page-form {
    display: flex; align-items: center; gap: 16px;
    margin-top: 30px; max-width: 640px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}
.search-page-form:focus-within { border-color: var(--brass); }
.search-page-form input {
    flex: 1; background: none; border: none; outline: none;
    font-family: var(--font-body); font-size: 18px; color: var(--ink);
    min-width: 0;
}
.search-page-form input::-webkit-search-cancel-button { display: none; }
.search-page-form button { background: none; border: none; color: var(--ink); display: flex; padding: 6px; }
.search-page-form button:hover { color: var(--brass); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
    position: fixed; z-index: 150;
    right: 22px; bottom: 22px;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s var(--ease-out);
}
.wa-fab:hover { transform: scale(1.08); }

/* ---------- Scroll-driven background word ---------- */
.scroll-word {
    overflow: hidden;
    line-height: 0.85;
    padding: clamp(10px, 2vw, 30px) 0;
    pointer-events: none;
    user-select: none;
}
.scroll-word span {
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(110px, 19vw, 280px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(22, 19, 14, 0.14);
    will-change: transform;
}

/* ---------- Flip line (rotating speciality) ---------- */
.flip-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 26px);
    padding: clamp(12px, 1.4vw, 18px) clamp(20px, 4vw, 56px);
    border-block: 1px solid var(--line);
    background: var(--ivory);
    overflow: hidden;
}
.flip-line + .section { padding-top: clamp(40px, 5vw, 64px); }
.fl-prefix {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 34px);
    color: var(--ink-soft);
    white-space: nowrap;
}
.fl-slot {
    display: inline-block;
    overflow: hidden;
    line-height: 1.25;
    vertical-align: bottom;
}
.fl-word {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(20px, 2.4vw, 34px);
    color: var(--brass);
    white-space: nowrap;
    will-change: transform;
}
.fl-diamond {
    width: 8px; height: 8px;
    background: var(--brass);
    transform: rotate(45deg);
    flex: none;
    opacity: 0.7;
}
@media (max-width: 560px) {
    .fl-diamond { display: none; }
    .flip-line { flex-direction: column; gap: 2px; }
}

/* ---------- Intro / About preview ---------- */
.intro-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    max-width: 1500px; margin: 0 auto;
}
.intro-copy .section-title { margin-bottom: 26px; }
.intro-copy p { color: var(--muted); font-weight: 300; font-size: 17px; margin-bottom: 20px; max-width: 54ch; }
.intro-stats { display: flex; gap: clamp(28px, 4vw, 64px); margin: 38px 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(38px, 4vw, 60px); color: var(--ink); line-height: 1; }
.stat-num sup { font-size: 0.5em; color: var(--brass); }
.stat-label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.intro-visual { position: relative; }
.intro-visual .main-img { aspect-ratio: 4 / 5; }
.intro-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-visual .float-img {
    position: absolute; bottom: -9%; left: -14%;
    width: 46%; aspect-ratio: 1;
    border: 8px solid var(--ivory);
    display: none;
}
.intro-visual .float-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) { .intro-visual .float-img { display: block; } }

/* ---------- Services showcase (spacefactor-style cards) ---------- */
.services-intro {
    font-family: var(--font-display);
    font-size: clamp(18px, 1.8vw, 24px);
    color: var(--ivory);
    margin-bottom: 18px;
}
.services-lead {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(26px, 3.4vw, 48px);
    line-height: 1.25;
    color: var(--brass-soft);
    text-transform: lowercase;
    letter-spacing: 0.01em;
    max-width: 24ch;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(22px, 3vw, 44px);
    max-width: 1500px;
    margin: 0 auto;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 6px;
}
.sc-frame {
    position: absolute;
    inset: 24px -12px -12px 14px;
    border: 1px solid rgba(168, 129, 79, 0.55);
    pointer-events: none;
    transition: inset 0.45s var(--ease-out), border-color 0.35s;
}
.service-card:hover .sc-frame { inset: 18px -6px -6px 8px; border-color: var(--brass-soft); }
.sc-media {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--dark-2);
}
.sc-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.service-card:hover .sc-media img { transform: scale(1.06); }
.sc-title {
    position: absolute;
    top: 56px; left: -10px;
    z-index: 3;
    background: #0d0c0a;
    color: var(--ivory);
    font-size: clamp(19px, 1.7vw, 26px);
    letter-spacing: 0.06em;
    padding: 14px 22px;
    max-width: 88%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: color 0.3s;
}
.service-card:hover .sc-title { color: var(--brass-soft); }
.sc-desc {
    border: 1px solid rgba(168, 129, 79, 0.45);
    margin: 20px 10px 0 24px;
    padding: 20px 18px;
    transition: border-color 0.35s;
}
.service-card:hover .sc-desc { border-color: var(--brass-soft); }
.sc-desc p {
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    color: rgba(243, 239, 232, 0.72);
}
@media (max-width: 1100px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .service-cards { grid-template-columns: 1fr; }
    .sc-title { left: 0; }
}

/* ---------- Services ---------- */
.services-list { max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line-light); }
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr auto;
    align-items: center;
    gap: clamp(18px, 3vw, 48px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid var(--line-light);
    position: relative;
    transition: padding-left 0.45s var(--ease-out);
}
.service-row:hover { padding-left: 18px; }
.service-index { font-family: var(--font-display); font-size: 15px; color: var(--brass-soft); letter-spacing: 0.1em; }
.service-row h3 { font-size: clamp(24px, 2.8vw, 40px); transition: color 0.3s; }
.service-row:hover h3 { color: var(--brass-soft); }
.service-row p { color: rgba(243, 239, 232, 0.55); font-weight: 300; font-size: 15.5px; max-width: 52ch; }
.service-arrow {
    width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid var(--line-light);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.35s, color 0.35s, transform 0.45s var(--ease-out);
}
.service-row:hover .service-arrow { background: var(--ivory); color: var(--ink); transform: rotate(-45deg); }
.service-thumb {
    position: fixed; z-index: 90; pointer-events: none;
    width: 300px; height: 210px;
    overflow: hidden; border-radius: 4px;
    opacity: 0; transform: scale(0.85);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.service-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.service-thumb img.active { opacity: 1; }
.service-thumb.visible { opacity: 1; transform: scale(1); }
@media (hover: none) { .service-thumb { display: none; } }

/* ---------- Projects ---------- */
.projects-grid {
    display: grid; grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 3vw, 44px);
    max-width: 1500px; margin: 0 auto;
}
.project-card { position: relative; display: block; }
.project-card:nth-child(4n + 1) { grid-column: span 7; }
.project-card:nth-child(4n + 2) { grid-column: span 5; margin-top: clamp(30px, 6vw, 96px); }
.project-card:nth-child(4n + 3) { grid-column: span 5; }
.project-card:nth-child(4n + 4) { grid-column: span 7; margin-top: clamp(-40px, -3vw, -20px); }
.project-media { overflow: hidden; aspect-ratio: 4 / 3; }
.project-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.project-card:hover .project-media img { transform: scale(1.06); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; gap: 16px; }
.project-meta h3 { font-size: clamp(20px, 2vw, 28px); }
.project-tags { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.section-foot { text-align: center; margin-top: clamp(40px, 6vw, 72px); }

/* ---------- Categories (catalogue teaser) ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 28px);
    max-width: 1500px; margin: 0 auto;
}
.cat-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.cat-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 16, 0.72) 100%);
    transition: opacity 0.4s;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-label {
    position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px;
    color: var(--ivory);
    display: flex; justify-content: space-between; align-items: center;
}
.cat-label h3 { font-size: clamp(18px, 1.6vw, 24px); }
.cat-label .count { font-size: 12px; letter-spacing: 0.14em; opacity: 0.75; }

/* ---------- Product cards ---------- */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px);
    max-width: 1500px; margin: 0 auto;
}
.product-card { position: relative; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ivory-deep); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-quote-btn {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
    background: var(--ivory); color: var(--ink);
    border: none; border-radius: 999px;
    padding: 13px 18px;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.product-card:hover .product-quote-btn { opacity: 1; transform: translateY(0); }
.product-quote-btn:hover { background: var(--ink); color: var(--ivory); }
@media (hover: none) { .product-quote-btn { opacity: 1; transform: none; } }
.product-info { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.product-info .cat { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.product-info h3 { font-size: 19px; font-weight: 400; }
.product-info .price { font-size: 14px; color: var(--muted); }

/* ---------- Catalogue library list ---------- */
.catalogue-list { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--line); }
.catalogue-row {
    display: grid; grid-template-columns: 110px 1fr auto;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.4s var(--ease-out);
}
.catalogue-row:hover { padding-left: 14px; }
.catalogue-thumb {
    width: 110px; height: 140px;
    background: var(--ivory-deep);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--brass);
    box-shadow: 0 6px 18px rgba(22, 19, 14, 0.1);
}
.catalogue-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.catalogue-row:hover .catalogue-thumb img { transform: scale(1.06); }
.catalogue-brand { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 6px; }
.catalogue-info h3 { font-size: clamp(20px, 2.2vw, 28px); transition: color 0.3s; }
.catalogue-row:hover .catalogue-info h3 { color: var(--brass); }
.catalogue-type { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: block; }
.catalogue-open {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 22px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.catalogue-row:hover .catalogue-open { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (max-width: 640px) {
    .catalogue-row { grid-template-columns: 80px 1fr; }
    .catalogue-thumb { width: 80px; height: 104px; }
    .catalogue-open { display: none; }
}

/* ---------- Process ---------- */
.process-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    max-width: 1500px; margin: 0 auto;
    counter-reset: step;
}
.process-card { position: relative; padding-top: 34px; border-top: 1px solid var(--line); }
.section-dark .process-card { border-color: var(--line-light); }
.process-num {
    font-family: var(--font-display);
    font-size: clamp(52px, 6vw, 84px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--brass);
    margin-bottom: 20px;
    display: block;
}
.process-card h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 14px; }
.process-card p { color: var(--muted); font-weight: 300; font-size: 15.5px; max-width: 40ch; }
.section-dark .process-card p { color: rgba(243, 239, 232, 0.55); }

/* ---------- Our Process timeline ---------- */
.process-timeline {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}
.process-timeline::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.pt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: center;
    padding: clamp(36px, 6vw, 80px) 0;
    position: relative;
}
.pt-row.is-flipped .pt-media { order: 2; }
.pt-row.is-flipped .pt-copy { order: 1; text-align: right; }
.pt-row.is-flipped .pt-copy .pt-num { margin-left: auto; }
.pt-media { overflow: hidden; aspect-ratio: 4 / 3; }
.pt-media img { width: 100%; height: 100%; object-fit: cover; }
.pt-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 120px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--brass);
    margin-bottom: 22px;
}
.pt-copy h2 { font-size: clamp(26px, 3vw, 44px); margin-bottom: 18px; max-width: 16ch; }
.pt-row.is-flipped .pt-copy h2 { margin-left: auto; }
.pt-copy p { color: var(--muted); font-weight: 300; font-size: 16.5px; max-width: 46ch; }
.pt-row.is-flipped .pt-copy p { margin-left: auto; }
.pt-row::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1px solid var(--brass);
}
@media (max-width: 860px) {
    .process-timeline::before, .pt-row::after { display: none; }
    .pt-row { grid-template-columns: 1fr; gap: 26px; }
    .pt-row.is-flipped .pt-media { order: 0; }
    .pt-row.is-flipped .pt-copy { order: 1; text-align: left; }
    .pt-row.is-flipped .pt-copy .pt-num,
    .pt-row.is-flipped .pt-copy h2,
    .pt-row.is-flipped .pt-copy p { margin-left: 0; }
}

/* ---------- Testimonials ---------- */
.testimonial-slider { max-width: 980px; margin: 0 auto; text-align: center; }
.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 34px;
}
.testimonial-quote::before { content: "\201C"; color: var(--brass); }
.testimonial-quote::after { content: "\201D"; color: var(--brass); }
.testimonial-person { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testimonial-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.testimonial-person .name { font-size: 15px; letter-spacing: 0.06em; }
.testimonial-person .role { font-size: 13px; color: var(--muted); }
.testimonial-slider .swiper-pagination { position: static; margin-top: 40px; }
.testimonial-slider .swiper-pagination-bullet { background: var(--muted); opacity: 0.4; }
.testimonial-slider .swiper-pagination-bullet-active { background: var(--brass); opacity: 1; }

/* ---------- Brands ---------- */
.brand-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: clamp(28px, 5vw, 72px);
    max-width: 1200px; margin: 0 auto;
    align-items: center;
}
.brand-row img { height: 34px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.brand-row img:hover { opacity: 1; filter: none; }
.brand-row .brand-text {
    font-family: var(--font-display); font-size: 22px; color: var(--muted);
    transition: color 0.3s;
}
.brand-row .brand-text:hover { color: var(--ink); }

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 44px) clamp(18px, 2.4vw, 32px);
    max-width: 1300px;
    margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
    position: relative;
    aspect-ratio: 3 / 3.6;
    overflow: hidden;
    background: var(--ivory-deep);
    margin-bottom: 18px;
}
.team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.25);
    transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.team-card:hover .team-photo img { transform: scale(1.05); filter: grayscale(0); }
.team-linkedin {
    position: absolute;
    right: 12px; bottom: 12px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(243, 239, 232, 0.9);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.team-card:hover .team-linkedin { opacity: 1; transform: translateY(0); }
.team-linkedin:hover { background: var(--ink); color: var(--ivory); }
@media (hover: none) { .team-linkedin { opacity: 1; transform: none; } }
.team-card h3 { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 4px; }
.team-role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } }

/* ---------- Partners ---------- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 44px);
    max-width: 1500px;
    margin: 0 auto;
}
.partner-card {
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.partner-card:hover { box-shadow: 0 24px 60px rgba(22, 19, 14, 0.12); transform: translateY(-4px); }
.partner-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ivory-deep);
}
.partner-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.partner-card:hover .partner-media > img { transform: scale(1.05); }
.partner-mark {
    position: absolute;
    left: 18px; bottom: -1px;
    background: #fff;
    padding: 12px 20px 0;
    max-width: 75%;
}
.partner-mark img { height: 30px; width: auto; }
.partner-mark span { font-family: var(--font-display); font-size: 21px; }
.partner-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.partner-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.partner-head h3 { font-size: 22px; }
.partner-origin { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.partner-body p { color: var(--muted); font-weight: 300; font-size: 15px; flex: 1; }
.partner-body .link-arrow { align-self: flex-start; font-size: 12px; }
@media (max-width: 1000px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.journal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 44px);
    max-width: 1500px; margin: 0 auto;
}
.journal-card .journal-media { overflow: hidden; aspect-ratio: 4 / 3; }
.journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.journal-card:hover img { transform: scale(1.06); }
.journal-card time { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin: 18px 0 8px; }
.journal-card h3 { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.3; }
.journal-card p { color: var(--muted); font-size: 15px; font-weight: 300; margin-top: 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: calc(clamp(90px, 14vh, 150px) + 40px) clamp(20px, 4vw, 56px) clamp(48px, 7vw, 90px);
    background: var(--ivory);
}
.page-hero .wrap { border-bottom: 1px solid var(--line); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(42px, 6.5vw, 96px); max-width: 16ch; }
.page-hero .crumb { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; display: flex; gap: 10px; }
.page-hero .crumb span { color: var(--muted); }
.page-hero .lede { margin-top: 24px; color: var(--muted); font-size: 17px; font-weight: 300; max-width: 58ch; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto clamp(36px, 5vw, 56px); max-width: 1500px; }
.filter-chip {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-chip:hover, .filter-chip.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Project detail ---------- */
.detail-hero { position: relative; height: 72vh; min-height: 480px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    padding: clamp(30px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--line);
}
.fact-label { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.fact-value { font-family: var(--font-display); font-size: 19px; }
.detail-body { max-width: 820px; margin: clamp(40px, 6vw, 72px) auto; font-size: 17.5px; font-weight: 300; color: var(--ink-soft); }
.detail-body p { margin-bottom: 22px; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); max-width: 1500px; margin: 0 auto; }
.detail-gallery .g-item { overflow: hidden; }
.detail-gallery .g-item:nth-child(3n + 1) { grid-column: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.detail-gallery .g-item:not(:nth-child(3n + 1)) img { aspect-ratio: 4 / 3; }
.next-project { text-align: center; }
.next-project .hint { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.next-project a { font-family: var(--font-display); font-size: clamp(34px, 5vw, 72px); transition: color 0.3s; }
.next-project a:hover { color: var(--brass); }

/* ---------- Product detail ---------- */
.product-detail {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(36px, 5vw, 84px);
    max-width: 1500px; margin: 0 auto;
    align-items: start;
}
.pd-gallery .pd-main { aspect-ratio: 1; overflow: hidden; background: var(--ivory-deep); margin-bottom: 14px; }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-thumbs button {
    width: 84px; height: 84px; padding: 0; border: 1px solid var(--line); background: none;
    overflow: hidden; opacity: 0.65; transition: opacity 0.3s, border-color 0.3s;
}
.pd-thumbs button.active, .pd-thumbs button:hover { opacity: 1; border-color: var(--brass); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { position: sticky; top: 110px; }
.pd-info .cat { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; display: block; }
.pd-info h1 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 16px; }
.pd-info .price { font-family: var(--font-display); font-size: 21px; color: var(--ink-soft); margin-bottom: 24px; }
.pd-info .desc { color: var(--muted); font-weight: 300; margin-bottom: 30px; max-width: 52ch; }
.pd-specs { border-top: 1px solid var(--line); margin-bottom: 34px; }
.pd-specs .spec { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pd-specs .spec dt { color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.pd-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty-control button { background: none; border: none; width: 44px; height: 50px; font-size: 18px; color: var(--ink); }
.qty-control input {
    width: 44px; border: none; background: none; text-align: center;
    font-family: var(--font-body); font-size: 15px; -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 84px); max-width: 1400px; margin: 0 auto; align-items: start; }
.quote-items { border-top: 1px solid var(--line); }
.quote-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.quote-item img { width: 96px; height: 96px; object-fit: cover; }
.quote-item h3 { font-size: 19px; }
.quote-item .cat { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.quote-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.remove-link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: none; border: none; border-bottom: 1px solid transparent; transition: color 0.3s; }
.remove-link:hover { color: #a33; }
.quote-form-card { background: var(--dark); color: var(--ivory); padding: clamp(28px, 3.4vw, 48px); position: sticky; top: 110px; }
.quote-form-card h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; }
.quote-form-card > p { color: rgba(243, 239, 232, 0.6); font-weight: 300; font-size: 15px; margin-bottom: 28px; }
.empty-state { text-align: center; padding: clamp(48px, 8vw, 100px) 20px; }
.empty-state h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.empty-state p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 9px; color: var(--muted); }
.section-dark .field label, .quote-form-card .field label { color: rgba(243, 239, 232, 0.55); }
.field input, .field select, .field textarea {
    width: 100%;
    background: transparent;
    border: none; border-bottom: 1px solid var(--line);
    padding: 11px 2px;
    font-family: var(--font-body); font-size: 16px; color: inherit;
    border-radius: 0;
    transition: border-color 0.3s;
}
.section-dark .field input, .section-dark .field select, .section-dark .field textarea,
.quote-form-card .field input, .quote-form-card .field textarea {
    border-bottom-color: var(--line-light);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.form-error { color: #c0563e; font-size: 13px; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--muted); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 96px); max-width: 1400px; margin: 0 auto; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 20px; }
.contact-info p { color: var(--muted); font-weight: 300; margin-bottom: 28px; max-width: 40ch; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; }
.contact-lines a, .contact-lines span { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 26px); padding: 10px 0; border-bottom: 1px solid var(--line); transition: color 0.3s; }
.contact-lines a:hover { color: var(--brass); }

/* ---------- Success panel ---------- */
.success-panel { text-align: center; padding: clamp(60px, 10vw, 140px) 20px; max-width: 640px; margin: 0 auto; }
.success-panel .ok-ring {
    width: 84px; height: 84px; margin: 0 auto 30px;
    border: 1px solid var(--brass); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brass);
}
.success-panel h1 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 16px; }
.success-panel p { color: var(--muted); margin-bottom: 34px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 24px 0; text-align: left;
    font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 24px); color: var(--ink);
}
.faq-q svg { flex: none; transition: transform 0.4s var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.faq-a p { padding: 0 0 26px; color: var(--muted); font-weight: 300; max-width: 65ch; }

/* ---------- Blog detail ---------- */
.article-hero { max-width: 900px; margin: 0 auto; text-align: center; }
.article-hero time { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(34px, 5vw, 64px); }
.article-hero .byline { margin-top: 18px; color: var(--muted); font-size: 14px; }
.article-cover { max-width: 1200px; margin: clamp(36px, 5vw, 64px) auto; overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; font-size: 17.5px; font-weight: 300; color: var(--ink-soft); }
.article-body p { margin-bottom: 24px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .section-title { margin-inline: auto; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background-color: var(--dark);
    background-image: radial-gradient(ellipse 65% 45% at 50% 0%, rgba(168, 129, 79, 0.14), transparent 70%);
    background-repeat: no-repeat;
    color: var(--ivory);
    padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 56px) 36px;
    overflow: hidden;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-cta { text-align: center; margin-bottom: clamp(56px, 8vw, 100px); }
.footer-cta-sub {
    max-width: 52ch;
    margin: 26px auto 0;
    color: rgba(243, 239, 232, 0.6);
    font-weight: 300;
    font-size: 16.5px;
}
.footer-cta-actions {
    display: flex; justify-content: center; align-items: center;
    gap: 18px; flex-wrap: wrap;
    margin-top: 38px;
}
.btn-ivory {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--ivory); color: var(--ink);
    border: 1px solid var(--ivory);
    border-radius: 999px;
    padding: 16px 32px;
    transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn-ivory:hover {
    background: transparent; color: var(--ivory);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(168, 129, 79, 0.25);
}
.footer-eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 20px; }
.footer-title a {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 104px);
    line-height: 1.05;
    display: inline-block;
    transition: color 0.4s;
}
.footer-title em { font-style: italic; font-weight: 300; color: var(--brass-soft); }
.footer-title a:hover { color: var(--brass-soft); }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 64px);
    max-width: 1500px; margin: 0 auto;
    padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--line-light);
}
.footer-brand { font-family: var(--font-display); font-size: 26px; display: block; margin-bottom: 16px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 18px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: rgba(243, 239, 232, 0.66); font-size: 15px; font-weight: 300; padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
    width: 42px; height: 42px; border: 1px solid var(--line-light); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; padding: 0;
    transition: background 0.3s, color 0.3s;
}
.footer-social a:hover { background: var(--ivory); color: var(--ink); }
.footer-bottom {
    max-width: 1500px; margin: clamp(40px, 5vw, 64px) auto 0;
    padding-top: 26px; padding-bottom: 8px;
    border-top: 1px solid var(--line-light);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 13px; color: rgba(243, 239, 232, 0.45);
}
.footer-bottom a {
    color: rgba(243, 239, 232, 0.75);
    border-bottom: 1px solid rgba(243, 239, 232, 0.3);
    transition: color 0.3s, border-color 0.3s;
}
.footer-bottom a:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

/* ---------- Pagination (Laravel default override) ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.pagination-wrap nav { font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .product-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .intro-grid, .product-detail, .quote-layout, .contact-layout { grid-template-columns: 1fr; }
    .pd-info, .quote-form-card { position: static; }
    .process-grid, .journal-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card:nth-child(n) { grid-column: span 1; margin-top: 0; }
    .service-row { grid-template-columns: 48px 1fr auto; }
    .service-row p { display: none; }
    .product-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .detail-gallery { grid-template-columns: 1fr; }
    .detail-gallery .g-item:nth-child(n) { grid-column: span 1; }
    .quote-pill span:not(.quote-count) { display: none; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .quote-item { grid-template-columns: 72px 1fr; }
    .quote-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .header-inner { padding: 14px 16px; }
    .wm-header { font-size: 15px; }
    .header-actions { gap: 8px; }
    .search-toggle { width: 34px; height: 34px; }
    .quote-pill { padding: 8px 12px; gap: 6px; }

    .wm-hero { font-size: clamp(28px, 10vw, 44px); letter-spacing: 0.02em; }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .hero-phone { font-size: 15px; letter-spacing: 0.1em; }
    .hero-order { padding: 13px 24px; font-size: 12px; }
    .hero-sf .hero-footer {
        bottom: 28px;
        right: 16px;
        gap: 10px;
        align-items: flex-end;
    }
    .hero-bottom { bottom: 28px; right: auto; max-width: 55%; }
    .hero-nav button { width: 44px; height: 44px; }

    .section { padding-left: 18px; padding-right: 18px; }
    .section-title { font-size: clamp(30px, 8.5vw, 40px); }
    .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .footer-title a { font-size: clamp(34px, 9.5vw, 56px); }

    .pd-specs .spec dd { text-align: right; overflow-wrap: anywhere; }
    .pd-info h1 { font-size: clamp(28px, 8.5vw, 40px); }
    .pd-actions .btn-solid { flex: 1; justify-content: center; }

    .footer-cta-actions .btn-ivory,
    .footer-cta-actions .btn-line { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

    .scroll-word span { font-size: clamp(80px, 24vw, 110px); }
    .services-lead { font-size: clamp(24px, 7vw, 32px); }
    .wa-fab { width: 48px; height: 48px; right: 16px; bottom: 16px; }
    .detail-facts { grid-template-columns: 1fr 1fr; }
    .contact-lines a, .contact-lines span { font-size: 17px; }
}
html { overflow-x: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .reveal-img img { transform: none !important; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.15s !important; }
}
