/* ===================================================
   Kaleja Renovations — Editorial Premium White
   =================================================== */

:root {
  --white: #FFFFFF;
  --ivory: #F9F7F4;
  --cream: #F3F0EB;
  --ink: #121110;
  --ink-soft: #3D3935;
  --muted: #7A746C;
  --gold: #C4A574;
  --gold-light: #E8D4B0;
  --gold-deep: #A08858;
  --gold-faint: rgba(196, 165, 116, 0.14);
  --gold-shell-base: linear-gradient(145deg, rgba(248, 236, 215, 0.72) 0%, rgba(235, 215, 175, 0.68) 28%, rgba(220, 195, 150, 0.64) 58%, rgba(200, 175, 125, 0.6) 100%);
  --gold-shell-hover-base: linear-gradient(145deg, rgba(252, 244, 228, 0.82) 0%, rgba(242, 225, 190, 0.78) 28%, rgba(228, 205, 165, 0.74) 58%, rgba(210, 185, 140, 0.7) 100%);
  --gold-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Ccircle cx='14' cy='20' r='1.1' fill='%23FFFFFF' opacity='0.55'/%3E%3Ccircle cx='42' cy='10' r='0.7' fill='%23FFF8E0' opacity='0.45'/%3E%3Ccircle cx='58' cy='44' r='0.9' fill='%23FFFFFF' opacity='0.5'/%3E%3Ccircle cx='24' cy='58' r='0.6' fill='%23FFE680' opacity='0.48'/%3E%3Ccircle cx='70' cy='30' r='0.8' fill='%23FFFFFF' opacity='0.52'/%3E%3Ccircle cx='48' cy='72' r='1' fill='%23FFF8E0' opacity='0.46'/%3E%3Ccircle cx='8' cy='76' r='0.5' fill='%23FFFFFF' opacity='0.4'/%3E%3Ccircle cx='78' cy='68' r='0.7' fill='%23FFE680' opacity='0.5'/%3E%3C/svg%3E");
  --gold-shimmer: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  --gold-shell-shadow: 0 8px 32px rgba(196, 165, 116, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(160, 136, 88, 0.12);
  --gold-shell-shadow-hover: 0 14px 40px rgba(196, 165, 116, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(160, 136, 88, 0.1);
  --radius-pill: 9999px;
  --radius-media: clamp(16px, 2.2vw, 32px);
  --ease-premium: cubic-bezier(0.33, 1, 0.52, 1);
  --ease-soft: cubic-bezier(0.45, 0.05, 0.2, 1);
  --duration-premium: 1.15s;
  --line: rgba(18, 17, 16, 0.1);
  --line-strong: rgba(18, 17, 16, 0.18);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 112px;
  --wrap: min(1320px, calc(100% - 48px));
  --section-y: clamp(88px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: auto;
  overflow-x: clip;
  max-width: 100%;
}

html.js.gsap-ready [data-animate].is-revealed {
  visibility: visible;
  opacity: 1;
}

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-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open,
body.is-preloading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

.hero__frame,
.philosophy__image-wrap,
.space,
.materials__img-stack {
  border-radius: var(--radius-media);
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Cursor glow — desktop only */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 107, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: clamp(14px, 2vw, 22px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 36px));
  z-index: 200;
  pointer-events: none;
}

.header__shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.8vw, 20px);
  min-height: 72px;
  padding: 9px clamp(8px, 1vw, 10px) 9px clamp(20px, 2.5vw, 28px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 9999px;
  box-shadow:
    0 4px 24px rgba(18, 17, 16, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    background 0.55s var(--ease-premium),
    box-shadow 0.55s var(--ease-premium),
    border-color 0.55s var(--ease-premium);
}

.header.is-scrolled .header__shell {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(18, 17, 16, 0.14);
  box-shadow:
    0 8px 32px rgba(18, 17, 16, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: clamp(52px, 5.6vw, 64px);
  width: auto;
  object-fit: contain;
  transition:
    opacity 0.45s var(--ease-premium),
    transform 0.45s var(--ease-premium);
}

.logo:hover .logo__img,
.logo:focus-visible .logo__img {
  opacity: 0.88;
  transform: scale(1.02);
}

.nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 46px;
}

.nav__links {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__sep {
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(18, 17, 16, 0.14);
  flex-shrink: 0;
  align-self: center;
  margin-inline: clamp(10px, 1.35vw, 15px);
}

.nav__sep--cta {
  margin-right: clamp(8px, 1vw, 12px);
}

.nav__links > .nav__link,
.nav__links > .nav__dropdown {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.67rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.35s var(--ease-premium);
}

button.nav__link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav__link-label {
  position: relative;
  display: inline-block;
  letter-spacing: 0.13em;
}

.nav__link:not(.nav__link--dropdown) .nav__link-label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0.13em;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.45s var(--ease-premium),
    opacity 0.45s var(--ease-premium);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--ink);
}

.nav__link:not(.nav__link--dropdown):hover .nav__link-label::after,
.nav__link:not(.nav__link--dropdown):focus-visible .nav__link-label::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__link--dropdown::after {
  content: '';
  position: static;
  display: block;
  width: 5px;
  height: 5px;
  margin-top: 1px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: none;
  opacity: 0.45;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-premium), opacity 0.35s ease;
  flex-shrink: 0;
}

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 210px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(18, 17, 16, 0.08);
  border-radius: clamp(14px, 2vw, 20px);
  box-shadow: 0 18px 48px rgba(18, 17, 16, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.35s var(--ease-premium),
    visibility 0.35s var(--ease-premium),
    transform 0.35s var(--ease-premium);
  z-index: 220;
}

