@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: none;
  overflow-x: hidden;
  background: #1c1b1a;
}

html.dark {
  background: #1C1A17;
}

html::-webkit-scrollbar {
  display: none;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Karla", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: crosshair;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fill the bottom safe area (home indicator zone) with footer color */
body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-bottom);
  background: #1c1b1a;
  pointer-events: none;
  z-index: 799;
}

html.dark body::after {
  background: #1C1A17;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

#contact strong {
  color: #fff;
}

html.dark strong {
  color: rgba(240, 237, 232, 0.82);
}

/* ── IMAGE SHADOW ── */
img, .philosophy-img, .gallery-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ── BUTTONS ── */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sage);
  z-index: 1000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.1s linear;
}

/* ── LANGUAGE TOGGLE HIDDEN ── */
#mobile-lang-toggle,
#lang-toggle { display: none !important; }

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 {
  transition-delay: 0.15s;
}

.fade-in.delay-2 {
  transition-delay: 0.3s;
}

.fade-in.delay-3 {
  transition-delay: 0.45s;
}

/* ── SECTION BASE ── */
section {
  padding: var(--space-y) var(--space-x);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9DC49A;
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.section-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: pretty;
}

.section-title em {
  font-style: italic;
}

html.dark .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}
html.dark .btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
html.dark img, html.dark .philosophy-img, html.dark .gallery-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html.dark .gallery-label {
  color: #F0EDE8;
}

:root {
  --cream: #F9F6F1;
  --ink: #1A1A1A;
  --sage: #6B8F63;
  --warm-gray: #6E6E6E;
  --sand: #E2DDD7;
  --sand-light: #F3EFE9;
  --space-y: clamp(4rem, 8vh, 10rem);
  --space-x: clamp(1.2rem, 6vw, 8rem);
}

html.dark {
  --cream: #1C1A17;
  --ink: #F0EDE8;
  --warm-gray: #9A9A9A;
  --sand: #2C2926;
  --sand-light: #232019;
}

/* ── TOP BAR ── */
#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #bcc280;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--space-x);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
}
#top-bar .top-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  align-items: center;
}
@media (max-width: 600px) {
  #top-bar .top-bar-inner {
    gap: 0.5rem;
    letter-spacing: 0.06em;
  }
}
@media (max-width: 600px) {
  #top-bar .top-bar-hide-mobile {
    display: none;
  }
}
#top-bar a, #top-bar .top-bar-info {
  color: #000000;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
#top-bar a:hover, #top-bar .top-bar-info:hover {
  opacity: 1;
}
#top-bar .sep {
  color: #000000;
  opacity: 1;
  font-weight: 300;
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.6rem var(--space-x);
  transition: padding 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}

#main-nav.scrolled,
#main-nav.nav--solid {
  top: 20px;
  padding: 0.95rem var(--space-x);
  background: rgba(249, 246, 241, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}

.subpage-spacer {
  height: calc(20px + 4.5rem);
}
@media (max-width: 900px) {
  .subpage-spacer { height: calc(20px + 3rem); }
}
@media (max-width: 480px) {
  .subpage-spacer { height: calc(20px + 2.5rem); }
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  position: relative;
}

.nav-logo {
  font-family: "DM Serif Display", serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(250, 248, 245, 0.96);
  transition: color 0.45s, font-size 0.45s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
@media (min-width: 1151px) {
  .nav-logo {
    font-size: 1.7rem;
  }
}

.nav-logo-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
}

.nav-logo-gaia {
  line-height: 1;
}

.nav-logo-divider {
  width: 100%;
  height: 3px;
  opacity: 0.7;
}

.nav-logo-urnen {
  font-size: 0.48rem;
  letter-spacing: 0.45em;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.nav-logo svg {
  flex-shrink: 0;
  transition: color 0.45s;
  opacity: 0.95;
}

#main-nav.scrolled .nav-logo {
  color: var(--ink);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(250, 248, 245);
  text-decoration: none;
  transition: color 0.3s;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.6, 0.05, 0.2, 1);
  opacity: 0.6;
}

