/* =============================================================
   FORA — Módulos para tu espacio exterior
   1. Tokens
   ============================================================= */
@font-face {
  font-family: "PP Mori";
  src: url("assets/fonts/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Silka Mono";
  src: url("assets/fonts/SilkaMono-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette — measured from FORA logo assets */
  --bg:        #201C18;   /* charcoal, warm near-black — never pure #000 */
  --bg-2:      #29241F;
  --bg-3:      #332D26;   /* card surface */
  --bg-4:      #3D3630;   /* card surface hover */
  --cream:     #ECEFE1;   /* text on dark — never pure white */
  --cream-2:   #C9CCBA;
  --cream-mute:#928F80;
  --sage:      #A9AF8E;   /* verde — primary accent */
  --sage-2:    #C7CBB2;   /* verde claro */
  --sage-deep: #767C5F;   /* verde oscuro, hovers */
  --ink:       #1A1712;   /* dark text, used on light/sage surfaces */
  --line:      rgba(236,239,225,0.14);
  --line-soft: rgba(236,239,225,0.08);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "PP Mori", var(--sans);
  --mono: "Silka Mono", "IBM Plex Mono", ui-monospace, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --container: 1280px;
  --radius: 2px;
  --shadow-text: 0 2px 4px rgba(10,8,6,.55), 0 8px 28px rgba(10,8,6,.65);
  --shadow-text-soft: 0 1px 3px rgba(10,8,6,.5), 0 4px 16px rgba(10,8,6,.5);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--display); font-weight: 600; }
ul { list-style: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--cream); color: var(--ink);
  z-index: 9999; border-radius: 4px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-2);
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--sage);
  flex: none;
}

.eyebrow-line { color: var(--cream-mute); font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; }

.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-lede {
  color: var(--cream-2);
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em;
  font-size: .86rem; line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1rem 1.7rem;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--sage);
  color: var(--ink);
}
.btn-primary:hover { background: var(--sage-2); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-2); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.nav.is-solid {
  background: var(--bg);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1.5rem; }
.brand-mark { display: flex; align-items: center; gap: .65rem; }
.brand-mark img { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 2px 6px rgba(10,8,6,.55)); }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  text-shadow: var(--shadow-text-soft);
  position: relative;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--sage);
  transition: right .45s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
@media (min-width: 960px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0;
  z-index: 490;
  background: var(--bg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s;
  display: flex; flex-direction: column;
  padding: 2.5rem 1.25rem;
  gap: 2rem;
}
.mobile-menu.is-open {
  opacity: 1; transform: translateY(0); visibility: visible;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s;
}
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--cream);
}
.mobile-menu .eyebrow-line { margin-top: auto; }

/* Cards */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  padding: 1.75rem;
  transition: transform .55s var(--ease-out), background-color .55s var(--ease-out), border-color .55s var(--ease-out);
}