.nav__dropdown-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-premium);
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  background: var(--gold-faint);
  color: var(--ink);
  transform: translateX(3px);
}

@media (min-width: 1024px) {
  .nav__dropdown:hover .nav__dropdown-panel,
  .nav__dropdown:focus-within .nav__dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav__dropdown:hover .nav__link--dropdown::after {
    transform: rotate(225deg);
    opacity: 0.75;
  }
}

.nav__cta {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0 clamp(16px, 2vw, 22px);
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  transition:
    transform var(--duration-premium) var(--ease-premium),
    box-shadow var(--duration-premium) var(--ease-premium),
    background var(--duration-premium) var(--ease-soft),
    color var(--duration-premium) var(--ease-soft),
    border-color var(--duration-premium) var(--ease-soft);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 210;
}

.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.burger.is-active span:first-child { transform: translateY(8.5px) rotate(45deg); }
.burger.is-active span:last-child { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.17s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(7) { transition-delay: 0.29s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(8) { transition-delay: 0.33s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(9) { transition-delay: 0.37s; }

.mobile-menu__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.mobile-menu.is-open .mobile-menu__label {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.17s;
}

.mobile-menu__link--sub {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 4vw, 1.45rem) !important;
  color: var(--muted);
}

.mobile-menu__link--cta {
  margin-top: 12px;
  font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important;
  color: var(--gold-deep);
}

.mobile-menu__link:hover { color: var(--gold); }

/* ========== TYPOGRAPHY ========== */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.tag--light { color: var(--gold-light); }

.heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.heading--center { text-align: center; }
.heading--light { color: var(--white); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 54ch;
}

.lead--light { color: rgba(255, 255, 255, 0.72); }
.lead--center { margin-inline: auto; text-align: center; }

.body-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 52ch;
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 32px 0;
  transform-origin: left;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  position: relative;
  isolation: isolate;
  transition:
    transform var(--duration-premium) var(--ease-premium),
    box-shadow var(--duration-premium) var(--ease-premium),
    background var(--duration-premium) var(--ease-soft),
    color var(--duration-premium) var(--ease-soft),
    border-color var(--duration-premium) var(--ease-soft);
}

.btn svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.95s var(--ease-premium);
}

.btn:hover svg,
.btn:focus-visible svg { transform: translateX(4px); }

/* Outline button — stays light, never turns gold */
.btn--line {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(196, 165, 116, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.btn--line::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 244, 238, 0.2) 100%);
  opacity: 0;
  transition: opacity var(--duration-premium) var(--ease-soft);
  pointer-events: none;
}

.btn--line:hover,
.btn--line:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(160, 136, 88, 0.42);
  box-shadow: 0 14px 36px rgba(18, 17, 16, 0.05);
}

.btn--line:hover::before,
.btn--line:focus-visible::before { opacity: 1; }

