/* High Grounds — Luxury Interior Design Website */
:root {
  /* Navy & Champagne — Corporate Luxury */
  --navy-deep: #0B1F33;
  --navy-mid: #142B4D;
  --champagne: #F7E7CE;
  --gold: #C8A96A;
  --white: #FFFFFF;

  /* Semantic aliases */
  --ivory: var(--champagne);
  --charcoal: var(--navy-deep);
  --matte-black: var(--navy-deep);
  --navy: var(--navy-mid);
  --gold-light: #E8D4A8;
  --copper: var(--gold);
  --forest: var(--navy-mid);
  --forest-light: #1E3A5F;
  --beige: var(--champagne);
  --soft-gray: #FBF5EC;
  --accent: var(--gold);
  --gradient-luxury: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 55%, #0E2540 100%);
  --gradient-gold: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 100%);
  --gradient-champagne: linear-gradient(180deg, var(--white) 0%, var(--champagne) 100%);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-alt: 'Manrope', system-ui, sans-serif;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 80px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container: min(1280px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.dark-section { background: var(--matte-black); color: var(--ivory); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: none; }
ul { list-style: none; }

.container { width: var(--container); margin-inline: auto; }

/* Preloader — animated house outline */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--matte-black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease-luxury), visibility 0.9s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__house {
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
  margin-bottom: 2rem;
}
.preloader__house-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawHouse 2.2s var(--ease-luxury) forwards;
}
.preloader__house-window {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  animation: fadeWindow 0.6s ease 1.8s forwards;
}
@keyframes drawHouse {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeWindow {
  to { opacity: 0.6; }
}
.preloader__brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--ivory);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}
.preloader__pct {
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.5s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium custom cursor — Navy & Champagne */
.cursor {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.cursor__glow {
  position: fixed;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.18) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-luxury), height 0.5s var(--ease-luxury), opacity 0.4s;
  opacity: 0.6;
}
.cursor__ring-outer {
  position: fixed;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.25);
  transform: translate(-50%, -50%) rotate(0deg);
  transition: width 0.45s var(--ease-luxury), height 0.45s var(--ease-luxury),
    border-color 0.35s, transform 0.45s var(--ease-luxury), opacity 0.35s;
}
.cursor__ring {
  position: fixed;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-luxury), height 0.4s var(--ease-luxury),
    border-color 0.35s, background 0.35s;
  box-shadow: 0 0 12px rgba(200, 169, 106, 0.2);
}
.cursor__dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--champagne);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(247, 231, 206, 0.8);
  transition: width 0.35s var(--ease-luxury), height 0.35s var(--ease-luxury),
    transform 0.35s var(--ease-luxury), background 0.35s;
}
.cursor__diamond {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: width 0.4s var(--ease-luxury), height 0.4s var(--ease-luxury),
    background 0.35s, box-shadow 0.35s;
  box-shadow: 0 0 10px rgba(200, 169, 106, 0.5);
}
.cursor__tag {
  position: fixed;
  font-family: var(--font-alt);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--champagne);
  padding: 0.3rem 0.55rem;
  border-radius: 100px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.35s var(--ease-luxury), opacity 0.3s;
  white-space: nowrap;
  border: 1px solid rgba(200, 169, 106, 0.4);
}
.cursor.is-hover .cursor__glow {
  width: 110px; height: 110px;
  opacity: 1;
}
.cursor.is-hover .cursor__ring-outer {
  width: 72px; height: 72px;
  border-color: rgba(200, 169, 106, 0.5);
  transform: translate(-50%, -50%) rotate(90deg);
}
.cursor.is-hover .cursor__ring {
  width: 44px; height: 44px;
  background: rgba(200, 169, 106, 0.08);
  border-color: var(--champagne);
}
.cursor.is-hover .cursor__dot {
  width: 4px; height: 4px;
  background: var(--gold);
}
.cursor.is-hover .cursor__diamond {
  width: 7px; height: 7px;
  background: var(--champagne);
  box-shadow: 0 0 16px rgba(247, 231, 206, 0.7);
}
.cursor.is-hover .cursor__tag {
  transform: translate(-50%, calc(-50% + 36px)) scale(1);
  opacity: 1;
}
.cursor.is-click .cursor__ring {
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(200, 169, 106, 0.2);
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
}