/* Chips / pills */
.pill {
  display: inline-flex; align-items: center;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .03em;
  color: var(--cream-2);
  transition: border-color .35s var(--ease-out), color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.pill:hover { border-color: var(--sage); color: var(--cream); background: var(--bg-3); }

/* Form */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-mute); }
.field input, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: .9rem 1rem;
  color: var(--cream);
  transition: border-color .3s var(--ease-out);
}
.field input:focus, .field textarea:focus { border-color: var(--sage); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 4.2s forwards;
}
.splash img { width: 64px; height: 64px; animation: splashPulse 1.4s ease-in-out infinite; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
@keyframes splashPulse { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1); } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.14);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,9,7,.86) 0%, rgba(11,9,7,.64) 32%, rgba(11,9,7,.3) 58%, rgba(11,9,7,.08) 80%, transparent 100%),
    linear-gradient(180deg, rgba(14,12,9,.4) 0%, rgba(14,12,9,.06) 24%, rgba(14,12,9,.24) 55%, rgba(14,12,9,.97) 100%);
}
@media (min-width: 960px) {
  .hero-bg-tint {
    background:
      linear-gradient(100deg, rgba(11,9,7,.68) 0%, rgba(11,9,7,.4) 40%, rgba(11,9,7,.14) 62%, transparent 82%),
      linear-gradient(180deg, rgba(14,12,9,.4) 0%, rgba(14,12,9,.06) 24%, rgba(14,12,9,.24) 55%, rgba(14,12,9,.97) 100%);
  }
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1;
  opacity: .55;
  background:
    radial-gradient(48% 38% at 18% 12%, rgba(169,175,142,.35), transparent 70%),
    radial-gradient(40% 32% at 85% 20%, rgba(236,239,225,.14), transparent 70%);
  mix-blend-mode: soft-light;
  animation: meshDrift 22s ease-in-out infinite;
  pointer-events: none;
}
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(1%, -2%, 0) scale(1.08); }
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.hero-inner .kicker { text-shadow: var(--shadow-text-soft); }
.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  max-width: 16ch;
  margin-block: 1.1rem .9rem;
  color: var(--cream);
  text-shadow: var(--shadow-text);
}
.hero-title em { font-style: normal; color: var(--sage-2); }
.hero-sub {
  max-width: 40ch; font-size: .92rem; line-height: 1.7; color: var(--cream-2); margin-bottom: 2.1rem;
  text-shadow: var(--shadow-text-soft);
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .03em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 2.5rem);
  z-index: 2;
  display: none;
  flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-mute);
}
.hero-scroll .line { width: 1px; height: 42px; background: linear-gradient(var(--cream-mute), transparent); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 720px) { .hero-scroll { display: flex; } }

/* --- Manifesto --- */
.manifesto-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .manifesto-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
}
.manifesto-lines p:not(.kicker) {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--cream);
  margin-bottom: .4rem;
}
.manifesto-body p { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.4; color: var(--cream-2); max-width: 46ch; }

/* --- Process --- */
.process-grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 720px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-item { background: var(--bg); padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1rem; }
.process-item .num { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--sage-2); }
.process-item h3 { font-size: 1.3rem; }
.process-item p { color: var(--cream-2); font-size: .84rem; line-height: 1.65; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }

/* --- Product sections --- */
.product-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .product-layout { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; } }
.product-figure { position: relative; overflow: clip; }
.product-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.1s var(--ease-out); }
.product-figure:hover img { transform: scale(1.045); }
.product-text > p:not(.kicker) {
  color: var(--cream-2); max-width: 52ch; margin-block: 1.1rem 1.8rem;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .86rem; line-height: 1.7;
}

.price-block { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.price-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-mute); }
.price-value { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--sage-2); }
.price-note { display: block; width: 100%; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .76rem; color: var(--cream-mute); margin-top: .2rem; }

.module-list { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }

.includes-grid { display: grid; gap: 1px; background: var(--line-soft); margin-top: 2.5rem; border: 1px solid var(--line-soft); }
@media (min-width: 640px) { .includes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .includes-grid { grid-template-columns: repeat(3, 1fr); } }
.includes-item { background: var(--bg); padding: 1.6rem 1.5rem; }
.includes-item .num { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--sage-2); display: block; margin-bottom: .6rem; }
.includes-item h4 {
  font-size: .86rem; margin-bottom: .5rem; font-family: var(--mono); font-weight: 400; color: var(--cream);
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.5;
}
.includes-item p { font-size: .8rem; line-height: 1.6; color: var(--cream-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }

.config-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* --- Estación integrada / pinned showcase --- */
.showcase { position: relative; }
.showcase-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  padding: .5rem .25rem 1.5rem;
  -ms-overflow-style: none; scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.showcase-card {
  flex: 0 0 auto;
  width: min(78vw, 460px);
  scroll-snap-align: start;
}
@media (min-width: 960px) { .showcase-card { width: 420px; } }
.showcase-figure { aspect-ratio: 4 / 3; overflow: clip; }
.showcase-figure img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out);
  -webkit-user-drag: none; user-drag: none; pointer-events: none;
}
.showcase-card:hover .showcase-figure img { transform: scale(1.06); }
.showcase-figure img.is-framed-low { object-position: center 68%; }
.showcase-cap { padding-top: .9rem; font-size: .88rem; color: var(--cream-mute); }