/* Gold shell — soft transparent gradient + sparkle + shimmer */
.gold-shell,
.nav__cta,
.btn--dark,
.contact__email,
.materials__tab:hover,
.materials__tab.active {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.gold-shell,
.nav__cta,
.btn--dark,
.contact__email,
.materials__tab:hover,
.materials__tab.active {
  border-radius: var(--radius-pill);
  color: #5A4A36;
  text-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--gold-shell-shadow);
  background: var(--gold-shell-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform var(--duration-premium) var(--ease-premium),
    box-shadow var(--duration-premium) var(--ease-premium),
    background var(--duration-premium) var(--ease-soft),
    color var(--duration-premium) var(--ease-soft),
    border-color var(--duration-premium) var(--ease-soft);
}

.nav__cta {
  border: 1px solid rgba(196, 165, 116, 0.22);
  box-shadow: 0 2px 12px rgba(196, 165, 116, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav__cta::after {
  inset: 0;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  box-shadow: 0 6px 20px rgba(196, 165, 116, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.gold-shell::before,
.nav__cta::before,
.btn--dark::before,
.contact__email::before,
.materials__tab:hover::before,
.materials__tab.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background-image: var(--gold-shimmer), var(--gold-sparkle);
  background-size: 240% 100%, 90px 90px;
  background-position: -240% 0, 0 0;
  opacity: 0.5;
  pointer-events: none;
  animation: goldFx 8s ease-in-out infinite;
  transition: opacity var(--duration-premium) var(--ease-soft);
}

.gold-shell::after,
.nav__cta::after,
.btn--dark::after,
.contact__email::after,
.materials__tab:hover::after,
.materials__tab.active::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0);
  pointer-events: none;
  transition: border-color var(--duration-premium) var(--ease-soft);
}

.gold-shell:hover,
.gold-shell:focus-visible,
.nav__cta:hover,
.nav__cta:focus-visible,
.btn--dark:hover,
.btn--dark:focus-visible,
.contact__email:hover,
.contact__email:focus-visible,
.materials__tab:hover,
.materials__tab.active {
  background: var(--gold-shell-hover-base);
  box-shadow: var(--gold-shell-shadow-hover);
}

.gold-shell:hover::before,
.gold-shell:focus-visible::before,
.nav__cta:hover::before,
.nav__cta:focus-visible::before,
.btn--dark:hover::before,
.btn--dark:focus-visible::before,
.contact__email:hover::before,
.contact__email:focus-visible::before,
.materials__tab:hover::before,
.materials__tab.active::before {
  opacity: 0.62;
}

.gold-shell:hover::after,
.gold-shell:focus-visible::after,
.nav__cta:hover::after,
.nav__cta:focus-visible::after,
.btn--dark:hover::after,
.btn--dark:focus-visible::after,
.contact__email:hover::after,
.contact__email:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.55);
}

@keyframes goldFx {
  0%, 100% { background-position: -240% 0, 0 0; }
  50% { background-position: 240% 0, 90px 90px; }
}

.nav__cta svg,
.contact__email svg {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .nav__cta:hover,
  .nav__cta:focus-visible {
    transform: none;
  }

  .btn--dark:hover,
  .btn--dark:focus-visible,
  .contact__email:hover,
  .contact__email:focus-visible {
    transform: translateY(-2px);
  }

  .btn--line:hover,
  .btn--line:focus-visible {
    transform: translateY(-1px);
  }

  .materials__tab:hover,
  .materials__tab.active {
    transform: translateY(-1px);
  }
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  background: var(--ivory);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 96px);
  flex: 1;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.line-draw {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line em {
  font-style: italic;
  color: var(--gold);
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cream);
  transform: translateZ(0);
}

.hero__frame-media {
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero__frame-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
}

.hero__frame-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 45%;
  height: 45%;
  border: 1px solid var(--gold);
  border-radius: clamp(12px, 1.8vw, 24px);
  pointer-events: none;
  z-index: -1;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--white);
  width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 36s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
}

.marquee__group span {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee__dot {
  color: var(--gold) !important;
  font-size: 0.5rem !important;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ========== PHILOSOPHY ========== */
.philosophy {
  padding-block: var(--section-y);
  background: var(--white);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.philosophy__sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.philosophy__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
}

.philosophy__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy__image-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(18, 17, 16, 0.55);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
}

.philosophy__content {
  padding-top: clamp(0px, 4vw, 60px);
}

.quote {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 48px;
  padding-left: 48px;
}

.quote__mark {
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-faint);
  font-style: normal;
}

/* ========== PRINCIPLES ========== */
.principles {
  padding-block: var(--section-y);
  background: var(--ivory);
}

.principles__intro {
  text-align: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.principles__intro .heading {
  max-width: 16ch;
  margin-inline: auto;
}

.principles__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative;
  align-items: start;
}

.principle__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}

.principle__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.principle__text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 58ch;
}

.principle__line {
  position: absolute;
  bottom: 0;
  left: 80px;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}

.principle:last-child .principle__line { display: none; }

/* ========== SPACES ========== */
.spaces {
  padding-block: var(--section-y);
  background: var(--white);
}

.spaces__header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.spaces__header .lead { margin-top: 8px; }

.spaces__gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(300px, 340px));
  gap: 20px;
  width: var(--wrap);
  margin-inline: auto;
}

.space {
  position: relative;
  background: var(--cream);
  min-height: 320px;
  cursor: pointer;
  transition: box-shadow 0.5s var(--ease-premium);
}

.space:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.space--featured {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 100%;
}

.space:not(.space--featured):nth-of-type(2) { grid-column: 2; grid-row: 1; }
.space:not(.space--featured):nth-of-type(3) { grid-column: 3; grid-row: 1; }
.space:not(.space--featured):nth-of-type(4) { grid-column: 2 / 4; grid-row: 2; }

