/* ==========================================================================
   MAITRI INTERIOR STUDIO — Stylesheet
   Palette: warm ivory / parchment / charcoal / restrained antique gold
   Typography: Bodoni Moda (high-contrast editorial serif) + Jost (neutral sans)
   ========================================================================== */

:root {
  /* Primary neutral background family — cool off-white sampled from the logo swatch */
  --ivory: #eff1ec;
  --ivory-2: #f8f9f6;
  --parchment: #e3e6dd;
  --parchment-2: #d6dacd;

  /* Full 5-colour accent system, sampled directly from the Maitri logo artwork */
  --navy: #1a2734;
  --teal: #475f5b;
  --gold: #daae76;
  --gold-deep: #b98f5a;
  --gold-soft: #e9cfa0;
  --bronze: #7c5837;
  --terracotta: #b66344;

  /* "charcoal" is now an alias for the logo navy — every former charcoal surface
     (hero base, footer, Execution Standard, quick-contact button, overlays) reads as navy */
  --charcoal: var(--navy);
  --charcoal-soft: #56677a;
  --charcoal-2: #223247;

  /* soft tinted section washes built from the palette, for section backgrounds beyond plain ivory/parchment */
  --teal-tint: #e6ebe9;
  --terracotta-tint: #f3e6e0;

  --line: rgba(26, 39, 52, 0.14);
  --line-strong: rgba(26, 39, 52, 0.28);
  --on-dark: #f3ede4;
  --on-dark-soft: #cfc3b3;
  --shadow-soft: 0 20px 60px rgba(16, 22, 30, 0.14);
  --shadow-card: 0 10px 30px rgba(16, 22, 30, 0.09);

  --font-serif: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.14;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: 18px;
  max-width: 16ch;
}
.section-title--wide { max-width: 22ch; }
.section-lede {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--charcoal-soft);
  max-width: 56ch;
  margin-top: 18px;
  font-weight: 300;
}

.section-head {
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

.on-dark .eyebrow { color: var(--gold-soft); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark .section-lede { color: var(--on-dark-soft); }
.on-dark { color: var(--on-dark); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap--narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 128px) 0; }
.section-pad-sm { padding: clamp(48px, 6vw, 84px) 0; }

.bg-ivory { background: var(--ivory); }
.bg-parchment { background: var(--parchment); }
.bg-charcoal { background: var(--charcoal); color: var(--on-dark); }
.bg-teal-tint { background: var(--teal-tint); }
.bg-terracotta-tint { background: var(--terracotta-tint); }
.bg-navy { background: var(--navy); color: var(--on-dark); }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-pill);
  background: var(--charcoal);
  color: var(--ivory-2);
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}
.btn:hover { background: transparent; color: var(--charcoal); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory-2); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #241c11;
}
.btn--gold:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

.btn--on-dark {
  border-color: rgba(243, 237, 228, 0.55);
  color: var(--on-dark);
  background: transparent;
}
.btn--on-dark:hover { background: var(--on-dark); color: var(--charcoal); border-color: var(--on-dark); }

