/*
Theme Name: flowfinity
Theme URI: https://flowfinity.krupka.it
Description: Custom One-Page Theme für flowfinity — Reformer Pilates + Movement
Author: flowfinity
Version: 1.0.0
Text Domain: flowfinity
*/

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

html { background: #F7F3ED; }

body {
  font-family: 'Jost', sans-serif;
  background: transparent;
  color: #3D3229;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #C4B49A;
  color: #FFFDF9;
}

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F7F3ED; }
::-webkit-scrollbar-thumb { background: #C4B49A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #A89878; }

/* ── Typography ──────────────────────────────────── */
.font-display {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 400;
}

.text-balance { text-wrap: balance; }

.label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C7B6B;
}

/* ── Hero ────────────────────────────────────────── */
.hero-bg {
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 35%,
      rgba(247,243,237,0) 0%,
      rgba(247,243,237,0.25) 60%,
      rgba(247,243,237,0.55) 100%
    ),
    linear-gradient(180deg,
      rgba(247,243,237,0.2) 0%,
      rgba(247,243,237,0.05) 28%,
      rgba(247,243,237,0.35) 68%,
      rgba(247,243,237,1) 100%
    ),
    url('assets/studio.jpeg');
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-bg { background-attachment: scroll; }
}

/* ── Navigation ──────────────────────────────────── */
.nav-glass {
  background: rgba(247, 243, 237, 0.0);
  backdrop-filter: blur(0px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-glass.scrolled {
  background: rgba(247, 243, 237, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(196, 180, 154, 0.2);
}

/* ── WP Admin Bar offset ─────────────────────────── */
.admin-bar .nav-glass { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .nav-glass { top: 46px; }
}

/* ── Reveal Animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }
.reveal-delay-6 { transition-delay: 0.72s; }

/* ── Line Grow ───────────────────────────────────── */
.line-grow {
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-grow.visible { width: 60px; }

/* ── Hero Scroll Indicator ───────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(10px); opacity: 1; }
}

.scroll-indicator { animation: float 2.5s ease-in-out infinite; }

/* ── Infinity Logo SVG ───────────────────────────── */
@keyframes drawInfinity {
  to { stroke-dashoffset: 0; }
}

.infinity-draw {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawInfinity 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

/* ── Cards ───────────────────────────────────────── */
.card-hover {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(60, 50, 40, 0.08);
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  background: #3D3229;
  color: #F7F3ED;
  padding: 14px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: #5C4A3A;
  letter-spacing: 0.18em;
}

.btn-outline {
  background: transparent;
  color: #3D3229;
  padding: 14px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #C4B49A;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background: #3D3229;
  color: #F7F3ED;
  border-color: #3D3229;
}

.btn-light {
  background: #F7F3ED;
  color: #3D3229;
  padding: 14px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-light:hover { background: #FFFDF9; letter-spacing: 0.18em; }

/* ── Pricing Card Active ─────────────────────────── */
.pricing-featured {
  background: #3D3229;
  color: #F7F3ED;
}

.pricing-featured .label { color: #C4B49A; }
.pricing-featured .text-brown-light { color: #C4B49A; }
.pricing-featured .border-cream-dark { border-color: rgba(196, 180, 154, 0.2); }

.pricing-featured .btn-primary {
  background: #F7F3ED;
  color: #3D3229;
}

.pricing-featured .btn-primary:hover {
  background: #FFFDF9;
}

/* ── Section Divider ─────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C4B49A, transparent);
  max-width: 200px;
  margin: 0 auto;
}

/* ── Form ────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 16px 0;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #3D3229;
  background: transparent;
  border: none;
  border-bottom: 1px solid #D4C4AD;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus { border-color: #5C4A3A; }

.form-input::placeholder { color: #B8A089; }

/* ── Mobile Menu ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(247, 243, 237, 0.97);
  backdrop-filter: blur(30px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px;
  color: #3D3229;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

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

.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a:hover { color: #8C7B6B; }

/* ── Preloader ───────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 110% at 50% 38%, #fbf7f0 0%, #f1e8da 55%, #ece1cf 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ── Film Grain ──────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Infinity Scroll Thread ──────────────────── */
.infinity-thread {
  position: fixed;
  top: 0; right: 18px;
  width: 64px; height: 100vh;
  z-index: 45;
  pointer-events: none;
  opacity: 0.5;
}
.infinity-thread svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1024px) { .infinity-thread { display: none; } }

/* ── Marquee ─────────────────────────────────────── */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(196,180,154,0.3);
  border-bottom: 1px solid rgba(196,180,154,0.3);
  padding: 28px 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(26px, 4.5vw, 56px);
  font-style: italic;
  color: #C4B49A;
  padding: 0 28px;
}
.marquee-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #C4B49A;
  display: inline-block;
}

/* ── Nav Link Underline ──────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: #3D3229;
  transition: width 0.45s cubic-bezier(0.16,1,0.3,1);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ── Word Reveal (hero) ──────────────────────────── */
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.18em;
  margin-bottom: -0.12em;
}
.word-mask > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.loaded .word-mask > span { transform: translateY(0); }

/* ── Clip Reveal (image) ─────────────────────────── */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s cubic-bezier(0.16,1,0.3,1);
}
.clip-reveal.visible { clip-path: inset(0 0 0 0); }

.img-zoom { overflow: hidden; }
.img-zoom img, .img-zoom video { transition: transform 1.6s cubic-bezier(0.16,1,0.3,1); }
.img-zoom:hover img, .img-zoom:hover video { transform: scale(1.06); }

/* ── Video Parallax ────────────────────────────── */
.parallax-video { will-change: transform; transform: scale(1.18); }

/* ── Infinity Divider (draws on scroll) ──────── */
.infinity-divider path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.infinity-divider.visible path { stroke-dashoffset: 0; }

/* ── Brand Band (real logo, colour-matched) ──── */
.brand-band {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(64px, 10vw, 128px) 24px;
  background: radial-gradient(115% 125% at 50% 38%, #ecdec9 0%, #ddc8ac 55%, #d0b896 100%);
  overflow: hidden;
}
.brand-band .brand-logo {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 50%, transparent 100%);
}

/* ── Card Interactions ───────────────────────────── */
.card-arrow { transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.card-hover:hover .card-arrow { transform: translateX(7px); }
.card-icon { transition: background 0.45s ease, border-color 0.45s ease; }
.card-hover:hover .card-icon { background: #3D3229; border-color: #3D3229; }
.card-hover:hover .card-icon i { color: #F7F3ED !important; }

/* ── Editorial Numbers ───────────────────────────── */
.edition-num {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 14px;
  color: #B8A089;
  letter-spacing: 0.05em;
}

/* ── Stats ───────────────────────────────────────── */
.stat-num {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  color: #3D3229;
  letter-spacing: -0.02em;
}

/* ── Method Steps ────────────────────────────────── */
.method-num {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(44px, 6vw, 80px);
  color: #D4C4AD;
  line-height: 1;
}

/* ── Magnetic ────────────────────────────────────── */
.magnetic { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }

/* ── Testimonial ─────────────────────────────────── */
.quote-mark {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.6;
  color: #D4C4AD;
  opacity: 0.5;
}

/* ── Reduced Motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { background-attachment: scroll; }
  .grain { display: none !important; }
  .marquee-track { animation: none !important; }
  .word-mask > span { transform: none !important; }
}

/* ── Legal Pages (Impressum / Datenschutz) ───────── */
.legal-content { font-size: 1.0625rem; }
.legal-content > * + * { margin-top: 1.25rem; }
.legal-content h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(24px, 3vw, 32px);
  color: #3D3229;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.legal-content h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.25rem;
  color: #5C4A3A;
  margin-top: 1.75rem;
}
.legal-content p,
.legal-content li { color: #7A6B5D; }
.legal-content a { color: #8C7B6B; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: #3D3229; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content strong { color: #5C4A3A; font-weight: 500; }

/* ── Contact Form 7 — an Theme-Design angepasst ──── */
.wpcf7 .form-row { margin-bottom: 2rem; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { color: #b3261e; font-size: 0.8rem; margin-top: 0.4rem; font-family: 'Jost', sans-serif; }
.wpcf7 form .wpcf7-response-output {
  border: 1px solid rgba(196,180,154,0.5);
  background: #FFFDF9;
  color: #5C4A3A;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0 0;
  border-radius: 2px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: #d9a59f; }
.wpcf7-spinner { margin: 0 0 0 0.6rem; }

/* ── Erfolgs-Popup nach Formular-Versand ─────────── */
.form-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(40,32,24,0.45); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1.5rem;
}
.form-modal.active { opacity: 1; visibility: visible; }
.form-modal-box {
  background: #F7F3ED; max-width: 420px; width: 100%;
  padding: 3rem 2.5rem; text-align: center; border-radius: 3px;
  transform: translateY(20px) scale(0.97); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.form-modal.active .form-modal-box { transform: translateY(0) scale(1); }
.form-modal-box h3 {
  font-family: 'Bodoni Moda', serif; font-size: 1.9rem; color: #3D3229; margin: 1.25rem 0 0.75rem;
}
.form-modal-box p { color: #7A6B5D; font-weight: 300; line-height: 1.6; }
.form-modal-box .modal-mark { display: flex; justify-content: center; }
.form-modal-close {
  margin-top: 2rem; cursor: pointer;
}

/* ════════════════════════════════════════════════
   Coming-Soon-inspired FX: moving brand background,
   flowing infinity, floating logo, gold halos
   ════════════════════════════════════════════════ */

/* Global animated background — shows through transparent sections */
.ff-bgfx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, #fbf7f0 0%, #f4ede1 52%, #efe6d6 100%);
}

/* drifting warm halos */
.ff-halo { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.7; will-change: transform; }
.ff-halo.a { width: 42vw; height: 42vw; left: 6%;  top: 4%;    background: radial-gradient(circle, rgba(200,174,145,0.42), transparent 70%); animation: ffDrift1 24s cubic-bezier(.16,1,.3,1) infinite; }
.ff-halo.b { width: 38vw; height: 38vw; right: 4%; bottom: 6%; background: radial-gradient(circle, rgba(212,196,173,0.40), transparent 70%); animation: ffDrift2 29s cubic-bezier(.16,1,.3,1) infinite; }
.ff-halo.c { width: 30vw; height: 30vw; left: 48%; top: 52%;   background: radial-gradient(circle, rgba(184,160,137,0.30), transparent 70%); animation: ffDrift1 21s cubic-bezier(.16,1,.3,1) infinite reverse; }
@keyframes ffDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%,-4%) scale(1.12); } }
@keyframes ffDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,4%) scale(1.14); } }

/* flowing infinity line */
.ff-flow { position: absolute; left: 50%; top: 46%; width: min(150vw, 1500px); transform: translate(-50%,-50%); opacity: 0.55; will-change: transform; animation: ffSway 19s cubic-bezier(.16,1,.3,1) infinite; }
.ff-flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.ff-flow-line { fill: none; stroke-linecap: round; }
.ff-flow-line.base  { stroke: #C4B49A; stroke-width: 1.6; opacity: 0.5; }
.ff-flow-line.trace { stroke: #B8A089; stroke-width: 2.8; stroke-dasharray: 60 940; stroke-dashoffset: 0; animation: ffFlow 6.5s linear infinite; filter: drop-shadow(0 0 7px rgba(184,160,137,0.6)); }
@keyframes ffFlow { to { stroke-dashoffset: -1000; } }
@keyframes ffSway { 0%,100% { transform: translate(-50%,-50%) rotate(-2.4deg); } 50% { transform: translate(-50%,-52%) rotate(2.4deg); } }

/* floating logo watermark (warm, subtle) */
.ff-wm { position: absolute; left: 50%; top: 50%; width: min(135vw, 1320px); transform: translate(-50%,-50%); animation: ffFloat 17s cubic-bezier(.16,1,.3,1) infinite; }
.ff-wm img { width: 100%; display: block; opacity: 0.10; filter: sepia(.4) saturate(1.5) brightness(.7); }
@keyframes ffFloat { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-53%) scale(1.04); } }

/* Preloader brand */
.pl-mark { text-align: center; }
.pl-logo { width: clamp(220px, 46vw, 420px); height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 8px 36px rgba(184,160,137,0.35));
  animation: ffLogoIn 1.5s cubic-bezier(.16,1,.3,1) both; }
@keyframes ffLogoIn {
  0% { opacity: 0; transform: scale(.86) translateY(8px); filter: blur(8px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
.pl-bar { margin: 26px auto 0; width: 130px; height: 2px; background: rgba(184,160,137,0.22); overflow: hidden; border-radius: 2px; }
.pl-bar::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, #D4C4AD, #B8A089); animation: ffLoad 1.6s cubic-bezier(.16,1,.3,1) .25s forwards; }
@keyframes ffLoad { to { width: 100%; } }

/* Manifesto showcase (dark bg) */
.ff-section-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ff-section-fx .ff-flow { opacity: 0.7; }
.ff-section-fx .ff-flow-line { filter: drop-shadow(0 0 12px rgba(212,196,173,0.5)); }
.ff-section-fx .ff-wm { opacity: 0.08; filter: brightness(0) invert(1); }
.ff-section-fx .ff-halo.gold { width: 46vw; height: 46vw; left: 50%; top: 46%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(200,174,145,0.35), transparent 70%); opacity: 0.8; filter: blur(80px); animation: ffPulse 9s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes ffPulse { 0%,100% { opacity: 0.45; } 50% { opacity: 0.85; } }

/* Brand band upgrades */
.brand-band .ff-halo.brand { width: 60vw; height: 60vw; left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,253,249,0.5), transparent 65%); opacity: 0.7; filter: blur(70px); }
.brand-band .ff-flow.brand { opacity: 0.4; top: 50%; }
.brand-logo-anim { animation: ffFloat2 14s cubic-bezier(.16,1,.3,1) infinite; }
.brand-logo-wrap { position: relative; display: inline-block; width: min(540px, 82%); }
.brand-logo-svg { width: 100%; height: auto; display: block; overflow: visible; }
.logo-inf-trace { fill: none; stroke: #C8A876; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 26 274; stroke-dashoffset: 0; animation: ffTrace 5s linear infinite; filter: drop-shadow(0 0 11px rgba(200,168,118,0.95)); }
@keyframes ffTrace { to { stroke-dashoffset: -300; } }
.footer-logo { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
@keyframes ffFloat2 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.015); } }

/* Hero motion */
.ff-hero-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ff-hero-fx .ff-flow { opacity: 0.65; }
.ff-hero-fx .ff-wm { opacity: 0.1; filter: sepia(.4) saturate(1.6) brightness(.6); }
.ff-section-fx .ff-flow-line.base { stroke: #D4C4AD; opacity: 0.42; }
.ff-section-fx .ff-flow-line.trace { stroke: #E6D4B8; }

/* Nav logo + cursor glow */
.nav-logo { height: 40px; width: auto; display: block; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 500px; height: 500px; border-radius: 50%; z-index: 1; pointer-events: none; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(200,174,145,0.22), transparent 60%); opacity: 0; transition: opacity .5s ease; will-change: transform; }

/* ── Mobile hardening ─────────────────────────────── */
@media (max-width: 768px) {
  .preloader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-glass > div {
    height: 64px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .nav-logo {
    height: 28px !important;
    max-width: 170px !important;
    object-fit: contain !important;
  }

  #hero {
    min-height: 100svh !important;
    padding-top: 72px !important;
    padding-bottom: 38px !important;
  }

  #hero .max-w-5xl {
    padding-top: 0 !important;
  }

  #hero .mb-10 {
    margin-bottom: 22px !important;
  }

  #hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.8rem) !important;
    line-height: 0.9 !important;
  }

  #hero p {
    margin-top: 26px !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  #hero .mt-12 {
    margin-top: 28px !important;
  }

  .scroll-indicator {
    display: none !important;
  }

  .ff-bgfx {
    background: radial-gradient(120% 100% at 50% 0%, #fbf7f0 0%, #f4ede1 58%, #efe6d6 100%) !important;
  }

  .ff-halo {
    display: none !important;
  }

  .ff-flow {
    width: 220vw !important;
    top: 44% !important;
    opacity: 0.42 !important;
  }

  .ff-flow-line.base {
    opacity: 0.28 !important;
  }

  .ff-flow-line.trace {
    stroke-width: 2.1 !important;
    opacity: 0.72 !important;
    filter: drop-shadow(0 0 8px rgba(184,160,137,0.45)) !important;
  }

  .ff-hero-fx .ff-flow {
    opacity: 0.38 !important;
  }

  .brand-logo-wrap {
    width: min(320px, 88vw) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-halo, .ff-flow, .ff-wm, .ff-flow-line, .brand-logo-anim, .logo-inf-trace, .pl-logo { animation: none !important; }
  .pl-bar::after { animation: none !important; width: 100%; }
}