/* Glass floating header */
.glass-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1100px, calc(100% - 2rem));
  transition: top 0.5s var(--ease-luxury), width 0.5s var(--ease-luxury);
}
.glass-header.is-scrolled { top: 0.75rem; }
.glass-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.25rem;
  background: rgba(11, 31, 51, 0.9);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(200, 169, 106, 0.28);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.45s var(--ease-luxury), border-color 0.45s, box-shadow 0.45s;
}

/* Navbar adapts on light sections */
.glass-header--light .glass-header__inner {
  background: rgba(247, 231, 206, 0.94);
  border-color: rgba(11, 31, 51, 0.12);
  box-shadow: 0 12px 40px rgba(11, 31, 51, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.glass-header--light .glass-header__logo { color: var(--navy-deep); }
.glass-header--light .glass-header__logo i { color: var(--gold); }
.glass-header--light .glass-header__link {
  color: rgba(11, 31, 51, 0.72);
}
.glass-header--light .glass-header__link i { color: var(--navy-mid); }
.glass-header--light .glass-header__link:hover,
.glass-header--light .glass-header__link.is-active {
  background: rgba(11, 31, 51, 0.07);
  color: var(--navy-deep);
}
.glass-header--light .glass-header__toggle {
  color: var(--navy-deep);
  background: rgba(11, 31, 51, 0.07);
}
.glass-header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap;
}
.glass-header__logo i {
  color: var(--gold);
  font-size: 0.9rem;
}
.glass-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.glass-header__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 100px;
  font-family: var(--font-alt);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 245, 242, 0.75);
  transition: background 0.35s var(--ease-luxury), color 0.35s, transform 0.35s;
}
.glass-header__link i { font-size: 0.75rem; color: var(--gold); transition: transform 0.35s; }
.glass-header__link:hover,
.glass-header__link.is-active {
  background: rgba(200, 169, 106, 0.15);
  color: var(--ivory);
}
.glass-header__link:hover i,
.glass-header__link.is-active i { transform: scale(1.15); }
.glass-header__link.is-active { background: rgba(200, 169, 106, 0.22); }
.glass-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  background: var(--gradient-gold);
  color: var(--navy-deep);
  font-family: var(--font-alt);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s;
  white-space: nowrap;
}
.glass-header__cta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(200, 169, 106, 0.4);
}
.glass-header__toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--ivory);
  background: rgba(255,255,255,0.08);
}
.glass-header__mobile {
  display: none;
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(11, 31, 51, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
  overflow-y: auto;
}
.glass-header__mobile.is-open { opacity: 1; visibility: visible; display: flex; }
.glass-header__mobile .glass-header__link {
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
}

@media (max-width: 1024px) {
  .glass-header__nav, .glass-header__cta { display: none; }
  .glass-header__toggle { display: flex; }
}

/* Legacy nav hidden */
.nav, .nav__mobile { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  border: 1px solid currentColor;
  transition: background 0.4s var(--ease-luxury), color 0.4s, transform 0.35s, box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.btn i { font-size: 0.8rem; transition: transform 0.35s; }
.btn:hover i { transform: translateX(3px); }
.btn--gold { background: var(--gradient-gold); color: var(--navy-deep); border-color: transparent; font-weight: 500; }
.btn--gold:hover { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: 0 0 30px rgba(200, 169, 106, 0.25); }
.btn--outline { background: rgba(255,255,255,0.06); color: var(--champagne); border-color: rgba(247, 231, 206, 0.3); backdrop-filter: blur(8px); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(200, 169, 106, 0.1); }
.btn--dark { background: var(--navy-deep); color: var(--champagne); border-color: var(--navy-deep); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn--glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.15);
  color: var(--ivory);
}
.btn--glass:hover { background: rgba(200,169,106,0.15); border-color: var(--gold); color: var(--gold); }

/* Pill service chips (replaces box cards) */
.pill-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
}
.pill-chip {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: var(--ivory);
  font-family: var(--font-alt);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: none;
  transition: transform 0.4s var(--ease-luxury), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.pill-chip i {
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.4s var(--ease-luxury);
}
.pill-chip:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(200, 169, 106, 0.12);
  border-color: rgba(200, 169, 106, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.pill-chip:hover i { transform: rotate(-8deg) scale(1.15); }
.pill-chip__detail {
  display: none;
}
.pill-chip.is-expanded {
  border-radius: 24px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  max-width: 280px;
}
.pill-chip.is-expanded .pill-chip__detail {
  display: block;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.section--dark .pill-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ivory);
}
.section:not(.section--dark) .pill-chip {
  background: rgba(26, 26, 26, 0.04);
  border-color: rgba(26, 26, 26, 0.1);
  color: var(--charcoal);
}
.section:not(.section--dark) .pill-chip:hover {
  background: rgba(200, 169, 106, 0.12);
  border-color: var(--gold);
}

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow i { font-size: 0.65rem; }
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}
.heading-md {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
}
.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: rgba(11, 31, 51, 0.72);
}
.dark-section .body-lg,
.section--dark .body-lg { color: rgba(247, 231, 206, 0.75); }