.space__img {
  position: absolute;
  inset: 0;
}


.space__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-premium);
}

.space:hover .space__img img { transform: scale(1.035); }

.space__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(0deg, rgba(18, 17, 16, 0.82) 0%, transparent 100%);
  color: var(--white);
  transform: translateY(6px);
  transition: transform 1s var(--ease-premium);
}

.space:hover .space__info { transform: translateY(0); }

.space__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.space__name {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 6px;
}

.space__desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 36ch;
}

/* ========== SPACE & SERVICE MODALS ========== */
.space-modal,
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 28px);
  pointer-events: none;
  visibility: hidden;
}

.space-modal.is-active,
.service-modal.is-active {
  pointer-events: auto;
  visibility: visible;
}

.space-modal__backdrop,
.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 16, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
}

.space-modal__panel,
.service-modal__panel {
  position: relative;
  width: min(860px, 100%);
  height: min(500px, calc(100vh - 40px));
  background: var(--white);
  border-radius: var(--radius-media);
  border: 1px solid rgba(18, 17, 16, 0.09);
  box-shadow:
    0 24px 64px rgba(18, 17, 16, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.space-modal__layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  height: 100%;
  min-height: 0;
}

.space-modal__close,
.service-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 17, 16, 0.1);
  color: var(--ink-soft);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.space-modal__close svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-premium);
}

.space-modal__close:hover,
.space-modal__close:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.space-modal__close:hover svg,
.space-modal__close:focus-visible svg {
  transform: rotate(90deg);
}

.space-modal__media {
  position: relative;
  height: 100%;
  min-height: 0;
  background: var(--cream);
  overflow: hidden;
}

.space-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.space-modal__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(28px, 3.5vw, 36px) clamp(24px, 3vw, 32px) clamp(24px, 3vw, 28px);
}

.space-modal__head {
  flex-shrink: 0;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(18, 17, 16, 0.08);
}

.space-modal__tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.space-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  padding-right: 36px;
}

.space-modal__text {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 17, 16, 0.15) transparent;
}

.space-modal__text p {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .space-modal__panel {
    height: min(620px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
  }

  .space-modal__layout {
    grid-template-columns: 1fr;
    grid-template-rows: 200px minmax(0, 1fr);
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .space-modal__media {
    height: 200px;
    flex-shrink: 0;
  }

  .space-modal__body {
    min-height: 0;
    overflow: hidden;
    padding: 22px 20px 24px;
  }

  .space-modal__head {
    flex-shrink: 0;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .space-modal__text {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 4px;
  }
}

/* ========== MATERIALS ========== */
.materials {
  padding-block: var(--section-y);
  background: var(--ink);
  color: var(--white);
}

.materials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.materials__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 28px;
}

.materials__tab {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 188, 148, 0.25);
  color: rgba(255, 255, 255, 0.55);
  transition:
    transform var(--duration-premium) var(--ease-premium),
    box-shadow var(--duration-premium) var(--ease-premium),
    background var(--duration-premium) var(--ease-soft),
    color var(--duration-premium) var(--ease-soft),
    border-color var(--duration-premium) var(--ease-soft);
}

.materials__tab:hover,
.materials__tab.active {
  border-color: transparent;
}

.materials__panel {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 46ch;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.materials__panel.active {
  opacity: 1;
  transform: translateY(0);
}

.materials__visual {
  position: relative;
}

.materials__img-stack {
  position: relative;
  aspect-ratio: 4/5;
}

.materials__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease-soft), transform 1.4s var(--ease-premium);
}

.materials__img.active {
  opacity: 1;
  transform: scale(1);
}

.materials__img-stack::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(212, 188, 148, 0.25);
  border-radius: var(--radius-media);
  pointer-events: none;
  z-index: 2;
}

/* ========== WARSAW ========== */
.warsaw {
  padding-block: var(--section-y);
  background: var(--ivory);
}

.warsaw__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.warsaw__list {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.warsaw__list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.warsaw__list li:first-child { border-top: 1px solid var(--line); }

.warsaw__list strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.warsaw__list span {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

.warsaw__map-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(18, 17, 16, 0.08);
  background: var(--white);
}

.warsaw__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.warsaw__map-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(18, 17, 16, 0.1);
}

.warsaw__map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-faint);
  flex-shrink: 0;
}

/* ========== CONTACT ========== */
.contact {
  padding-block: var(--section-y);
  background: var(--white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold-faint) 0%, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  letter-spacing: 0.04em;
  padding: 20px 44px;
  border: none;
}

.contact__email svg {
  width: 22px;
  height: 22px;
  color: #8A7355;
}