.dims-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 2rem; }
@media (min-width: 640px) { .dims-row { grid-template-columns: repeat(4, 1fr); } }
.dims-item { background: var(--bg); padding: 1.3rem 1.1rem; text-align: center; }
.dims-item .val { font-family: var(--display); font-size: 1.5rem; color: var(--cream); display: block; }
.dims-item .lbl { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cream-mute); }

.doors-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

/* --- Materials --- */
.materials-block + .materials-block { margin-top: 3.5rem; }
.materials-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.materials-title h3 { font-size: 1.4rem; }
.materials-note { color: var(--cream-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .82rem; line-height: 1.7; margin-bottom: 1.8rem; max-width: 60ch; }
.swatch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 640px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .swatch-grid.stone { grid-template-columns: repeat(6, 1fr); } }
.swatch-card { display: flex; flex-direction: column; gap: .7rem; }
.swatch-chip {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out);
}
.swatch-card:hover .swatch-chip { transform: translateY(-4px); }
.swatch-name { font-size: .95rem; color: var(--cream); font-family: var(--display); font-weight: 600; }
.swatch-desc { font-size: .74rem; color: var(--cream-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; line-height: 1.5; }
.paint-note { font-size: .78rem; color: var(--cream-mute); margin-top: 1.2rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }

/* --- Scale / amenities --- */
.amenities-grid { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Contact --- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-info p:not(.kicker) { color: var(--cream-2); max-width: 44ch; margin-block: 1.1rem 2rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .86rem; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: .9rem; padding-block: .9rem; border-top: 1px solid var(--line-soft); }
.contact-detail:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-detail .lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cream-mute); width: 6.5rem; flex: none; }
.contact-detail a, .contact-detail span.val { color: var(--cream); font-size: .92rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.contact-detail a:hover { color: var(--sage-2); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-status {
  font-family: var(--mono); font-size: .8rem; color: var(--sage-2);
  min-height: 1.2em;
}

/* --- Footer --- */
.footer { padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--line-soft); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .brand-mark img { width: 32px; height: 32px; }
.footer-brand p { color: var(--cream-mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .76rem; line-height: 1.6; margin-top: .6rem; max-width: 26ch; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.footer-col h5 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cream-mute); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: var(--cream-2); font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; font-size: .8rem; margin-bottom: .55rem; }
.footer-col a:hover { color: var(--sage-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: .74rem; color: var(--cream-mute); }

/* =============================================================
   7. Effects
   ============================================================= */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* Side dot navigation (scroll map) */
.side-dots {
  position: fixed;
  right: clamp(1.1rem, 2.5vw, 2.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
@media (min-width: 1024px) { .side-dots { display: flex; } }
.side-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-mute);
  opacity: .55;
  transition: opacity .35s var(--ease-out), background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.side-dot:hover { opacity: 1; transform: scale(1.25); }
.side-dot.is-active { background: var(--sage-2); opacity: 1; transform: scale(1.45); }
.side-dot-tip {
  position: absolute;
  right: 140%;
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  font-family: var(--mono);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cream);
  white-space: nowrap;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: .35rem .65rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.side-dot:hover .side-dot-tip,
.side-dot:focus-visible .side-dot-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 22px; height: 22px;
  border: 1px solid var(--sage-2);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .3s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s var(--ease-out);
}
.cursor.is-ready { opacity: .85; }
.cursor.is-active { width: 46px; height: 46px; background: rgba(169,175,142,.14); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); }
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; padding-block: 1.1rem; }
.marquee-track span { font-family: var(--mono); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cream-mute); }
.marquee-track span::after { content: "—"; margin-left: 2.5rem; color: var(--sage-deep); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Chat widget */
.chatbot { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 700; }

.chatbot-bubble {
  position: relative; z-index: 2;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--sage); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(8,7,5,.45);
  transition: transform .35s var(--ease-out), background-color .35s var(--ease-out);
}
.chatbot-bubble:hover { transform: translateY(-2px); background: var(--sage-2); }
.chatbot-bubble svg { position: absolute; width: 24px; height: 24px; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out); }
.chatbot-icon-close { opacity: 0; transform: scale(.5) rotate(-40deg); }
.chatbot.is-open .chatbot-icon-chat { opacity: 0; transform: scale(.5) rotate(40deg); }
.chatbot.is-open .chatbot-icon-close { opacity: 1; transform: scale(1) rotate(0); }