.split-line { overflow: hidden; display: block; }
.split-line > span { display: inline-block; }

/* Sections */
.section { padding-block: var(--section-pad); }
.section--dark { background: var(--matte-black); color: var(--ivory); }
.section--beige { background: var(--champagne); }
.section__header { margin-bottom: clamp(2rem, 5vw, 4rem); }
.section__header--center { text-align: center; max-width: 700px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 4rem); }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--matte-black);
}
.hero-swiper {
  position: absolute; inset: 0; z-index: 0;
}
.hero-swiper .swiper-slide img {
  width: 100%; height: 100vh; object-fit: cover;
}
.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.92) 0%, rgba(20, 43, 77, 0.35) 50%, rgba(11, 31, 51, 0.5) 100%);
  pointer-events: none;
}
.hero__canvas {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  width: var(--container); margin-inline: auto;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: calc(var(--nav-height) + 2rem);
}
.hero__title { color: var(--ivory); margin-bottom: 1.5rem; }
.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(248,245,242,0.7);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(248,245,242,0.5);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Image reveal */
.img-reveal {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
}
.img-reveal img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-luxury);
}
.img-reveal:hover img { transform: scale(1.05); }
.img-reveal::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1s var(--ease-luxury);
}
.img-reveal.is-revealed::after { transform: scaleY(0); }

/* Cards */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  transition: transform 0.5s var(--ease-luxury), border-color 0.4s, background 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,169,106,0.3);
  background: rgba(200,169,106,0.05);
}
.card__icon {
  font-size: 1.5rem; color: var(--gold);
  margin-bottom: 1.25rem;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.card__text { font-size: 0.9rem; opacity: 0.7; line-height: 1.7; }

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}
.portfolio-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5; cursor: none;
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-luxury), filter 0.5s;
}
.portfolio-item:hover img { transform: scale(1.08); filter: brightness(0.7); }
.portfolio-item__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(17,17,17,0.85), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease-luxury);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--ivory);
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-luxury);
}
.portfolio-item:hover .portfolio-item__title { transform: translateY(0); }
.portfolio-item__tags {
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-top: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-luxury) 0.05s;
}
.portfolio-item:hover .portfolio-item__tags { transform: translateY(0); }

/* Filters */
.filters {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem; justify-content: center;
}
.filter-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-alt);
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(26,26,26,0.15);
  color: var(--charcoal);
  transition: all 0.35s var(--ease-luxury);
}
.filter-btn i { font-size: 0.75rem; }
.filter-btn:hover, .filter-btn.is-active {
  background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal);
}
.section--dark .filter-btn { border-color: rgba(248,245,242,0.15); color: var(--ivory); }
.portfolio-filters .filter-btn.is-active { background: var(--gold); color: var(--matte-black); border-color: var(--gold); }