/* ========== FOOTER ========== */
.footer {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 165, 116, 0.08) 0%, transparent 55%),
    var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(64px, 8vw, 96px) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
  padding-bottom: 56px;
}

.footer__plate {
  padding: clamp(28px, 4vw, 40px);
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.55s var(--ease-premium),
    border-color 0.55s var(--ease-premium),
    background 0.55s var(--ease-premium),
    box-shadow 0.55s var(--ease-premium);
}

.footer__plate:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 165, 116, 0.32);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.footer__plate--brand {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
}

.footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer__logo-img {
  display: block;
  height: clamp(52px, 5.8vw, 68px);
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition:
    opacity 0.45s var(--ease-premium),
    transform 0.45s var(--ease-premium);
}

.footer__logo:hover .footer__logo-img,
.footer__logo:focus-visible .footer__logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer__about {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 38ch;
}

.footer__heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.footer__address {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
}

.footer__address a {
  display: inline-block;
  margin-top: 12px;
  color: var(--white);
  transition: color 0.3s;
}

.footer__address a:hover { color: var(--gold-light); }

.footer__hours {
  list-style: none;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__hours li span { color: rgba(255, 255, 255, 0.45); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ivory);
}

.preloader__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 38%, rgba(196, 165, 116, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(196, 165, 116, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, var(--white) 0%, var(--ivory) 55%, var(--cream) 100%);
}

.preloader__bg::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 42%, rgba(196, 165, 116, 0.14) 0%, transparent 58%);
  animation: preloaderGlow 3.2s ease-in-out infinite alternate;
}

@keyframes preloaderGlow {
  from { opacity: 0.45; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

.preloader__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.2vw, 28px);
  padding: 24px;
}

.preloader__logo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: clamp(10px, 1.5vw, 14px);
}

.preloader__logo {
  display: block;
  width: clamp(160px, 24vw, 220px);
  height: auto;
  object-fit: contain;
  animation: preloaderLogoFloat 3.6s ease-in-out infinite;
}

@keyframes preloaderLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.preloader__logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-12deg);
  animation: preloaderLogoShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes preloaderLogoShine {
  0%, 55% { transform: translateX(-120%) skewX(-12deg); }
  100% { transform: translateX(140%) skewX(-12deg); }
}

.preloader__progress {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(240px, 62vw);
}

.preloader__line {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(18, 17, 16, 0.08);
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(18, 17, 16, 0.06);
}

.preloader__line-fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  box-shadow: 0 0 14px rgba(196, 165, 116, 0.45);
  border-radius: inherit;
}

.preloader__line-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: preloaderFillShimmer 1.4s ease-in-out infinite;
}

@keyframes preloaderFillShimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.preloader__line-beam {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 165, 116, 0.55), transparent);
  animation: preloaderBeam 1.7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes preloaderBeam {
  from { transform: translateX(0); }
  to { transform: translateX(320%); }
}

.preloader__status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 1.2em;
}

.preloader__status-text {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(18, 17, 16, 0.55);
}

.preloader__status-percent {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
}

.preloader__tagline {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

@media (prefers-reduced-motion: reduce) {
  .preloader__bg::after,
  .preloader__logo,
  .preloader__logo-shine,
  .preloader__line-fill::after,
  .preloader__line-beam {
    animation: none;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 9500;
  box-sizing: border-box;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 921px) {
  .cookie-banner {
    display: flex;
    justify-content: center;
  }
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner__shell {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: clamp(18px, 2.4vw, 28px);
  box-shadow:
    0 4px 20px rgba(18, 17, 16, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

@media (max-width: 920px) {
  .cookie-banner__shell {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .cookie-banner__btn--accept {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
}

@media (min-width: 921px) {
  .cookie-banner__shell {
    flex: 0 1 920px;
    max-width: 920px;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 2.5vw, 24px);
    padding: clamp(16px, 2.5vw, 22px) clamp(16px, 2.5vw, 24px);
  }

  .cookie-banner__main {
    flex: 1 1 auto;
    width: auto;
  }

  .cookie-banner__text {
    max-width: 46ch;
  }
}

.cookie-banner__glow {
  position: absolute;
  top: -40%;
  left: 8%;
  width: 42%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(196, 165, 116, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.cookie-banner__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

@media (min-width: 921px) {
  .cookie-banner__main {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 16px);
  }
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold-deep);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 240, 225, 0.85) 100%);
  border: 1px solid rgba(196, 165, 116, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cookie-banner__icon svg {
  width: 22px;
  height: 22px;
}

.cookie-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cookie-banner__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.cookie-banner__text {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 100%;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.cookie-banner__link {
  display: inline;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  position: relative;
  overflow-wrap: anywhere;
  transition: color 0.35s var(--ease-soft);
}

.cookie-banner__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s var(--ease-premium);
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: var(--ink);
}

.cookie-banner__link:hover::after,
.cookie-banner__link:focus-visible::after {
  transform: scaleX(1);
}

.cookie-banner__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 921px) {
  .cookie-banner__actions {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 10px;
  }
}

.cookie-banner__btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  white-space: normal;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--duration-premium) var(--ease-premium),
    box-shadow var(--duration-premium) var(--ease-premium),
    background var(--duration-premium) var(--ease-soft),
    color var(--duration-premium) var(--ease-soft),
    border-color var(--duration-premium) var(--ease-soft);
}

.cookie-banner__btn--ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(18, 17, 16, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cookie-banner__btn--ghost:hover,
.cookie-banner__btn--ghost:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(160, 136, 88, 0.35);
  transform: translateY(-1px);
}

.cookie-banner__btn--accept {
  color: #5A4A36;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--gold-shell-shadow);
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--gold-shell-shadow-hover);
}

body.cookie-banner-visible {
  overflow-x: clip;
}

body.cookie-banner-visible .scroll-top.is-visible {
  bottom: calc(12px + env(safe-area-inset-bottom, 0px) + 250px);
}

@media (min-width: 921px) {
  body.cookie-banner-visible .scroll-top.is-visible {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px) + 132px);
  }
}