.chatbot-panel {
  position: absolute; right: 0; bottom: calc(100% + 1rem);
  width: min(90vw, 380px);
  height: min(68vh, 540px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(6,5,4,.55);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.chatbot.is-open .chatbot-panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
}

.chatbot-header {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.chatbot-header-info { display: flex; align-items: center; gap: .7rem; }
.chatbot-mark img { width: 28px; height: 28px; display: block; }
.chatbot-title { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--cream); }
.chatbot-status {
  margin-top: .2rem; display: flex; align-items: center; gap: .4em;
  font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cream-mute);
}
.chatbot-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }
.chatbot-close { color: var(--cream-mute); padding: .3rem; }
.chatbot-close:hover { color: var(--cream); }
.chatbot-close svg { width: 18px; height: 18px; display: block; }

.chatbot-messages {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem;
}
.chat-msg {
  max-width: 86%;
  font-family: var(--mono); font-size: .84rem; line-height: 1.6;
  padding: .65rem .85rem;
}
.chat-msg-bot { align-self: flex-start; background: var(--bg-2); color: var(--cream-2); border: 1px solid var(--line-soft); }
.chat-msg-user { align-self: flex-end; background: var(--sage); color: var(--ink); }
.chat-msg p { margin: 0; }
.chat-msg strong { color: inherit; font-weight: 600; }

.chat-msg-typing {
  align-self: flex-start; display: flex; gap: .32rem;
  padding: .8rem .95rem;
  background: var(--bg-2); border: 1px solid var(--line-soft);
}
.chat-msg-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cream-mute);
  animation: chatTyping 1.1s infinite ease-in-out;
}
.chat-msg-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-msg-cta { background: none; border: none; padding: 0; max-width: 100%; align-self: stretch; }
.chat-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%;
  background: var(--sage); color: var(--ink);
  padding: .8rem 1rem;
  font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em;
  transition: background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.chat-cta-btn:hover { background: var(--sage-2); transform: translateY(-1px); }
.chat-cta-btn svg { width: 18px; height: 18px; flex: none; }

.chatbot-form {
  flex: none;
  display: flex; align-items: flex-end; gap: .6rem;
  padding: .9rem; border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.chatbot-input {
  flex: 1; resize: none; max-height: 110px;
  background: var(--bg); border: 1px solid var(--line); color: var(--cream);
  padding: .65rem .8rem;
  font-family: var(--mono); font-size: .84rem; line-height: 1.5;
}
.chatbot-input::placeholder { color: var(--cream-mute); text-transform: uppercase; font-size: .74rem; letter-spacing: .02em; }
.chatbot-input:focus { outline: none; border-color: var(--sage); }
.chatbot-send {
  flex: none; width: 40px; height: 40px;
  background: var(--sage); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease-out);
}
.chatbot-send:hover { background: var(--sage-2); }
.chatbot-send svg { width: 17px; height: 17px; }

@media (max-width: 539px) {
  .chatbot { right: .75rem; bottom: .75rem; }
  .chatbot-panel { width: 92vw; height: 78vh; }
}

/* =============================================================
   8. Responsive tune-ups
   ============================================================= */
@media (min-width: 540px)  { .hero-title { max-width: 18ch; } }
@media (min-width: 1600px) { .container { max-width: 1440px; } }

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .splash { animation: none; opacity: 0; pointer-events: none; }
}