/* Furniture cards */
.furniture-card {
  position: relative; overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(26,26,26,0.06);
  transition: transform 0.6s var(--ease-luxury), box-shadow 0.6s;
}
.furniture-card:hover {
  transform: translateY(-12px) perspective(800px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(17,17,17,0.12);
}
.furniture-card__img {
  aspect-ratio: 1; overflow: hidden;
}
.furniture-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}
.furniture-card:hover .furniture-card__img img { transform: scale(1.06); }
.furniture-card__body { padding: 1.5rem; }
.furniture-card__cat {
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}
.furniture-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem; margin: 0.5rem 0;
}

/* Team */
.team-card { text-align: center; }
.team-card__img {
  aspect-ratio: 3/4; overflow: hidden;
  margin-bottom: 1.5rem;
}
.team-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s, transform 0.8s var(--ease-luxury);
}
.team-card:hover .team-card__img img { filter: grayscale(0%); transform: scale(1.04); }
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem; margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.team-card__bio { font-size: 0.875rem; opacity: 0.7; line-height: 1.7; text-align: left; }

/* Timeline */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline__item { position: relative; margin-bottom: 3rem; padding-left: 1rem; }
.timeline__item::before {
  content: ''; position: absolute; left: -3rem; top: 0.5rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); transform: translateX(-3.5px);
}
.timeline__step {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--gold); opacity: 0.4;
  margin-bottom: 0.5rem;
}

/* Stats showcase — premium */
.stats-showcase {
  position: relative;
  background: var(--gradient-luxury);
  overflow: hidden;
}
.stats-showcase::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212, 168, 83, 0.12), transparent);
  pointer-events: none;
}
.stats-showcase__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.stats-showcase__header .heading-lg { color: var(--ivory); }
.stats-showcase__sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(250, 247, 244, 0.55);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.stat-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 106, 0.2);
  backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease-luxury), border-color 0.4s, box-shadow 0.4s;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 83, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.stat-card:hover::before { opacity: 1; }
.stat-card__icon-wrap {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  transition: background 0.4s, transform 0.4s;
}
.stat-card:hover .stat-card__icon-wrap {
  background: rgba(212, 168, 83, 0.22);
  transform: scale(1.08);
}
.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 0.5rem;
  min-height: 1.1em;
}
.stat-card__num.is-counted {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gold);
}
.stat-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 244, 0.55);
}
.stat-card__sub {
  font-size: 0.75rem;
  color: rgba(250, 247, 244, 0.35);
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1.25rem 1rem; }
}

/* Stats legacy */
.stats { display: flex; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold); line-height: 1;
}
.stat__label {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; margin-top: 0.5rem; opacity: 0.6;
}

/* Testimonials */
.testimonial-swiper { padding-bottom: 4rem; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  max-width: 700px; margin-inline: auto;
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.testimonial-card__author {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}

/* Home Swiper sections */
.hero-swiper .swiper-pagination {
  bottom: 2rem !important;
  z-index: 3;
}
.hero-swiper .swiper-pagination-bullet {
  background: var(--ivory) !important;
  opacity: 0.4 !important;
  width: 8px; height: 8px;
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--gold) !important;
  width: 24px;
  border-radius: 4px;
}