.btn--block { width: 100%; }
.btn--sm { padding: 13px 24px; font-size: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { border-color: var(--gold); color: var(--gold-deep); gap: 12px; }
.on-dark .text-link { color: var(--on-dark); border-color: rgba(243,237,228,0.4); }
.on-dark .text-link:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: rgba(239, 241, 236, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 13px 0;
  box-shadow: 0 8px 30px rgba(16,22,30, 0.06);
  border-bottom-color: var(--line);
}
.site-header.theme-dark:not(.is-scrolled) { color: var(--on-dark); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.brand img {
  height: 70px;
  width: auto;
  transition: opacity 0.3s var(--ease), height 0.3s var(--ease), filter 0.3s var(--ease);
  filter: drop-shadow(0 2px 10px rgba(16,22,30,0.45)) drop-shadow(0 1px 3px rgba(16,22,30,0.35));
}
.site-header.is-scrolled .brand img { height: 58px; filter: none; }

.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.main-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.site-header.theme-dark:not(.is-scrolled) .main-nav a { text-shadow: 0 1px 4px rgba(16,22,30,0.55); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-icon {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); transition: all 0.3s var(--ease); flex-shrink: 0;
}
.header-icon:hover { border-color: var(--gold); background: var(--gold); color: #241c11; }
.theme-dark .header-icon { color: var(--on-dark); border-color: rgba(243,237,228,0.4); }
.theme-dark.is-scrolled .header-icon, .site-header.is-scrolled .header-icon { color: var(--charcoal); border-color: var(--line-strong); }
.header-actions .btn { padding: 12px 24px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 700;
}

/* Mobile nav panel: hidden entirely above the mobile breakpoint (see @media 860px
   for the fixed/slide-in behaviour that applies below it). */
.mobile-nav { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -0.75px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  color: var(--on-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center 32% / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.55) 0%, rgba(20, 17, 14, 0.35) 32%, rgba(20, 17, 14, 0.58) 78%, rgba(20, 17, 14, 0.82) 100%),
    linear-gradient(100deg, rgba(20, 17, 14, 0.55) 0%, rgba(20, 17, 14, 0.1) 45%, rgba(20, 17, 14, 0.05) 60%, rgba(20, 17, 14, 0.5) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: 48px;
}
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.hero__story { display: flex; flex-direction: column; justify-content: center; padding: 20px 0; min-width: 0; }
.hero__eyebrow { color: var(--gold-soft); }
.hero__title {
  font-size: clamp(38px, 5.6vw, 74px);
  color: var(--on-dark);
  margin-top: 22px;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--on-dark-soft);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }

.hero__form-col { display: flex; align-items: center; min-width: 0; }
.enquiry-panel {
  width: 100%;
  background: rgba(243, 237, 228, 0.13);
  border: 1px solid rgba(243, 237, 228, 0.28);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(10, 8, 6, 0.35);
}
.enquiry-panel__title { font-size: clamp(21px, 2vw, 26px); color: var(--on-dark); }
.enquiry-panel__intro { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-soft); font-weight: 300; line-height: 1.6; }

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: clamp(28px, 5vh, 56px);
  border-top: 1px solid rgba(243, 237, 228, 0.18);
  margin-top: clamp(28px, 5vh, 56px);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.hero__proof span { display: inline-flex; align-items: center; gap: 28px; }
.hero__proof b { color: var(--on-dark); font-weight: 500; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll .line { width: 40px; height: 1px; background: var(--gold-soft); position: relative; overflow: hidden; }
.hero__scroll .line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--on-dark);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- Form fields (shared) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field { position: relative; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--on-dark-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(243, 237, 228, 0.34);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--on-dark);
  font-size: 14px;
  font-family: var(--font-sans);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 237, 228, 0.42); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(218, 174, 118, 0.14);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c7a876'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 6px;
  padding-right: 36px;
}
.field select option { color: #222; }
.form-consent { font-size: 11.5px; color: var(--on-dark-soft); margin-top: 16px; line-height: 1.6; }
.form-msg { font-size: 13px; margin-top: 14px; display: none; padding: 10px 14px; border-radius: var(--radius-sm); }
.form-msg.is-visible { display: block; }
.form-msg.success { background: rgba(171, 133, 82, 0.18); color: var(--on-dark); border: 1px solid rgba(199, 168, 118, 0.4); }
.form-msg.error { background: rgba(178, 70, 60, 0.18); color: #f4d9d4; border: 1px solid rgba(178, 70, 60, 0.4); }

/* Light-theme (on ivory) version of the same form, used in Contact section — still "glass," but frosted over a light backdrop */
.field--light label { color: var(--charcoal-soft); }
.field--light input, .field--light select, .field--light textarea {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-strong);
  color: var(--charcoal);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.field--light input::placeholder, .field--light textarea::placeholder { color: #9a9187; }
.field--light input:focus, .field--light select:focus, .field--light textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(171, 133, 82, 0.12);
}
.field--light select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ab8552'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 6px;
  padding-right: 36px;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { background: var(--parchment); border-bottom: 1px solid var(--line); }
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(28px, 4vw, 40px) var(--gutter);
}
.trust-item {
  text-align: center;
  padding: 8px 20px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: none; }
.trust-num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--charcoal);
  display: block;
}
.trust-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-top: 6px;
  display: block;
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { overflow: hidden; }
.manifesto .wrap { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.manifesto__statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.32;
  color: var(--charcoal);
}
.manifesto__statement em { font-style: italic; color: var(--gold-deep); }
.manifesto__body { margin-top: 28px; max-width: 54ch; }
.manifesto__body p { color: var(--charcoal-soft); font-weight: 300; font-size: 15.5px; }
.manifesto__body p + p { margin-top: 16px; }
.manifesto__figure {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.manifesto__figure img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   STYLE FINDER
   ========================================================================== */
.style-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.style-rail::-webkit-scrollbar { height: 5px; }
.style-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; }