.nav-links a:hover {
  color: rgb(250, 248, 245);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

#main-nav.scrolled .nav-links a {
  color: #3a3a3a;
}

#main-nav.scrolled .nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.96);
  text-decoration: none;
  padding: 0.5rem 1.3rem;
  background: transparent;
  border: 1px solid rgba(250, 248, 245, 0.5);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  transition: all 0.4s cubic-bezier(0.6, 0.05, 0.2, 1);
}

.nav-cta::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.6, 0.05, 0.2, 1);
}

.nav-cta:hover {
  background: rgba(250, 248, 245, 0.12);
  border-color: rgba(250, 248, 245, 0.8);
}

@media (min-width: 1250px) {
  .nav-cta:hover {
    padding-right: 2.8rem;
    gap: 1.1rem;
  }
  .nav-cta:hover::after {
    width: 40px;
  }
}

#main-nav.scrolled .nav-cta {
  color: var(--ink);
  border-color: rgba(26, 26, 26, 0.35);
}

#main-nav.scrolled .nav-cta:hover {
  background: rgba(26, 26, 26, 0.06);
  border-color: rgba(26, 26, 26, 0.6);
}

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 1rem;
  justify-self: end;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: rgba(250, 248, 245, 0.9);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, width 0.4s ease, background 0.45s;
  transform-origin: center;
}

.nav-hamburger span:nth-child(1) { width: 26px; }
.nav-hamburger span:nth-child(2) { width: 16px; margin-left: auto; }
.nav-hamburger span:nth-child(3) { width: 26px; }

#main-nav.scrolled .nav-hamburger span {
  background: var(--ink);
}

#main-nav.nav--solid .nav-logo { color: var(--ink); }
#main-nav.nav--solid .nav-links a { color: #3a3a3a; }
#main-nav.nav--solid .nav-cta { color: var(--ink); border-color: rgba(26,26,26,0.35); }
#main-nav.nav--solid .nav-hamburger span { background: var(--ink); }
html.dark #main-nav.nav--solid { background: rgba(28, 26, 23, 0.97); border-bottom-color: rgba(255,255,255,0.08); }
html.dark #main-nav.nav--solid .nav-logo { color: var(--ink); }
html.dark #main-nav.nav--solid .nav-links a { color: var(--ink); }
html.dark #main-nav.nav--solid .nav-cta { color: var(--ink); }
html.dark #main-nav.nav--solid .nav-hamburger span { background: var(--ink); }

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 26px;
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 26px;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu.is-open::before {
  background: rgba(0, 0, 0, 0.45);
}

.mobile-menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 380px);
  background: #1c1b1a;
  display: flex;
  flex-direction: column;
  padding: 5rem 2.5rem 3rem;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: "DM Serif Display", serif;
  font-size: 1.6rem;
  color: rgba(240, 237, 232, 0.9);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.25s;
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu a:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.mobile-menu a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.38s; }

.mobile-menu a:hover { color: #9DC49A; }

.mobile-menu-cta {
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 0.85rem 1.5rem !important;
  font-family: "Karla", sans-serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(240, 237, 232, 0.7) !important;
  text-align: center;
  border-radius: 2px;
}

.mobile-menu-cta:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--cream) !important;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(240, 237, 232, 0.25);
  text-transform: uppercase;
}

html.dark .mobile-menu-drawer {
  background: #141210;
}