.portfolio-swiper { padding-bottom: 3.5rem; overflow: hidden; }
.portfolio-swiper .swiper-slide {
  width: clamp(260px, 32vw, 380px);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-luxury);
}
.portfolio-swiper .swiper-slide-active { transform: scale(1.02); }
.portfolio-swiper .swiper-button-prev,
.portfolio-swiper .swiper-button-next {
  color: var(--gold);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.portfolio-swiper .swiper-button-prev::after,
.portfolio-swiper .swiper-button-next::after { font-size: 1rem; }

.furniture-swiper { overflow: hidden; padding: 1rem 0 3rem; }
.furniture-swiper .swiper-slide {
  width: clamp(220px, 28vw, 340px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.furniture-swiper .swiper-slide img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}
.furniture-swiper .swiper-slide:hover img { transform: scale(1.08); }
.furniture-swiper__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(17,17,17,0.9), transparent);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.furniture-swiper__label i { color: var(--gold); font-size: 0.8rem; }

.services-swiper { padding-bottom: 2rem; }
.services-swiper .swiper-slide { width: auto; }

.stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease-luxury), border-color 0.4s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(200,169,106,0.3); }
.stat__icon { color: var(--gold); font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Instagram scramble gallery */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 6px;
}
.ig-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  transition: transform 0.5s var(--ease-luxury), opacity 0.4s;
}
.ig-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-luxury), filter 0.4s;
}
.ig-item:hover img { transform: scale(1.06); filter: brightness(0.75); }
.ig-item.ig-tall { grid-row: span 2; }
.ig-item.ig-wide { grid-column: span 2; }
.ig-item.ig-square { grid-row: span 1; }
.ig-item__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--ease-luxury);
}
.ig-item:hover .ig-item__overlay { opacity: 1; }
.ig-item__actions {
  display: flex; gap: 1.25rem;
}
.ig-item__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory);
  font-size: 0.9rem;
  transition: transform 0.3s, background 0.3s;
}
.ig-item__icon:hover { transform: scale(1.15); background: var(--gold); color: var(--matte-black); }
.ig-item__title {
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 0 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ig-item.ig-wide { grid-column: span 2; }
}
@media (max-width: 500px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .ig-item.ig-wide { grid-column: span 1; }
}

/* Gallery masonry — legacy */
.gallery-masonry {
  columns: 3; column-gap: 1rem;
}
.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.gallery-masonry__item img {
  width: 100%; transition: transform 0.6s var(--ease-luxury);
}
.gallery-masonry__item:hover img { transform: scale(1.03); }

@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 600px) { .gallery-masonry { columns: 1; } }

/* Contact page */
.contact-section { background: var(--soft-gray); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.contact-form-card {
  background: var(--ivory);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.contact-form-card .heading-md { color: var(--charcoal); margin-bottom: 0.5rem; }
.contact-form-card .body-lg { color: rgba(28, 25, 23, 0.65); margin-bottom: 2rem; }
.contact-form-card .form-group label { color: var(--navy-mid); font-weight: 500; opacity: 1; }
.contact-form-card .form-group input,
.contact-form-card .form-group textarea,
.contact-form-card .form-group select {
  background: var(--soft-gray);
  border: 1px solid rgba(11, 31, 51, 0.12);
  color: var(--navy-deep);
  border-radius: 12px;
}
.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder { color: rgba(11, 31, 51, 0.35); }
.contact-form-card .form-group select option { background: var(--white); color: var(--navy-deep); }
.contact-form-card .form-group input:focus,
.contact-form-card .form-group textarea:focus,
.contact-form-card .form-group select:focus {
  border-color: var(--navy-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 43, 77, 0.1);
}
.contact-info-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-person-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(11, 31, 51, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--ease-luxury), border-color 0.4s;
}
.contact-person-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.35);
}
.contact-person-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--matte-black);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.contact-person-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.contact-person-card__role {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}
.contact-person-card__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 500;
  transition: color 0.3s;
}
.contact-person-card__phone:hover { color: var(--copper); }
.contact-meta-card {
  background: var(--gradient-luxury);
  border-radius: 20px;
  padding: 1.75rem;
  color: var(--ivory);
}
.contact-meta-card .eyebrow { color: var(--gold-light); }
.contact-meta-card p { color: rgba(250, 247, 244, 0.8); line-height: 1.7; }
.contact-social-row { display: flex; gap: 0.75rem; margin-top: 1rem; }
.contact-social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  transition: background 0.3s, transform 0.3s;
}
.contact-social-row a:hover { background: var(--gold); color: var(--matte-black); transform: scale(1.1); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Contact form — dark variant (legacy) */
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-group label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem;
  color: rgba(248,245,242,0.6);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ivory);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200,169,106,0.05);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-success {
  display: none; text-align: center; padding: 3rem;
  font-family: var(--font-serif);
  font-size: 1.5rem; color: var(--gold);
}
.form-success.is-visible { display: block; }