.style-card {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  isolation: isolate;
  min-width: 150px;
}
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.style-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,14,0.92) 0%, rgba(20,17,14,0.55) 32%, rgba(20,17,14,0.18) 60%, rgba(20,17,14,0.05) 100%);
  transition: opacity 0.4s var(--ease);
}
.style-card__label {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  color: var(--on-dark);
}
.style-card__name { font-family: var(--font-serif); font-size: 19px; }
.style-card__desc {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--on-dark);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
  margin-top: 0;
}
.style-card:hover img, .style-card.is-active img { transform: scale(1.08); }
.style-card:hover .style-card__desc, .style-card.is-active .style-card__desc {
  max-height: 140px; opacity: 1; margin-top: 8px;
}
.style-finder__cta { margin-top: 32px; text-align: center; }

/* ==========================================================================
   WHAT WE DESIGN
   ========================================================================== */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.design-cell {
  position: relative;
  background: var(--ivory);
  aspect-ratio: 3/4;
  overflow: hidden;
}
.design-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.design-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,14,0.82) 0%, rgba(20,17,14,0.05) 55%);
}
.design-cell:hover img { transform: scale(1.06); }
.design-cell__content {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: var(--on-dark);
}
.design-cell__num { font-size: 11px; letter-spacing: 0.14em; color: var(--gold-soft); }
.design-cell__title { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 22px); margin-top: 8px; color: var(--on-dark); }
.design-cell__desc { font-size: 12.5px; font-weight: 300; color: var(--on-dark-soft); margin-top: 8px; line-height: 1.55; }
.design-cta { margin-top: 40px; text-align: center; }

/* ==========================================================================
   FEATURED SPACES
   ========================================================================== */
.spaces-mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.spaces-mosaic__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.space-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.spaces-mosaic__main .space-frame { aspect-ratio: 4/5; }
.spaces-mosaic__side .space-frame { aspect-ratio: 5/4; }
.space-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.space-frame:hover img { transform: scale(1.05); }
.space-frame__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(20,17,14,0.86) 0%, rgba(20,17,14,0) 100%);
  color: var(--on-dark);
}
.space-frame__eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.space-frame__title { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px); margin-top: 6px; color: var(--on-dark); }
.space-frame__desc { font-size: 12.5px; color: var(--on-dark-soft); font-weight: 300; margin-top: 6px; max-width: 40ch; }
.spaces-cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   MATERIAL LIBRARY
   ========================================================================== */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.material-tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--charcoal);
  cursor: default;
}
.material-tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.material-tile:hover img { opacity: 1; transform: scale(1.04); }
.material-tile:nth-child(4n+2) .material-tile__name { color: var(--gold-soft); }
.material-tile:nth-child(4n+3) .material-tile__name { color: #e0a98a; }
.material-tile:nth-child(4n+4) .material-tile__name { color: #9fc0ba; }
.material-tile__label {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: var(--on-dark);
}
.material-tile__name { font-family: var(--font-serif); font-size: 17px; }
.material-tile__desc {
  font-size: 12px; font-weight: 300; color: var(--on-dark-soft);
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.material-tile:hover .material-tile__desc { max-height: 120px; opacity: 1; margin-top: 8px; }
.material-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,14,0.85) 0%, rgba(20,17,14,0) 55%); }
.material-cta { text-align: center; margin-top: 36px; }