/* ── DARK MODE ── */
html.dark #main-nav.scrolled {
  background: rgba(28, 26, 23, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html.dark .nav-logo {
  color: rgba(240, 237, 232, 0.96);
}
html.dark #main-nav.scrolled .nav-logo {
  color: var(--ink);
}
html.dark .nav-links a {
  color: rgba(240, 237, 232, 0.9);
}
html.dark #main-nav.scrolled .nav-links a {
  color: var(--ink);
}
html.dark #main-nav.scrolled .nav-links a:hover {
  color: var(--ink);
}
html.dark .nav-cta {
  color: rgba(240, 237, 232, 0.9);
  border-color: rgba(240, 237, 232, 0.4);
}
html.dark .nav-cta:hover {
  background: rgba(240, 237, 232, 0.1);
  border-color: rgba(240, 237, 232, 0.75);
}
html.dark #main-nav.scrolled .nav-cta {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
}
html.dark #main-nav.scrolled .nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
html.dark .nav-hamburger span {
  background: rgba(240, 237, 232, 0.9);
}
html.dark #main-nav.scrolled .nav-hamburger span {
  background: var(--ink);
}
html.dark .mobile-menu-drawer {
  background: #141210;
}
html.dark #top-bar {
  background: var(--cream);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html.dark #top-bar a, html.dark #top-bar .top-bar-info, html.dark #top-bar .sep {
  color: var(--ink);
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 95vh;
  min-height: 700px;
  overflow: hidden;
}

#hero.hero--subpage {
  height: 45vh;
  min-height: 280px;
  align-items: center;
  justify-content: center;
}
#hero.hero--subpage .hero-video::after {
  background: rgba(0, 0, 0, 0.3);
}

.hero-video {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  z-index: 1;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-video video.is-active {
  opacity: 1;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 3, 2, 0.65) 0%, rgba(5, 3, 2, 0.28) 45%, rgba(5, 3, 2, 0.75) 100%), linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 20%, transparent 45%);
  z-index: 2;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(250, 248, 245, 0.025) 3px, rgba(250, 248, 245, 0.025) 4px);
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: absolute;
  bottom: 8rem;
  left: 0;
  right: 0;
  z-index: 4;
  text-align: left;
  color: #ffffff;
  padding: 0 var(--space-x);
  max-width: 1000px;
}

.hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
  display: block;
}

.hero-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  text-wrap: pretty;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.7);
}

.hero-title em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.btn-solid {
  display: inline-block;
  border: 1px solid var(--cream);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--cream);
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-solid:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 248, 245, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(250, 248, 245, 0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1.1);
  }
}
.hero-title em:first-of-type {
  color: #bcc280;
}

/* ── PHILOSOPHY ── */
#philosophy {
  background: var(--cream);
  padding-top: 6rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.philosophy-text .section-title {
  margin-bottom: 2rem;
}

.philosophy-text p {
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
  max-width: 480px;
}

.philosophy-img {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.philosophy-parallax-inner {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  background-image: url("../assets/philosophy-rose.png");
}

/* ── SERVICES ── */
#services {
  background: var(--cream);
  position: relative;
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 2px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.6rem;
  color: var(--sage);
}

.service-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--ink);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.75;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

html.dark .service-card {
  background: var(--sand);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ── MATERIALS ── */
#materials {
  background: var(--cream);
  position: relative;
}

.materials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.material-item {
  border-top: 1px solid var(--sand);
  padding-top: 2rem;
}

.material-number {
  font-family: "DM Serif Display", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: #D0CCC6;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.material-item h4 {
  font-family: "DM Serif Display", serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.material-item p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--warm-gray);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--sand);
}

/* ── GALLERY ── */
#gallery {
  background: var(--cream);
  padding-top: 0;
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  padding-top: 7rem;
}

.gallery-masonry {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gallery-row-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gallery-side .gallery-item {
  flex: 1;
}

.gallery-row-main > .gallery-item img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery-row-main > .gallery-item {
  height: 100%;
}

.gallery-row-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 2px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  border-radius: 4px;
  transition: background 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(44, 44, 44, 0.28);
}

.gallery-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ── 3D MODEL SECTION ── */
#model3d {
  background: var(--cream);
  padding: calc(var(--space-y) * 0.4) var(--space-x) calc(var(--space-y) * 0.4);
}

#model3d-sticky {
  max-width: 1240px;
  margin: 0 auto;
}

.model3d-bignum,
.model3d-vlabel {
  display: none;
}

.model3d-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: flex-start;
  width: 100%;
  position: relative;
}