@media (min-width: 921px) {
  .cookie-banner__btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    left: max(10px, env(safe-area-inset-left, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
  }

  .cookie-banner__shell {
    padding: 12px;
  }

  .cookie-banner__main {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .cookie-banner__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .cookie-banner__icon svg {
    width: 17px;
    height: 17px;
  }

  .cookie-banner__tag {
    letter-spacing: 0.16em;
  }

  .cookie-banner__link {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 900;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: linear-gradient(145deg, rgba(252, 244, 228, 0.92) 0%, rgba(235, 215, 175, 0.88) 100%);
  color: var(--ink-soft);
  box-shadow: 0 8px 28px rgba(196, 165, 116, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.45s var(--ease-premium),
    visibility 0.45s var(--ease-premium),
    transform 0.45s var(--ease-premium),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top[hidden] { display: grid; }

.scroll-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease-premium);
}

.scroll-top:hover {
  border-color: rgba(196, 165, 116, 0.7);
  box-shadow: 0 12px 36px rgba(196, 165, 116, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.scroll-top:hover svg { transform: translateY(-2px); }

.scroll-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ========== LEGAL & FAQ PAGES ========== */
.legal-page,
.faq-page {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  padding-bottom: var(--section-y);
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 42%, var(--cream) 100%);
}

.legal-page__inner,
.faq-page__inner {
  max-width: 780px;
}

.legal-page__head,
.faq-page__head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.legal-page__head .lead,
.faq-page__head .lead {
  max-width: 62ch;
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 48px);
}

.legal-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}

.legal-section .body-text {
  max-width: none;
  margin-top: 0;
}

.legal-section .body-text + .body-text {
  margin-top: 14px;
}

.legal-list {
  list-style: none;
  margin-top: 14px;
}

.legal-list li {
  position: relative;
  padding-left: 18px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-section a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(160, 136, 88, 0.35);
  text-underline-offset: 3px;
  transition: color 0.35s var(--ease-soft), text-decoration-color 0.35s var(--ease-soft);
}

.legal-section a:hover,
.legal-section a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* ========== FAQ PAGE ========== */
.faq-page__body {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 32px rgba(18, 17, 16, 0.04);
  overflow: hidden;
  transition: border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.faq-item.is-open {
  border-color: rgba(160, 136, 88, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(18, 17, 16, 0.06);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: clamp(18px, 2.5vw, 22px) clamp(20px, 3vw, 28px);
  border: none;
  background: none;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.35s var(--ease-soft);
}

.faq-item__question:hover,
.faq-item.is-open .faq-item__question {
  color: var(--gold-deep);
}

.faq-item__question:focus-visible {
  outline: 2px solid rgba(160, 136, 88, 0.45);
  outline-offset: -2px;
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(18, 17, 16, 0.1);
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-soft), border-color 0.35s var(--ease-soft), background 0.35s var(--ease-soft);
}

.faq-item__icon svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
  transition: transform 0.4s var(--ease-soft);
}

.faq-item.is-open .faq-item__icon {
  border-color: rgba(160, 136, 88, 0.3);
  background: rgba(160, 136, 88, 0.08);
}

.faq-item.is-open .faq-item__icon svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-item__answer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.faq-item__answer .body-text {
  max-width: none;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 17, 16, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel,
  .faq-item__answer,
  .faq-item__icon,
  .faq-item__icon svg {
    transition: none;
  }
}

.faq-item__answer a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(160, 136, 88, 0.35);
  text-underline-offset: 3px;
  transition: color 0.35s var(--ease-soft), text-decoration-color 0.35s var(--ease-soft);
}

.faq-item__answer a:hover,
.faq-item__answer a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.faq-page__cta {
  text-align: center;
  padding: clamp(32px, 4vw, 44px);
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 244, 237, 0.88) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.faq-page__cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.faq-page__cta-text {
  max-width: 42ch;
  margin: 0 auto 24px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

/* ========== CONTACT PAGE ========== */
.contact-page {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  padding-bottom: 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 38%, var(--cream) 100%);
}

.contact-page__head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.contact-page__head .lead {
  max-width: 62ch;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-page__card {
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 32px rgba(18, 17, 16, 0.04);
}

.contact-page__card-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-page__card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-page__card-text,
.contact-page__card address {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.contact-page__card a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(160, 136, 88, 0.35);
  text-underline-offset: 3px;
  transition: color 0.35s var(--ease-soft), text-decoration-color 0.35s var(--ease-soft);
}

.contact-page__card a:hover,
.contact-page__card a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.contact-page__hours {
  list-style: none;
}

.contact-page__hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
}

.contact-page__hours li + li {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(18, 17, 16, 0.07);
}

.contact-page__hours time {
  color: var(--ink-soft);
  font-weight: 400;
}

.contact-form {
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 48px rgba(18, 17, 16, 0.05);
}

.contact-form__intro {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.contact-form__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form__field label span {
  color: var(--gold-deep);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 17, 16, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  transition:
    border-color 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    background 0.35s var(--ease-soft);
}

.contact-form__field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(18, 17, 16, 0.38);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(160, 136, 88, 0.45);
  box-shadow: 0 0 0 3px rgba(160, 136, 88, 0.12);
  background: var(--white);
}

.contact-form__field.is-invalid input,
.contact-form__field.is-invalid textarea {
  border-color: rgba(176, 72, 72, 0.55);
  box-shadow: 0 0 0 3px rgba(176, 72, 72, 0.1);
}

.contact-form__error {
  min-height: 1.1em;
  font-size: 0.78rem;
  font-weight: 400;
  color: #9e4545;
  line-height: 1.4;
}

.contact-form__submit {
  margin-top: 24px;
}

.contact-page__map {
  padding-bottom: var(--section-y);
}

.contact-page__map-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.contact-page__map-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.contact-page__map-text {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.contact-page__map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(18, 17, 16, 0.08);
  background: var(--white);
}

.contact-page__map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.contact-page__map-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(18, 17, 16, 0.1);
}

