/* ============================================================
   OCTAVE - V9 Shared Styles
   Used by all pages in /preview/
   ============================================================ */

html, body { background: #f0e8d8; color: #1a1612; font-family: 'Inter', system-ui, sans-serif; }
body { font-weight: 500; line-height: 1.7; }

.serif-italic { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; font-weight: 700; }

h1, h2, h3 { letter-spacing: -0.045em; line-height: 0.92; font-weight: 900; }
h1 { line-height: 0.85; }

/* Backgrounds */
.hero-bg {
  background: radial-gradient(ellipse 1100px 700px at center 35%, #fdf5e0 0%, #f0e8d8 55%, #d8c8a8 100%);
}
.rust-glow {
  background:
    radial-gradient(ellipse 700px 400px at center, rgba(214, 80, 45, 0.18) 0%, transparent 70%),
    #1a1612;
}

/* Pulsing live dot */
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 80, 45, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(214, 80, 45, 0); }
}
.pulse-dot { animation: pulseDot 1.5s infinite; }

/* 3D carousel (hero) */
.carousel-scene { perspective: 1400px; perspective-origin: 50% 50%; }
.carousel-stage {
  transform-style: preserve-3d;
  animation: rotateY 40s linear infinite;
}
.carousel-scene:hover .carousel-stage { animation-play-state: paused; }
@keyframes rotateY {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
.carousel-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 200px; height: 280px;
  margin-left: -100px; margin-top: -140px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 50px -12px rgba(26, 22, 18, 0.30),
    0 8px 16px -8px rgba(26, 22, 18, 0.15);
  background: #d8c8a8;
}
.carousel-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hover micro-motion */
.lift-card { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.lift-card:hover { transform: translateY(-4px); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Nav blur */
.nav-blur {
  background: rgba(240, 232, 216, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Spec tag float */
@keyframes specFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float-anim { animation: specFloat 4s ease-in-out infinite; }

/* Logo image sizing in nav — new wordmark is ~11.6:1 aspect, keep height modest */
.logo-img { height: 20px; width: auto; display: block; }

/* Form fields */
.field { display: block; width: 100%; padding: 14px 18px; font-size: 15px; font-weight: 500; background: rgba(255,255,255,0.6); border: 1px solid rgba(26,22,18,0.12); border-radius: 14px; color: #1a1612; transition: border-color 0.2s, background 0.2s; }
.field:focus { outline: none; border-color: #d6502d; background: #fff; }
.field-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5a4a3a; margin-bottom: 8px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-stage { animation: none !important; transform: rotateY(0) !important; }
  .pulse-dot, .float-anim { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Mobile carousel collapse */
@media (max-width: 767px) {
  .carousel-scene { display: none; }
  .carousel-mobile { display: flex !important; }
}
.carousel-mobile { display: none; }

/* Page hero (smaller than homepage hero, used on inner pages) */
.page-hero {
  background: radial-gradient(ellipse 900px 500px at center 30%, #fdf5e0 0%, #f0e8d8 60%, #d8c8a8 100%);
  padding-top: 96px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: 160px;
    padding-bottom: 80px;
  }
}