@media (max-width: 1350px) {
  .model3d-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .model3d-right {
    padding-top: 0;
  }
  .model3d-materials {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.model3d-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9DC49A;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: 1.6rem;
}

.model3d-eyebrow .num {
  font-family: "DM Serif Display", serif;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0;
  color: #9DC49A;
}

.model3d-eyebrow .rule {
  width: 48px;
  height: 1px;
  background: #9DC49A;
}

.model3d-text h2.section-title {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 0.95;
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.model3d-text p.lead {
  color: #4A453E;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 460px;
  margin: 0;
}

.model3d-materials {
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
}



.material-col h4 {
  font-family: "DM Serif Display", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0 0 0.4rem;
}

.material-col p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.model3d-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.model3d-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.model3d-divider .label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: #9DC49A;
}

.ifactory-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s;
  font-family: "DM Serif Display", serif;
  font-size: 0.95rem;
  color: #1A1A1A;
}

.ifactory-link img {
  background: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  height: 36px !important;
  width: auto !important;
}

.ifactory-link:hover {
  opacity: 1;
}

.model3d-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A1A1A;
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.6, 0.05, 0.2, 1);
}

.model3d-cta::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.6, 0.05, 0.2, 1);
}

.model3d-cta:hover {
  padding-right: 3rem;
  gap: 1.2rem;
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(26, 26, 26, 0.05);
}

.model3d-cta:hover::after {
  width: 50px;
}

.model3d-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 5px;
  padding-top: 12rem;
  padding-bottom: 3rem;
}

#model3d-wrap {
  height: 460px;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: var(--cream);
  margin-top: 2rem;
}

#model3d-canvas {
  transform: translateY(-3rem);
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 0;
  filter: brightness(1.2) contrast(1.05);
}

.model3d-scroll-hint {
  position: absolute;
  right: var(--space-x);
  bottom: 2.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.model3d-scroll-hint .scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

#model3d-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html.dark .model3d-eyebrow {
  color: #9DC49A;
}
html.dark .model3d-eyebrow .num {
  color: #9DC49A;
}
html.dark .model3d-eyebrow .rule {
  background: #9DC49A;
}
html.dark .model3d-text p.lead {
  color: rgba(240, 237, 232, 0.7);
}
html.dark .model3d-materials {
  border-top-color: rgba(255, 255, 255, 0.12);
}
html.dark .material-col h4 {
  color: var(--ink);
}
html.dark .material-col p {
  color: rgba(255, 255, 255, 0.6);
}
html.dark .model3d-divider .label {
  color: #9DC49A;
}
html.dark .ifactory-link {
  color: var(--ink);
  opacity: 1;
}
html.dark .ifactory-link img {
  background: rgba(255, 255, 255, 0.08);
  filter: none;
}
html.dark .model3d-cta {
  color: var(--ink);
  border-color: rgba(240, 237, 232, 0.3);
}
html.dark .model3d-cta:hover {
  border-color: rgba(240, 237, 232, 0.7);
  background: rgba(240, 237, 232, 0.06);
}
html.dark .model3d-scroll-hint {
  color: rgba(255, 255, 255, 0.45);
}
html.dark .model3d-scroll-hint .scroll-line {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
}
html.dark #model3d-loading {
  color: rgba(255, 255, 255, 0.3);
}

/* ── FAQ ── */
#faq {
  background: var(--cream);
  padding-top: var(--space-y);
  padding-bottom: calc(var(--space-y) * 2);
  position: relative;
  z-index: 5;
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--sand);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--sand);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "DM Serif Display", serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--sage);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  color: var(--sage);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.2, 1), opacity 0.3s;
}

.faq-icon::before {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.6, 0.05, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  color: var(--warm-gray);
  font-size: 0.92rem;
  line-height: 1.85;
  padding-bottom: 1.6rem;
  max-width: 640px;
}

/* ── CONTACT ── */
.contact-mobile-header { display: none; }