.contact-page__map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-faint);
  flex-shrink: 0;
}

/* ========== FORM MODAL ========== */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 28px);
  pointer-events: none;
  visibility: hidden;
}

.form-modal.is-active {
  pointer-events: auto;
  visibility: visible;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 16, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
}

.form-modal__panel {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(28px, 4vw, 36px);
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(18, 17, 16, 0.11);
  box-shadow:
    0 24px 64px rgba(18, 17, 16, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
}

.form-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 17, 16, 0.1);
  color: var(--ink-soft);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.form-modal__close svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-premium);
}

.form-modal__close:hover,
.form-modal__close:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.form-modal__close:hover svg,
.form-modal__close:focus-visible svg {
  transform: rotate(90deg);
}

.form-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 17, 16, 0.1);
  background: rgba(248, 244, 237, 0.9);
}

.form-modal__icon svg {
  width: 24px;
  height: 24px;
}

.form-modal__icon-success,
.form-modal__icon-error {
  display: none;
}

.form-modal.is-success .form-modal__icon-success {
  display: block;
}

.form-modal.is-error .form-modal__icon-error {
  display: block;
}

.form-modal.is-success .form-modal__icon {
  color: var(--gold-deep);
  border-color: rgba(160, 136, 88, 0.28);
  background: rgba(160, 136, 88, 0.1);
}

.form-modal.is-error .form-modal__icon {
  color: #9e4545;
  border-color: rgba(176, 72, 72, 0.28);
  background: rgba(176, 72, 72, 0.08);
}

.form-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}

.form-modal__text {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.form-modal__btn {
  min-width: 160px;
  justify-content: center;
}

/* ========== SERVICES PAGE ========== */
.services-page {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  padding-bottom: var(--section-y);
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 48%, var(--cream) 100%);
}

.services-page__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.services-page__head .lead {
  max-width: 58ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(18, 17, 16, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(18, 17, 16, 0.05);
  overflow: hidden;
  transition:
    border-color 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft),
    transform 0.45s var(--ease-premium);
}

.service-card:hover {
  border-color: rgba(160, 136, 88, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 22px 48px rgba(18, 17, 16, 0.08);
  transform: translateY(-4px);
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-premium);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.8vw, 26px);
}