/* Map */
.map-embed {
  width: 100%; aspect-ratio: 16/9;
  border: none; filter: grayscale(80%) contrast(1.1);
  transition: filter 0.5s;
}
.map-embed:hover { filter: grayscale(30%); }

/* Footer — treecard-inspired, Navy & Champagne */
.footer {
  position: relative;
  background: var(--navy-deep);
  color: var(--champagne);
  overflow: hidden;
}
.footer__hero {
  position: relative;
  min-height: clamp(200px, 28vw, 280px);
  overflow: hidden;
}
.footer__hero-art { position: absolute; inset: 0; }
.footer__hero-art svg { width: 100%; height: 100%; display: block; }
.footer__hero-inner {
  position: relative; z-index: 2;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.footer__hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  max-width: 480px;
  text-shadow: 0 2px 30px rgba(11, 31, 51, 0.5);
}
.footer__main {
  background: var(--navy-deep);
  border-top: 3px solid var(--navy-mid);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.footer__main-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.footer__brand-block { max-width: 260px; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.footer__logo-icon {
  width: 36px; height: 36px;
  border: 2px solid var(--champagne);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--champagne);
  font-size: 0.9rem;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--white);
}
.footer__copy { font-size: 0.8rem; color: rgba(247, 231, 206, 0.55); margin-bottom: 0.35rem; }
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(247, 231, 206, 0.7);
}
.footer__nav-block { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__nav-col {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.5rem 0.75rem; font-size: 0.9rem;
}
.footer__nav-col a {
  color: rgba(247, 231, 206, 0.85);
  transition: color 0.3s;
  white-space: nowrap;
}
.footer__nav-col a:hover { color: var(--gold); }
.footer__sep { color: rgba(200, 169, 106, 0.45); font-weight: 300; user-select: none; }
.footer__cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  background: var(--champagne);
  color: var(--navy-deep);
  font-family: var(--font-alt);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 8px; white-space: nowrap;
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s, background 0.35s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.footer__cta:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 169, 106, 0.35);
}
.footer__bar {
  border-top: 1px solid rgba(247, 231, 206, 0.12);
  padding: 1.25rem 0 1.5rem;
  background: var(--navy-deep);
}
.footer__bar-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer__bar-text { font-size: 0.75rem; color: rgba(247, 231, 206, 0.4); letter-spacing: 0.05em; }
.footer__social { display: flex; gap: 1.25rem; align-items: center; }
.footer__social a {
  color: rgba(247, 231, 206, 0.7);
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}
.footer__social a:hover { color: var(--gold); transform: translateY(-2px); }