#contact {
  background: #2c2a28;
  color: #ffffff;
  position: relative;
  padding-bottom: 267px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info .section-title {
  color: var(--cream);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.contact-detail span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

.contact-detail a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail a:hover {
  color: var(--sage);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: "Karla", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  border-radius: 1px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group textarea {
  height: 120px;
}

.btn-submit {
  display: inline-block;
  border: 1px solid rgba(250, 248, 245, 0.3);
  color: var(--cream);
  font-family: "Karla", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.35s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.form-success {
  display: none;
  color: var(--sage);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.contact-form {
  margin-bottom: 6rem;
}

html.dark #contact {
  background: #1a1816;
}
html.dark .contact-info .section-title {
  color: rgba(240, 237, 232, 0.95);
}
html.dark .btn-submit {
  color: rgba(240, 237, 232, 0.9);
  border-color: rgba(240, 237, 232, 0.3);
}

/* ── MAP CONSENT OVERLAY ── */
.map-consent-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.map-consent-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-consent-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c2a28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.map-consent-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-consent-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 420px;
  gap: 1rem;
}

.map-consent-icon {
  width: 44px;
  height: 44px;
  color: var(--sage);
  opacity: 0.9;
}

.map-consent-content h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin: 0;
  font-weight: 400;
  font-style: italic;
}

.map-consent-content p {
  font-family: "Karla", sans-serif;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
}

.map-consent-legal {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.25) !important;
}
.map-consent-legal a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.map-consent-legal a:hover {
  color: var(--sage);
}

.map-consent-btn {
  display: inline-block;
  border: 1px solid rgba(107, 143, 99, 0.6);
  color: var(--sage);
  font-family: "Karla", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.35s;
  margin-top: 0.5rem;
}
.map-consent-btn:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.map-consent-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Karla", sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.map-consent-remember input[type=checkbox] {
  width: 13px;
  height: 13px;
  accent-color: var(--sage);
  cursor: pointer;
  flex-shrink: 0;
}
.map-consent-remember:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  transform: translateY(calc(100% + 2rem));
  z-index: 9999;
  width: min(420px, 100vw - 2rem);
  background: var(--cream);
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  opacity: 0;
  border-radius: 4px;
}
#cookie-banner.cb-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 600px) {
  #cookie-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

.cb-inner {
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cb-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cb-icon {
  width: 24px;
  height: 24px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 7px;
}

.cb-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.cb-desc {
  font-family: "Karla", sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--warm-gray);
  margin: 0;
}

.cb-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: 2px;
}

.cb-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
  transition: background 0.2s;
}
.cb-category:last-child {
  border-bottom: none;
}
.cb-category--highlight {
  background: rgba(107, 143, 99, 0.04);
}

.cb-cat-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cb-cat-name {
  font-family: "Karla", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 500;
}

.cb-cat-desc {
  font-family: "Karla", sans-serif;
  font-size: 0.75rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

.cb-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  background: rgba(26, 26, 26, 0.1);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
}
.cb-toggle--on {
  background: var(--sage);
}
.cb-toggle--disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}
.cb-toggle .cb-toggle-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font-family: "Karla", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  text-transform: uppercase;
}

.cb-toggle-knob {
  position: absolute;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.cb-toggle--on .cb-toggle-knob {
  transform: translateX(20px);
}

.cb-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.cb-btn {
  font-family: "Karla", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
  font-weight: 500;
}
.cb-btn--outline {
  background: transparent;
  border-color: rgba(26, 26, 26, 0.2);
  color: var(--ink);
}
.cb-btn--outline:hover {
  border-color: rgba(26, 26, 26, 0.5);
  background: rgba(26, 26, 26, 0.03);
}
.cb-btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.cb-btn--primary:hover {
  background: #333;
  border-color: #333;
}

.cb-legal {
  font-family: "Karla", sans-serif;
  font-size: 0.7rem;
  color: var(--warm-gray);
  text-align: center;
  margin: 0;
}
.cb-legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.cb-legal a:hover {
  color: var(--sage);
}

html.dark .cb-toggle {
  background: rgba(255, 255, 255, 0.1);
}
html.dark .cb-btn--outline {
  border-color: rgba(255, 255, 255, 0.2);
}
html.dark .cb-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
html.dark .cb-btn--primary:hover {
  background: #555;
  border-color: #555;
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 10rem var(--space-x);
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#testimonials .section-label {
  margin-bottom: 4rem;
}

.t-viewport {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
}
.t-viewport:active {
  cursor: grabbing;
}

.t-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.t-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
}