.service-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card__excerpt {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__btn {
  align-self: flex-start;
  justify-content: center;
  min-width: 148px;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 40px));
  padding-bottom: clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
  overflow: hidden;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.about-hero__meta .line-draw {
  width: 48px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.about-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-hero__line {
  display: block;
  overflow: hidden;
}

.about-hero__line em {
  font-style: italic;
  color: var(--gold-deep);
}

.about-hero__desc {
  max-width: 48ch;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-hero__visual {
  position: relative;
}

.about-hero__frame {
  position: relative;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid rgba(18, 17, 16, 0.08);
  box-shadow: 0 28px 64px rgba(18, 17, 16, 0.1);
}

.about-hero__frame-media {
  overflow: hidden;
}

.about-hero__frame-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-hero__frame-accent {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  aspect-ratio: 1;
  border-radius: var(--radius-media);
  border: 1px solid rgba(160, 136, 88, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 237, 0.75));
  box-shadow: 0 16px 40px rgba(18, 17, 16, 0.06);
  z-index: -1;
}

.about-story {
  padding-block: var(--section-y);
  background: var(--white);
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.about-story__media {
  position: relative;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(18, 17, 16, 0.08);
}

.about-story__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-story__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-story__timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.about-story__milestone {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 17, 16, 0.08);
}

.about-story__phase {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1.2;
}

.about-story__milestone-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.about-story__milestone-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.about-method {
  padding-block: var(--section-y);
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.about-method__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 56px);
}

.about-method__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-method__step {
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid rgba(18, 17, 16, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  min-height: 100%;
}

.about-method__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(160, 136, 88, 0.25);
  background: rgba(160, 136, 88, 0.08);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-deep);
}

.about-method__step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}

.about-method__step-text {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.about-culture {
  padding-block: var(--section-y);
  background: var(--white);
}

.about-culture__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.about-culture__visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.about-culture__img-main,
.about-culture__img-detail {
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(18, 17, 16, 0.08);
}

.about-culture__img-main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-culture__img-detail {
  margin-bottom: 28px;
}

.about-culture__img-detail img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-culture__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.about-culture__item {
  padding: 20px 22px;
  border: 1px solid rgba(18, 17, 16, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.about-culture__item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.about-culture__item-text {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.about-metrics {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.about-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.about-metrics__value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.about-metrics__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.about-closing {
  padding-block: var(--section-y);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.about-closing__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(18, 17, 16, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 56px rgba(18, 17, 16, 0.06);
  overflow: hidden;
}

.about-closing__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-closing__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-closing__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

.about-closing__text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 46ch;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .spaces__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .space--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .space:not(.space--featured):nth-of-type(2),
  .space:not(.space--featured):nth-of-type(3),
  .space:not(.space--featured):nth-of-type(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .space--featured { min-height: 420px; }
}

@media (max-width: 960px) {
  .hero__grid,
  .philosophy__grid,
  .materials__grid,
  .warsaw__grid,
  .contact-page__layout,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-page__map-wrap {
    aspect-ratio: 4 / 3;
  }

  .about-hero__grid,
  .about-story__grid,
  .about-culture__grid,
  .about-closing__panel {
    grid-template-columns: 1fr;
  }

  .about-hero__visual {
    order: -1;
  }

  .about-method__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-culture__visual {
    grid-template-columns: 1fr 0.55fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .philosophy__sticky {
    position: relative;
    top: auto;
  }

  .hero__visual { order: -1; }

  .hero__frame { aspect-ratio: 16/11; }

  .hero__frame-accent { display: none; }

  .warsaw__list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 1023px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 96px;
    --wrap: calc(100% - 32px);
  }

  .header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .header__shell {
    min-height: 56px;
    padding-left: 16px;
  }

  .logo__img { height: 46px; }

  .header__shell {
    min-height: 64px;
  }

  .principle {
    grid-template-columns: 56px 1fr;
  }

  .principle__line { left: 56px; }

  .spaces__gallery {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bar {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
  }

  .hero__grid {
    padding-block: 20px 28px;
    gap: 20px;
  }

  .hero__meta {
    margin-bottom: 16px;
  }

  .hero__title {
    margin-bottom: 16px;
  }

  .hero__desc {
    margin-bottom: 14px;
    line-height: 1.65;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
  }

  .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__frame {
    aspect-ratio: 16 / 10;
  }

  .hero__title {
    font-size: clamp(2.1rem, 9.5vw, 2.75rem);
  }

  .hero__desc {
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .hero__actions {
    gap: 8px;
  }

  .materials__tabs { gap: 8px; }

  .materials__tab {
    padding: 10px 14px;
    font-size: 0.62rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

