/* ════════════════════════════════════════════════════════════
   HERO — Frame loader, hero canvas, section breaks, s-final
   ════════════════════════════════════════════════════════════ */

/* ── Frame preloader ── */
#frameLoader {
  position: fixed;
  inset: 0;
  background: #0e0d0b;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

#frameLoader.hidden {
  opacity: 0;
  pointer-events: none;
}

.frame-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.frame-loader-logo {
  width: 140px;
  opacity: 0.9;
}

.frame-loader-bar-wrap {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

#frameLoaderBar {
  height: 100%; width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.05s linear;
}

#frameLoaderLabel {
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Hero scroll-scrub container ── */
.hero {
  position: relative;
  height: 450vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(26,25,22,0.25) 0%,
      rgba(26,25,22,0.5)  40%,
      rgba(26,25,22,0.82) 100%),
    linear-gradient(to right,
      rgba(26,25,22,0.3) 0%,
      transparent 60%);
}

/* ── Section breaks (absolute overlays inside .hero-sticky) ── */
.sb {
  position: absolute;
  inset: 0;
  z-index: 3;
  will-change: opacity, transform;
  pointer-events: none;
}

/* Shared typography */
.sb-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 1.1rem;
}

.sb-heading {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #f2ede6;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
  margin-bottom: 1.2rem;
}

.sb-heading--italic {
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.sb-heading--cta {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  margin-bottom: 1.8rem;
}

.sb-body {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.8;
  color: rgba(242,237,230,0.62);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  max-width: 380px;
}

/* SB 1 — Full-screen logo reveal */
.sb-farm {
  background:
    radial-gradient(
      ellipse 100% 100% at 50% 50%,
      rgba(12, 11, 9, 0.45) 0%,
      rgba(12, 11, 9, 0.82) 50%,
      rgba(12, 11, 9, 0.97) 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-farm__logo {
  width: clamp(260px, 58vw, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 80px rgba(200, 169, 110, 0.30))
          drop-shadow(0 0 20px rgba(200, 169, 110, 0.15));
}

/* SB 2 — Natural promise */
.sb-natural {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}

.sb-natural__band {
  width: 45%;
  background: #1a1916;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(2rem, 4vw, 4.5rem) 0 clamp(1.5rem, 3vw, 3.75rem);
}

.sb-natural__line {
  width: 60px; height: 1px;
  background: #c8a96e;
  margin: 1.5rem 0;
}

/* SB 3 — Products CTA */
.sb-cta {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
}

.sb-cta__inner {
  text-align: center;
  max-width: 640px;
  padding: 0 2rem;
}

.sb-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SB shared buttons */
.sb-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.sb-btn--solid {
  background: #c8a96e;
  color: #000;
  border: 1px solid #c8a96e;
}

.sb-btn--solid:hover { background: #b8995e; border-color: #b8995e; }

.sb-btn--outline {
  background: transparent;
  color: #f2ede6;
  border: 1px solid rgba(242,237,230,0.5);
}

.sb-btn--outline:hover { border-color: #c8a96e; color: #c8a96e; }

/* SB mobile */
@media (max-width: 768px) {
  .sb-natural__band {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0; left: 0; right: 0;
  }
  .sb-natural { align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   #S-FINAL — Butchery bridge section (between hero and meat)
   ════════════════════════════════════════════════════════════ */

#s-final {
  position: relative;
  z-index: 500;
  background: #1C1210;
  overflow: hidden;
}

/* Watermark lettering */
#s-final::before {
  content: 'REMAR';
  position: absolute;
  right: -2%;
  bottom: -6%;
  font-family: var(--font-disp);
  font-size: clamp(9rem, 17vw, 21rem);
  font-style: italic;
  font-weight: 900;
  color: rgba(139, 26, 26, 0.05);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -0.02em;
}

/* Two-column layout */
.sf-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 100vh;
}

/* Left: image column */
.sf-img-col {
  position: relative;
  overflow: hidden;
}

/* Left & top edge vignettes */
.sf-img-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(10, 6, 5, 0.65) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(10, 6, 5, 0.55) 0%, transparent 28%),
    linear-gradient(to top,    rgba(10, 6, 5, 0.55) 0%, transparent 28%);
  z-index: 2;
  pointer-events: none;
}

/* Right-edge fade into content column */
.sf-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 45%, rgba(28, 18, 16, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.sf-img-placeholder {
  position: absolute;
  inset: 0;
  background: url('../images/new image footage/kasapi.jpg') center 20% / cover no-repeat;
  filter: brightness(0.60) saturate(0.65);
}

.sf-vert-text {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(242,237,230,0.25);
  white-space: nowrap;
  text-transform: uppercase;
  z-index: 3;
}

.sf-img-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B1A1A, transparent);
  z-index: 3;
}

/* Right: content column */
.sf-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(2.5rem, 5vw, 5rem);
  gap: 1.8rem;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(139, 26, 26, 0.12);
}

.sf-breadcrumb {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(242,237,230,0.35);
  text-transform: uppercase;
}

.sf-heading {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f2ede6;
}

.sf-heading em {
  font-style: italic;
  color: #c8a96e;
  font-weight: 700;
}

.sf-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #b0a898;
  max-width: 480px;
}

.sf-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.4), transparent);
}

.sf-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  max-width: 380px;
}

.sf-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sf-stat-num {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #f2ede6;
  line-height: 1;
}

.sf-stat-lbl {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.4);
}

.sf-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sf-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: #c8a96e;
  border: 1px solid rgba(200,169,110,0.35);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

.sf-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #8B1A1A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  align-self: flex-start;
}

.sf-cta-btn:hover {
  background: #6d1515;
  transform: translateY(-1px);
}

.sf-ig-line {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(242,237,230,0.35);
}

.sf-ig-link {
  color: rgba(242,237,230,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sf-ig-link:hover { color: #c8a96e; }

.sf-anim { opacity: 1; transform: translateY(0); }

/* S-final mobile */
@media (max-width: 768px) {
  .sf-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .sf-img-col { height: 40vh; min-height: 240px; }
  .sf-content-col { padding: 40px 20px; }
  .sf-stats { max-width: 100%; gap: 24px; flex-wrap: wrap; }
  .sf-cta-btn { width: 100%; justify-content: center; }
}