.t-quote {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 2.5rem;
  font-style: italic;
  max-width: 800px;
}

.t-author {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.t-name {
  color: var(--ink);
  font-weight: 500;
}

.t-sep {
  opacity: 0.3;
}

/* Arrows */
.t-arrows {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.t-arrow {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--ink);
  font-size: 1.2rem;
}

.t-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Dots Navigation */
.t-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.t-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}

.t-btn.active {
  background: var(--sage);
  transform: scale(1.5);
}

html.dark .t-arrow {
  border-color: rgba(255, 255, 255, 0.15);
}
html.dark .t-btn {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  #testimonials {
    padding: 6rem var(--space-x);
  }
  .t-quote {
    font-size: 1.4rem;
  }
  .t-arrows {
    display: none;
  }
}
/* ── FAB STACK (back-to-top + mobile lang/theme) ── */
.mobile-fab-stack {
  position: fixed;
  bottom: calc(2.5rem + env(safe-area-inset-bottom));
  right: calc(2.5rem + env(safe-area-inset-right));
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Shared button style */
.mobile-fab-stack button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: rgba(249, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.mobile-fab-stack button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

#font-size-toggle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
html.font-large #font-size-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
html.font-large {
  font-size: 130%;
}

@media (max-width: 480px) {
  html.font-large .hero-content {
    bottom: 6rem;
  }
}

#mobile-lang-toggle,
#mobile-theme-toggle {
  display: flex;
}

#mobile-lang-toggle .mobile-lang-label {
  font-family: "Karla", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

#mobile-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

#mobile-theme-toggle .icon-sun {
  display: none;
}

#mobile-theme-toggle .icon-moon {
  display: block;
}

html.dark #mobile-theme-toggle .icon-moon {
  display: none;
}

html.dark #mobile-theme-toggle .icon-sun {
  display: block;
}