/* ==========================================================================
   WHY MAITRI
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why-figure { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-soft); position: sticky; top: 120px; }
.why-figure img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: flex; flex-direction: column; }
.why-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-row__num { font-family: var(--font-serif); font-size: 26px; color: var(--gold); }
.why-row:nth-child(3n+2) .why-row__num { color: var(--teal); }
.why-row:nth-child(3n+3) .why-row__num { color: var(--terracotta); }
.why-row__title { font-size: 18px; font-weight: 500; font-family: var(--font-serif); color: var(--charcoal); }
.why-row__desc { margin-top: 8px; color: var(--charcoal-soft); font-size: 14.5px; font-weight: 300; max-width: 58ch; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { position: relative; }
.process-window {
  position: relative;
  aspect-ratio: 16/8;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(28px, 5vw, 52px);
}
.process-window__frame {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.process-window__frame.is-active { opacity: 1; }
.process-window__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.process-window__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,20,26,0.72) 0%, rgba(16,20,26,0.05) 45%);
}
.process-window__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(20px, 3vw, 36px);
  color: var(--on-dark);
}
.process-window__eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 6px;
}
.process-window__heading {
  font-family: var(--font-serif); font-weight: 600; color: var(--on-dark);
  font-size: clamp(22px, 3vw, 32px);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.process-step:last-child { border-right: none; }
.process-step:hover, .process-step.is-active { background: var(--parchment); }
.process-step__num { font-family: var(--font-serif); color: var(--gold); font-size: 15px; }
.process-step:nth-child(5n+2) .process-step__num { color: var(--teal); }
.process-step:nth-child(5n+4) .process-step__num { color: var(--terracotta); }
.process-step__title { font-family: var(--font-serif); font-size: 17px; margin-top: 8px; color: var(--charcoal); }
.process-step__desc { font-size: 12.5px; color: var(--charcoal-soft); font-weight: 300; margin-top: 8px; line-height: 1.55; display: none; }
.process-step.is-active .process-step__desc { display: block; }
.process-cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   CONSULTATION INTERLUDE
   ========================================================================== */
.interlude {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--on-dark);
  overflow: hidden;
}
.interlude__bg { position: absolute; inset: 0; background: url("../images/consultation-bg.jpg") center / cover no-repeat; }
.interlude__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,0.55), rgba(20,17,14,0.72)); }
.interlude__content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.interlude__title { font-size: clamp(28px, 4vw, 46px); color: var(--on-dark); }
.interlude__sub { margin-top: 20px; color: var(--on-dark-soft); font-weight: 300; font-size: 15.5px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.interlude__cta { margin-top: 32px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-story .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-figure { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-body p { color: var(--charcoal-soft); font-weight: 300; font-size: 15px; }
.about-body p + p { margin-top: 16px; }
.about-proof { display: flex; gap: 40px; margin-top: 32px; }
.about-proof div b { display: block; font-family: var(--font-serif); font-size: 28px; color: var(--charcoal); }
.about-proof div span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-soft); }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.principle-card { background: var(--ivory-2); padding: clamp(28px, 3vw, 44px) clamp(22px, 3vw, 34px); }
.principle-card__num { font-family: var(--font-serif); color: var(--gold); font-size: 15px; }
.principle-card__title { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 25px); margin-top: 16px; }
.principle-card__desc { margin-top: 14px; color: var(--charcoal-soft); font-size: 14.5px; font-weight: 300; }

.execution-standard .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.execution-copy p { color: var(--on-dark-soft); font-weight: 300; font-size: 15px; margin-top: 18px; max-width: 52ch; }
.execution-layers { display: flex; flex-direction: column; }
.exec-row { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(243,237,228,0.16); position: relative; }
.exec-row:last-child { border-bottom: 1px solid rgba(243,237,228,0.16); }
.exec-row__icon { color: var(--gold-soft); font-family: var(--font-serif); font-size: 14px; padding-top: 3px; }
.exec-row__title { font-family: var(--font-serif); font-size: 17px; color: var(--on-dark); }
.exec-row__desc { margin-top: 6px; font-size: 13.5px; font-weight: 300; color: var(--on-dark-soft); max-width: 52ch; }
.exec-row__arrow { position: absolute; left: 12px; bottom: -13px; color: var(--gold-soft); font-size: 12px; opacity: 0.7; }
.exec-row:last-child .exec-row__arrow { display: none; }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.gallery-filters button {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  color: var(--charcoal-soft);
  transition: all 0.3s var(--ease);
}
.gallery-filters button.is-active, .gallery-filters button:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.gallery-mosaic {
  columns: 3 260px;
  column-gap: 18px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,17,14,0.78) 0%, rgba(20,17,14,0) 45%);
  display: flex; align-items: flex-end; padding: 16px 18px; opacity: 0; transition: opacity 0.35s var(--ease);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__tag { color: var(--on-dark); font-size: 12.5px; letter-spacing: 0.06em; }