@media (max-width: 900px) {
  .footer__main-inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand-block { max-width: none; margin-inline: auto; }
  .footer__logo { justify-content: center; }
  .footer__nav-block { align-items: center; }
  .footer__nav-col { justify-content: center; }
  .footer__cta { width: 100%; max-width: 280px; margin-inline: auto; }
  .footer__bar-inner { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .footer__hero-title { font-size: 1.75rem; }
}

/* Page header */
.page-hero {
  padding-top: calc(var(--nav-height) + 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--matte-black);
  color: var(--ivory);
  text-align: center;
}
.page-hero__title { margin-bottom: 1rem; }
.page-hero__desc {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-style: italic;
  opacity: 0.6; max-width: 550px; margin-inline: auto;
}

/* Horizontal scroll portfolio */
.horizontal-scroll {
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }
.horizontal-scroll__item {
  flex: 0 0 clamp(280px, 40vw, 420px);
  scroll-snap-align: start;
  aspect-ratio: 3/4; overflow: hidden;
}
.horizontal-scroll__item img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Swiper overrides */
.swiper-pagination-bullet { background: var(--gold) !important; opacity: 0.3 !important; }
.swiper-pagination-bullet-active { opacity: 1 !important; }

/* Utility */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile & Desktop
   ═══════════════════════════════════════════ */

/* Large desktop */
@media (min-width: 1400px) {
  :root {
    --container: min(1320px, 90vw);
  }
}

/* Tablet landscape / small desktop */
@media (max-width: 1200px) {
  .glass-header__link span { display: none; }
  .glass-header__link { padding: 0.55rem 0.7rem; }
  .glass-header__link i { font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .glass-header__link span { display: inline; }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-pad: clamp(3rem, 6vw, 5rem);
    --nav-height: 72px;
  }

  .glass-header {
    width: calc(100% - 1.25rem);
    top: 0.75rem;
  }
  .glass-header__inner {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-radius: 100px;
  }
  .glass-header__logo {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    max-width: 55vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__content {
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: clamp(4rem, 10vw, 5rem);
  }
  .hero__subtitle { max-width: 100%; }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero__scroll { bottom: 1rem; }

  .heading-xl { font-size: clamp(2rem, 9vw, 3rem); }
  .heading-lg { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .eyebrow {
    letter-spacing: 0.15em;
    font-size: 0.65rem;
    flex-wrap: wrap;
  }

  .preloader__brand { letter-spacing: 0.2em; font-size: 1.1rem; }

  .page-hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 2.5rem;
  }

  .portfolio-swiper .swiper-button-prev,
  .portfolio-swiper .swiper-button-next { display: none; }

  .portfolio-swiper .swiper-slide {
    width: clamp(240px, 78vw, 320px);
  }

  .furniture-swiper .swiper-slide {
    width: clamp(200px, 70vw, 280px);
  }

  .filters {
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  .pill-grid { gap: 0.5rem; }
  .pill-chip {
    min-height: 44px;
    font-size: 0.68rem;
    padding: 0.75rem 1.1rem;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .stat-card { padding: 1.25rem 1rem; }
  .stat-card__num { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 4px;
  }
  .ig-item.ig-wide { grid-column: span 2; }

  .contact-form-card,
  .contact-person-card { padding: 1.5rem; }

  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; }

  .testimonial-card { padding: 1.75rem 1.25rem; }
  .testimonial-card__quote { font-size: 1.15rem; }

  .team-card__bio { text-align: left; }

  .timeline { padding-left: 2rem; }
  .timeline__item::before { left: -2rem; }

  .footer__hero-inner { padding: 2rem 0 1.5rem; }
  .footer__nav-col { font-size: 0.85rem; }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --container: min(1280px, 94vw);
    --section-pad: clamp(2.5rem, 5vw, 4rem);
  }

  .glass-header__logo span {
    font-size: 0.72rem;
  }

  .hero__content {
    padding-top: calc(var(--nav-height) + 2.5rem);
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card__sub { font-size: 0.68rem; }

  .ig-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }
  .ig-item.ig-tall { grid-row: span 2; }
  .ig-item.ig-wide { grid-column: span 1; }

  .portfolio-grid { gap: 1rem; }

  .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.65rem;
  }

  .footer__hero-title { font-size: 1.5rem; }
  .footer__nav-col {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
  .footer__sep { display: none; }

  .img-reveal { aspect-ratio: 3/4; }
}

/* Very small phones */
@media (max-width: 360px) {
  .glass-header__logo span { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { max-width: 280px; margin-inline: auto; width: 100%; }
}

/* Safe areas — notched devices */
@supports (padding: max(0px)) {
  .glass-header {
    top: max(0.75rem, env(safe-area-inset-top));
  }
  .footer__bar {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .glass-header__mobile {
    padding-top: max(calc(var(--nav-height) + 2rem), env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* Touch devices — ensure tap targets */
@media (pointer: coarse) {
  .glass-header__toggle {
    min-width: 44px;
    min-height: 44px;
  }
  .glass-header__mobile .glass-header__link {
    min-height: 48px;
    width: min(280px, 100%);
    justify-content: center;
  }
  .portfolio-item__overlay { opacity: 1; }
  .portfolio-item__title,
  .portfolio-item__tags { transform: translateY(0); }
  .ig-item__overlay { opacity: 0; }
  .ig-item:active .ig-item__overlay { opacity: 1; }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-swiper .swiper-slide img { height: 100svh; min-height: 400px; }
  .hero__content { padding-bottom: 2rem; }
  .hero__scroll { display: none; }
  .glass-header__mobile {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 0.25rem 1rem;
  }
  .glass-header__mobile .glass-header__link {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}