/* Back-to-top: collapses out of the stack, slides in below */
.fab-btt-wrap {
  overflow: hidden;
  max-height: 0;
  margin-top: -0.75rem;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fab-btt-wrap.is-visible {
  max-height: 54px;
  margin-top: 0;
}

#back-to-top {
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s, border-color 0.3s, color 0.3s;
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html.dark .mobile-fab-stack button {
  background: rgba(28, 26, 23, 0.92);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(240, 237, 232, 0.85);
}
html.dark .mobile-fab-stack button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ── MAP SECTION ── */
.map-section {
  margin-top: -267px;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
}
.map-section .map-consent-wrapper {
  width: 100%;
  max-width: 100%;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  display: block;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* ── FOOTER ── */
footer {
  background: #2c2a28;
  margin-top: -133px;
  padding: calc(var(--space-y) + 100px) var(--space-x) calc(5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: "DM Serif Display", serif;
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  color: rgba(249, 246, 241, 0.9);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(249, 246, 241, 0.55);
  opacity: 1;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
}

.footer-nav a:hover {
  color: rgba(249, 246, 241, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(249, 246, 241, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(249, 246, 241, 0.35);
  text-transform: uppercase;
  margin: 0;
}

.map-section iframe {
  border-radius: 2px;
}

.footer-ifactory {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, 0.35);
}

.footer-ifactory-link img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  box-shadow: none !important;
  -webkit-filter: brightness(0) invert(1);
}


/* ── RESPONSIVE: Small Desktop / Tablet Landscape ── */
@media (max-width: 1150px) {
  #main-nav {
    padding: 1.2rem var(--space-x);
  }
  #main-nav.scrolled {
    padding: 0.8rem var(--space-x);
    background: #F9F6F1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #main-nav.scrolled .nav-logo {
    color: var(--ink);
  }
  #main-nav.scrolled .nav-hamburger span {
    background: var(--ink);
  }
  #main-nav.scrolled #lang-toggle, #main-nav.scrolled #theme-toggle {
    color: var(--ink);
  }
  html.dark #main-nav.scrolled {
    background: #1C1A17;
  }
  html.dark #main-nav.scrolled .nav-logo {
    color: rgba(240, 237, 232, 0.96);
  }
  html.dark #main-nav.scrolled .nav-hamburger span {
    background: rgba(240, 237, 232, 0.9);
  }
  html.dark #main-nav.scrolled #lang-toggle, html.dark #main-nav.scrolled #theme-toggle {
    color: rgba(240, 237, 232, 0.85);
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }
  .mobile-menu {
    display: flex;
  }
  #lang-toggle {
    display: none;
  }
  #theme-toggle {
    display: none;
  }
}
/* ── RESPONSIVE: Tablet ── */
@media (max-width: 900px) {
  #main-nav {
    background: #F9F6F1;
    box-shadow: none;
  }
  #main-nav .nav-logo {
    color: var(--ink);
  }
  #main-nav .nav-hamburger span {
    background: var(--ink);
  }
  #main-nav #lang-toggle, #main-nav #theme-toggle {
    color: var(--ink);
  }
  html.dark #main-nav {
    background: #1C1A17;
  }
  html.dark #main-nav .nav-logo {
    color: rgba(240, 237, 232, 0.96);
  }
  html.dark #main-nav .nav-hamburger span {
    background: rgba(240, 237, 232, 0.9);
  }
  html.dark #main-nav #lang-toggle, html.dark #main-nav #theme-toggle {
    color: rgba(240, 237, 232, 0.85);
  }
  .gallery-label {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.72rem;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  }
  .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 100%);
  }
  html.dark .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0) 100%);
  }
  html.dark .gallery-label {
    color: #F0EDE8;
  }
  /* Hero: kleiner & Text höher auf Mobil */
  #hero {
    height: 85vh;
    min-height: 580px;
    margin-top: 60px;
  }
  .hero-content {
    position: absolute;
    bottom: 5rem;
    padding: 0 1.5rem;
  }
  /* Philosophy: gestapelt, Bild volle Breite */
  .philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  #steckstruktur .philosophy-img {
    order: 2;
  }
  #steckstruktur .philosophy-text {
    order: 1;
  }
  #ondemand .philosophy-img {
    order: 2;
  }
  #ondemand .philosophy-text {
    order: 1;
  }
  #gaertnereien .philosophy-img {
    order: 2;
  }
  #gaertnereien .philosophy-text {
    order: 1;
  }
  #transparenz .philosophy-img {
    order: 2;
  }
  #transparenz .philosophy-text {
    order: 1;
  }
  .philosophy-img {
    border-radius: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 4/3;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .materials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #workflow .materials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #contact .contact-info .section-label {
    display: none;
  }
  #contact .contact-info h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  .contact-mobile-header {
    display: block;
    margin-bottom: 1.5rem;
  }
  .contact-form {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .gallery-row-main {
    grid-template-columns: 1fr;
  }
  .gallery-row-extra {
    grid-template-columns: 1fr;
  }
  .gallery-header {
    padding-top: 5rem;
  }
  .model3d-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  #model3d {
    height: auto;
  }
  .model3d-bignum {
    font-size: 9rem;
    top: 4vh;
    right: 1rem;
  }
  .model3d-vlabel {
    display: none;
  }
  .model3d-process {
    grid-template-columns: 1fr;
  }
  .model3d-process-step {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  .model3d-process-step:last-child {
    border-bottom: none;
  }
  .model3d-materials {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  #model3d-wrap {
    height: 380px;
  }
  .model3d-right {
    width: 100%;
    padding-top: 0;
    padding-bottom: 1.5rem;
    margin-top: -2rem;
    overflow: visible;
    border-radius: 0;
  }
  #model3d-canvas {
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .model3d-foot {
    gap: 1.2rem;
  }
}
/* ── RESPONSIVE: Mobile ── */
@media (max-width: 900px) {
  #faq {
    padding-bottom: var(--space-y);
  }
  #hero.hero--subpage {
    margin-top: 60px;
    height: 35vh;
    min-height: 220px;
  }
  .vorteile-band {
    padding: 2rem var(--space-x);
  }
}