.gallery-item__tag b { font-family: var(--font-serif); font-weight: 500; display: block; font-size: 15.5px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 15, 13, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: var(--radius-md); box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.lightbox__caption { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--on-dark-soft); font-size: 13px; letter-spacing: 0.06em; }
.lightbox__close { position: absolute; top: 26px; right: 32px; color: var(--on-dark); font-size: 28px; line-height: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(243,237,228,0.3); border-radius: 50%; transition: border-color 0.3s var(--ease); }
.lightbox__close:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--on-dark); font-size: 22px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(243,237,228,0.3); border-radius: 50%; transition: border-color 0.3s var(--ease); }
.lightbox__nav:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info__title { font-size: clamp(30px, 4vw, 46px); max-width: 15ch; }
.contact-info__lede { margin-top: 20px; color: var(--charcoal-soft); font-weight: 300; font-size: 15px; max-width: 48ch; }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-details a, .contact-details span { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.contact-details .cd-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); width: 76px; flex-shrink: 0; }
.contact-details a { color: var(--charcoal); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.contact-details a:hover { color: var(--gold-deep); border-color: var(--gold); }
.contact-social { display: flex; gap: 14px; margin-top: 32px; }
.contact-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease);
}
.contact-social a:hover { border-color: var(--gold); background: var(--gold); color: #241c11; }
.contact-social a:nth-child(3n+2):hover { border-color: var(--teal); background: var(--teal); color: var(--on-dark); }
.contact-social a:nth-child(3n+3):hover { border-color: var(--terracotta); background: var(--terracotta); color: var(--on-dark); }
.contact-map { margin-top: 40px; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; filter: sepia(18%) saturate(70%) brightness(0.97); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-card);
}
.contact-form-panel__title { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 25px); }
.contact-form-panel .btn { margin-top: 22px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--charcoal); color: var(--on-dark-soft); padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr; gap: clamp(32px, 5vw, 60px); padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(243,237,228,0.12); }
.footer-brand img { height: 58px; width: auto; }
.footer-tagline { margin-top: 18px; font-size: 13.5px; font-weight: 300; max-width: 30ch; color: var(--on-dark-soft); }
.footer-col-title { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--on-dark-soft); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--on-dark); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243,237,228,0.22);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer-social a:nth-child(3n+2):hover { border-color: var(--terracotta); color: var(--terracotta); }
.footer-social a:nth-child(3n+3):hover { border-color: #7ea39c; color: #7ea39c; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 0; font-size: 12px; color: rgba(207,195,179,0.7);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: var(--on-dark); }
.footer-newsletter { margin-top: 8px; }
.footer-newsletter form { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(243,237,228,0.28);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  color: var(--on-dark);
  font-size: 13px;
  font-family: var(--font-sans);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.footer-newsletter input[type="email"]::placeholder { color: rgba(243,237,228,0.42); }
.footer-newsletter input[type="email"]:focus { outline: none; border-color: var(--gold-soft); background: rgba(255,255,255,0.14); }
.footer-newsletter button {
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #241c11;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-newsletter button:hover { background: var(--gold-deep); }
.footer-newsletter .form-msg { flex-basis: 100%; margin-top: 4px; padding: 0; background: none; border: none; color: var(--gold-soft); }
.footer-newsletter .form-msg.error { color: #e59a8f; }

/* ==========================================================================
   STICKY QUICK-CONTACT
   ========================================================================== */
.quick-contact {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.quick-contact__btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(16,22,30,0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.quick-contact__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,22,30,0.34); }
.quick-contact__btn svg { width: 24px; height: 24px; }
.quick-contact__btn--whatsapp { background: #2f6b52; color: #f2ede4; }
.quick-contact__btn--email { background: var(--charcoal); color: var(--gold-soft); }
.quick-contact__btn--top {
  background: var(--ivory-2);
  color: var(--charcoal);
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.quick-contact__btn--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.quick-contact__label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--charcoal); color: var(--ivory);
  font-size: 12px; letter-spacing: 0.04em; padding: 8px 14px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.quick-contact__btn:hover .quick-contact__label { opacity: 1; }

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--ivory);
}
.error-page__mark { height: 56px; width: auto; margin-bottom: 44px; }
.error-page__code { font-family: var(--font-serif); font-size: clamp(70px, 14vw, 150px); color: var(--charcoal); line-height: 1; }
.error-page__title { font-size: clamp(22px, 3vw, 30px); margin-top: 12px; }
.error-page__desc { margin-top: 16px; color: var(--charcoal-soft); font-weight: 300; max-width: 46ch; }
.error-page__ctas { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .why-grid, .about-story .wrap, .execution-standard .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .why-figure { position: static; aspect-ratio: 16/9; }
  .about-figure { aspect-ratio: 16/9; order: -1; }
  .principles-grid { grid-template-columns: 1fr; }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__form-col { order: -1; }
  .manifesto .wrap { grid-template-columns: 1fr; }
  .manifesto__figure { order: -1; aspect-ratio: 16/9; }
  .spaces-mosaic { grid-template-columns: 1fr; }
  .spaces-mosaic__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .spaces-mosaic__main .space-frame { aspect-ratio: 16/9; }
  .process-steps { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .site-header > .wrap > .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    position: fixed; inset: 0; z-index: 600;
    background-color: var(--navy);
    background: var(--navy);
    color: var(--on-dark);
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    isolation: isolate;
    -webkit-transform: translateZ(0) translateX(100%);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  body.nav-open .mobile-nav { display: flex; }
  body.nav-open .mobile-nav { transform: translateX(0); -webkit-transform: translateZ(0) translateX(0); }
  body.nav-open .nav-toggle { opacity: 0; pointer-events: none; }
  .mobile-nav__close {
    position: absolute; top: 20px; right: 20px; z-index: 2;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(243,237,228,0.32);
    color: var(--on-dark);
    background: rgba(255,255,255,0.06);
  }
  .mobile-nav a { display: block; font-family: var(--font-serif); font-size: 27px; padding: 12px 0; border-bottom: 1px solid rgba(243,237,228,0.14); }
  .mobile-nav .header-actions { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 14px; }
  .mobile-nav .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding: 14px 24px; border-radius: var(--radius-md); font-size: 12px; }
  .mobile-nav .btn::after { display: none; }
  .mobile-nav__socials { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
  .mobile-nav__socials .header-icon { color: var(--on-dark); border-color: rgba(243,237,228,0.32); }

  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; }

  .design-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step:nth-child(3) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--line); }

  .gallery-mosaic { columns: 2 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 620px) {
  .hero__inner { padding-top: 110px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .design-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2n) { border-right: none; }
  .spaces-mosaic__side { grid-template-columns: 1fr; }
  .gallery-mosaic { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .quick-contact { right: 14px; bottom: 14px; }
  .quick-contact__btn { width: 48px; height: 48px; }
}

/* Fine-tune very small phones */
@media (max-width: 480px) {
  .trust-strip .wrap { grid-template-columns: 1fr; row-gap: 18px; }
  .trust-item { border-left: none; border-top: 1px solid var(--line); padding: 16px 8px 0; }
  .trust-item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 32px; }
  .btn { padding: 15px 22px; font-size: 12px; }
}

/* Landscape phones / short-height devices */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 140px 0 60px; }
  .hero__inner { padding-top: 0; }
}

/* Print */
@media print {
  .site-header, .quick-contact, .mobile-nav, .lightbox { display: none !important; }
}