@media (max-width: 480px) {
  #main-nav {
    padding: 1rem var(--space-x);
  }
  #main-nav.scrolled {
    padding: 0.7rem var(--space-x);
  }
  .hero-title {
    font-size: clamp(3rem, 13vw, 4.5rem) !important;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-content {
    bottom: 10rem;
    padding: 0 1.2rem;
    max-width: 100%;
  }
  .hero-content .btn-solid {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
  }
  .btn-ghost {
    padding: 0.75rem 1.8rem;
    font-size: 0.65rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .service-card {
    padding: 2rem 1.5rem;
  }
  .model3d-text h2.section-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .contact-detail {
    font-size: 0.78rem;
  }
  .model3d-materials {
    gap: 1rem;
  }
  .model3d-divider {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  .model3d-foot {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .services-grid {
    gap: 1.2rem;
  }
  .gallery-masonry {
    -moz-column-gap: 0.8rem;
         column-gap: 0.8rem;
  }
  .gallery-item {
    margin-bottom: 0;
  }
  .btn-wrap-philosophy {
    text-align: center;
  }
  .service-card {
    padding: 1.5rem 1rem;
  }
  .footer-nav {
    gap: 1.2rem;
    font-size: 0.75rem;
  }
  .vorteile-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .cb-inner {
    padding: 1.5rem 1.2rem 1.2rem;
    gap: 1rem;
  }
  .cb-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .cb-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
  }
  .cb-categories {
    gap: 0.6rem;
  }
}

.cookie-settings-link {
  background: none;
  border: none;
  font-family: "Karla", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, 0.55);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s;
}
.cookie-settings-link:hover {
  color: rgba(249, 246, 241, 0.9);
}

/* ── FRIEDWALD HINT ── */
.friedwald-hint {
  margin-top: 2.5rem;
  padding: 0.7rem 1rem;
  border-left: 2px solid #9DC49A;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--warm-gray);
}
.friedwald-hint strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

@media (max-width: 1360px) {
  .nav-faq { display: none; }
}

/* ── MADE IN GERMANY BR ── */
.br-wide { display: none; }
@media (min-width: 1351px) {
  .br-wide { display: inline; }
}

/* ── DANKE POPUP ── */
.danke-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.danke-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.danke-box {
  background: var(--cream);
  max-width: 480px;
  width: 90%;
  padding: 3rem 3rem 3.5rem;
  border-radius: 4px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}
.danke-overlay.is-open .danke-box {
  transform: translateY(0);
}
.danke-box h2 {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.danke-box p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.75;
}
.danke-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--warm-gray);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
}
.danke-close:hover { color: var(--ink); }

/* ── VORTEILE BAND ── */
.vorteile-band {
  background: var(--sand-light);
  padding: 2.5rem var(--space-x);
  border-bottom: 1px solid var(--sand);
}
.vorteile-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.vorteil-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.vorteil-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #9DC49A;
  margin-top: 0.1rem;
}
.vorteil-item h4 {
  font-family: "Karla", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.3rem;
}
.vorteil-item p {
  font-size: 0.82rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 760px) {
  .vorteile-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── BEFA BANNER ── */
.befa-banner {
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem var(--space-x);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 850;
}
.befa-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.befa-link {
  color: #9DC49A;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.befa-link:hover { opacity: 0.75; }
/*# sourceMappingURL=main.css.map */