/* ============================================================
   DHANUKA FARMS V5 — DESIGN SYSTEM
   Modern. Spacious. Dramatic typography. Brand-accurate.
   Burgundy #6B1F2B · Stone #E6E2DA · Sage #8A9A91 · Coal #2B2B2B
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --burg:   #6B1F2B;
  --stone:  #E6E2DA;
  --sage:   #8A9A91;
  --coal:   #2B2B2B;
  --lstone: #F5F3EF;
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fb); color: var(--coal); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
.section { padding: 100px 0; }
.section--stone { background: var(--stone); }
.section--coal  { background: var(--coal); }
.section--burg  { background: var(--burg); }
.section--lstone { background: var(--lstone); }

/* ── TYPOGRAPHY SCALE ───────────────────────────────────── */
/* H1/H2 ONLY in Playfair — dramatic scale */
.display-xl {
  font-family: var(--fh);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--burg);
}
.display-lg {
  font-family: var(--fh);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--burg);
}
.display-md {
  font-family: var(--fh);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--burg);
}
.label-sm {
  font-family: var(--fb);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  display: block;
}
.body-lead { font-size: 17px; line-height: 1.85; opacity: .82; }
.body-reg  { font-size: 14px; line-height: 1.78; opacity: .76; }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--fb);
  transition: all .22s var(--ease);
  cursor: pointer;
  border: none;
}
.btn--solid {
  background: var(--burg);
  color: #fff;
}
.btn--solid:hover { background: var(--coal); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--burg);
  color: var(--burg);
}
.btn--outline:hover { background: var(--burg); color: #fff; }
.btn--outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--burg);
  padding: 14px 0;
  border-bottom: 1.5px solid var(--burg);
  letter-spacing: .1em;
}
.btn--ghost:hover { opacity: .65; }
.btn--stone { background: var(--stone); color: var(--burg); }
.btn--stone:hover { background: #fff; }
.btn--full { width: 100%; justify-content: center; padding: 16px; }

/* ── GLASSMORPHISM HEADER ───────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 48px;
  background: transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  will-change: transform, background;
}
#site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(138,154,145,.18);
  box-shadow: 0 4px 32px rgba(43,43,43,.06);
}


/* Non-front pages start with glass */
body:not(.is-front-page) #site-header {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(138,154,145,.18);
}

body.is-front-page { padding-top: 0; }
body:not(.is-front-page) { padding-top: 72px; }

/* Header 3-column */
/* Desktop: logo left, nav right */
.hdr-left   { display: flex; align-items: center; flex-shrink: 0; }
.hdr-center { display: none; }
.hdr-right  { display: flex; align-items: center; gap: 32px; }

/* Logo */
.site-logo { display: flex; align-items: center; }
.site-logo img,
.site-logo .custom-logo { height: 22px; width: auto; }

/* Nav links */
.nav-primary { display: flex; gap: 28px; list-style: none; }
.nav-primary a {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coal);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.nav-primary a:hover,
.nav-primary .current-menu-item a,
.nav-primary .active a {
  color: var(--burg);
  border-bottom-color: var(--burg);
}

/* White nav on transparent hero */
body.is-front-page #site-header:not(.scrolled) .nav-primary a {
  color: rgba(255,255,255,.88);
}
body.is-front-page #site-header:not(.scrolled) .nav-primary a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.5);
}
body.is-front-page #site-header:not(.scrolled) .hdr-right .btn--solid {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
}

/* Logo white on transparent */
body.is-front-page #site-header:not(.scrolled) .site-logo img,
body.is-front-page #site-header:not(.scrolled) .site-logo .custom-logo {
  filter: brightness(0) invert(1);
}

/* Farm Visit CTA in header */
.hdr-cta { display: flex; align-items: center; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--coal);
  transition: all .22s;
}
body.is-front-page #site-header:not(.scrolled) .nav-hamburger span { background: #fff; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(138,154,145,.18);
  z-index: 299;
  transform: translateY(-110%);
  transition: transform .32s var(--ease-out);
  padding: 20px 32px 32px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul { list-style: none; }
.nav-drawer li { border-bottom: 1px solid rgba(138,154,145,.1); }
.nav-drawer a {
  display: block;
  padding: 15px 0;
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--coal); transition: color .18s;
}
.nav-drawer a:hover { color: var(--burg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(43,43,43,.38);
  z-index: 298;
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO SLIDER ────────────────────────────────────────── */
.df-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--stone);
}
.df-hero__track {
  display: flex;
  height: 100%;
  transition: transform .85s var(--ease-out);
  will-change: transform;
}
.df-hero__slide {
  /* flex: grow shrink basis — each slide is exactly 100% of the hero, no rounding */
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.df-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.df-hero__overlay { position: absolute; inset: 0; }

/* Content sits bottom-left — editorial layout */
.df-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 72px 80px;
  width: 100%;
}
.df-hero__label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  display: block;
  margin-bottom: 18px;
}
.df-hero__h1 {
  font-family: var(--fh);
  font-size: clamp(36px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.df-hero__sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  margin-bottom: 36px;
}
.df-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slide controls */
.df-hero__controls {
  position: absolute;
  bottom: 36px; right: 72px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.df-hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.df-hero__dot.active,
.df-hero__dot:hover { background: #fff; transform: scale(1.3); }

.df-hero__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  cursor: pointer; transition: all .2s;
}
.df-hero__arrow:hover { background: rgba(255,255,255,.22); }

/* Progress line */
.df-hero__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: rgba(107,31,43,.6);
  z-index: 10;
  width: 0%;
  transition: width 5.5s linear;
}

/* ── USP MARQUEE ────────────────────────────────────────── */
.usp-marquee {
  background: var(--coal);
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.usp-marquee__track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.usp-marquee__track:hover { animation-play-state: paused; }
.usp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 44px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.usp-item p {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.usp-item::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--burg);
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SPLIT SECTIONS ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split--flip { }
.split__image {
  position: relative;
  overflow: hidden;
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 6s var(--ease);
}
.split__image:hover img { transform: scale(1.04); }
.split__image--placeholder {
  aspect-ratio: 4/5;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split__body {
  padding: 80px 80px;
}
.split--flip .split__body { padding: 80px 80px 80px 0; }
.split--flip .split__image { order: 2; }

/* ── ABOUT INTRO — OVERSIZED TYPOGRAPHY ─────────────────── */
.about-intro {
  padding: 120px 0 80px;
  border-bottom: 1px solid rgba(138,154,145,.18);
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.about-intro__headline {
  font-family: var(--fh);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  color: var(--burg);
}
.about-intro__body {
  padding-bottom: 8px;
}
.about-intro__divider {
  width: 44px; height: 2px;
  background: var(--burg);
  margin: 24px 0;
}

/* ── PHILOSOPHY PILLARS ─────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(138,154,145,.2);
}
.pillar-card {
  padding: 40px 32px;
  border-right: 1px solid rgba(138,154,145,.18);
  transition: background .2s;
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--lstone); }
.pillar-card__num {
  font-family: var(--fh);
  font-size: 44px;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.pillar-card__title {
  font-family: var(--fh);
  font-size: 20px;
  color: var(--burg);
  font-weight: 400;
  margin-bottom: 12px;
}
.pillar-card__body { font-size: 13px; opacity: .72; line-height: 1.7; }

/* ── PRODUCT HORIZONTAL SCROLL ─────────────────────────── */
.product-scroll-section {
  padding: 100px 0 0;
  background: var(--coal);
  overflow: hidden;
}
.product-scroll-section .container { padding-bottom: 0; }
.product-scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.product-scroll-header .display-md { color: var(--stone); }
.product-scroll-header .label-sm { color: var(--sage); }

/* Draggable track */
.product-track-wrapper {
  overflow: hidden;
  cursor: grab;
  padding-bottom: 60px;
  margin: 0 -48px;
  padding-left: 48px;
}
.product-track-wrapper:active { cursor: grabbing; }
.product-track {
  display: flex;
  gap: 20px;
  padding-right: 48px;
  width: max-content;
  transition: transform .1s linear;
  user-select: none;
}

/* Product card — large editorial style */
.prod-card {
  width: 320px;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.prod-card:hover { border-color: var(--burg); transform: translateY(-4px); }
.prod-card__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.prod-card__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-card__body { padding: 22px; }
.prod-card__status {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--fb);
}
.status--open { background: rgba(8,80,65,.3); color: #4ded9a; border: 1px solid rgba(77,237,154,.2); }
.status--waitlist { background: rgba(99,56,6,.3); color: #f5c97a; border: 1px solid rgba(245,201,122,.2); }
.status--soon { background: rgba(107,31,43,.3); color: #f0b0b8; border: 1px solid rgba(240,176,184,.2); }
.prod-card__name {
  font-family: var(--fh);
  font-size: 26px;
  color: var(--stone);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.1;
}
.prod-card__teaser { font-size: 12px; color: rgba(255,255,255,.48); line-height: 1.6; }

/* Scroll arrows */
.product-scroll-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ps-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: none;
  color: var(--stone);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  transition: all .18s;
}
.ps-arrow:hover { border-color: var(--burg); color: #fff; background: var(--burg); }

/* ── STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(138,154,145,.18);
}
.stat-box {
  padding: 48px 40px;
  border-right: 1px solid rgba(138,154,145,.18);
}
.stat-box:last-child { border-right: none; }
.stat-box__num {
  font-family: var(--fh);
  font-size: clamp(40px, 4vw, 60px);
  color: var(--burg);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.stat-box__label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

/* ── EXPERIENCE SECTION ─────────────────────────────────── */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 60px;
}
.experience-card {
  position: relative;
  overflow: hidden;
}
.experience-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.experience-card:hover img { transform: scale(1.05); }
.experience-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,43,43,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.experience-card__placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--stone);
}
.experience-card__title {
  font-family: var(--fh);
  font-size: 22px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 6px;
}
.experience-card__sub { font-size: 11px; color: rgba(255,255,255,.68); }

/* ── FORMS ──────────────────────────────────────────────── */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(138,154,145,.3);
  font-family: var(--fb);
  font-size: 14px;
  color: var(--coal);
  background: #fff;
  outline: none;
  transition: border-color .18s;
  border-radius: 0;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--burg); }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-cb-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-cb-group label {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; text-transform: none;
  letter-spacing: 0; font-weight: 400; color: var(--coal);
}

.df-success {
  padding: 20px 24px;
  background: rgba(8,80,65,.08);
  border-left: 3px solid #085041;
  font-size: 14px;
  line-height: 1.6;
  color: var(--coal);
}
.df-error {
  padding: 16px 20px;
  background: rgba(163,45,45,.08);
  border-left: 3px solid #a32d2d;
  font-size: 13px;
  color: #a32d2d;
}

/* ── FAQ ACCORDION ──────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(138,154,145,.2); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--coal);
}
.faq-icon {
  width: 24px; height: 24px;
  border: 1.5px solid var(--burg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--burg);
  font-size: 14px;
  transition: transform .22s;
  flex-shrink: 0;
}
.faq-icon.open { transform: rotate(45deg); background: var(--burg); color: #fff; }
.faq-a {
  font-size: 14px;
  color: var(--coal);
  opacity: .72;
  line-height: 1.75;
  padding: 0 0 22px;
  display: none;
}
.faq-a.open { display: block; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  padding: 32px;
  border: 1px solid rgba(138,154,145,.18);
  background: #fff;
}
.testi-card__quote {
  font-family: var(--fh);
  font-style: italic;
  font-size: 16px;
  line-height: 1.68;
  color: var(--coal);
  margin-bottom: 20px;
}
.testi-card__attr {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

/* ── BLOG CARDS ─────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { border: 1px solid rgba(138,154,145,.15); transition: border-color .18s; }
.blog-card:hover { border-color: var(--burg); }
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.blog-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--stone);
}
.blog-card__body { padding: 22px; }
.blog-card__cat {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.blog-card__title {
  font-family: var(--fh);
  font-size: 18px;
  color: var(--burg);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card__excerpt { font-size: 13px; opacity: .65; line-height: 1.6; margin: 0; }
.blog-card__date { font-size: 10px; color: var(--sage); margin-top: 12px; font-weight: 600; }

/* ── BANNER STRIPS ──────────────────────────────────────── */
.burg-banner {
  background: var(--burg);
  padding: 88px 0;
  text-align: center;
}
.burg-banner .label-sm { color: rgba(255,255,255,.4); margin-bottom: 14px; }
.burg-banner .display-md { color: #fff; margin-bottom: 16px; }
.burg-banner p { color: rgba(255,255,255,.72); max-width: 500px; margin: 0 auto 32px; font-size: 16px; line-height: 1.8; }

/* ── BOOKING WIDGET ─────────────────────────────────────── */
.booking-widget {
  background: var(--lstone);
  border: 1px solid rgba(138,154,145,.2);
  padding: 48px;
}
.booking-widget__header { margin-bottom: 32px; }
.booking-produce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.booking-produce-card {
  background: #fff;
  border: 2px solid rgba(138,154,145,.2);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
}
.booking-produce-card:hover { border-color: var(--burg); }
.booking-produce-card.selected { border-color: var(--burg); background: rgba(107,31,43,.04); }
.booking-produce-card img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
}
.booking-produce-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--coal);
  margin-bottom: 4px;
}
.booking-produce-card__status {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.booking-produce-card__status.open   { color: #085041; }
.booking-produce-card__status.waitlist { color: #633806; }
.booking-produce-card__status.closed { color: var(--sage); }

.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.booking-slot {
  padding: 14px 16px;
  border: 1.5px solid rgba(138,154,145,.25);
  cursor: pointer;
  transition: all .18s;
  text-align: center;
}
.booking-slot:hover { border-color: var(--burg); }
.booking-slot.selected { border-color: var(--burg); background: rgba(107,31,43,.05); }
.booking-slot.full { opacity: .4; cursor: not-allowed; pointer-events: none; }
.booking-slot__date { font-size: 13px; font-weight: 600; color: var(--coal); }
.booking-slot__time { font-size: 11px; color: var(--sage); margin-top: 3px; }
.booking-slot__seats { font-size: 10px; color: var(--sage); margin-top: 4px; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-detail { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--stone);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.contact-value { font-size: 14px; color: var(--coal); line-height: 1.55; }

/* ── FOOTER ─────────────────────────────────────────────── */
#site-footer { background: var(--coal); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand h2 {
  font-family: var(--fh);
  font-size: 20px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 5px;
}
.footer-brand em {
  font-family: var(--fh);
  font-size: 13px;
  color: rgba(255,255,255,.35);
  font-style: italic;
  display: block;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 220px; margin: 0; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.44); transition: color .18s; }
.footer-col a:hover { color: var(--stone); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,.44); line-height: 1.82; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.28); margin: 0; }
.footer-bottom a { font-size: 11px; color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--stone); }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--stone);
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .2;
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 16px; opacity: .72; max-width: 560px; }

/* ── ELEMENTOR COMPAT ───────────────────────────────────── */
.df-elementor-content { display: none !important; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  #site-header { height: 64px; }
  body:not(.is-front-page) { padding-top: 64px; }
  .nav-drawer { top: 64px; }
}

@media (max-width: 768px) {
  /* Header — mobile: hamburger | LOGO CENTRE | spacer */
  #site-header {
    padding: 0 20px;
    height: 60px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }
  .hdr-left   { display: flex; align-items: center; justify-content: flex-start; }
  .hdr-center { display: flex; align-items: center; justify-content: center; }
  .hdr-right  { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
  /* Move logo to centre slot on mobile */
  .hdr-left .site-logo { display: none; }
  .hdr-center { display: flex; }
  .hdr-right .nav-primary { display: none; }
  .hdr-cta { display: none; }
  .nav-hamburger { display: flex; }
  body:not(.is-front-page) { padding-top: 60px; }
  .nav-drawer { top: 60px; }
  .site-logo img, .site-logo .custom-logo { height: 18px; }

  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__image { order: 0; }
  .split__body, .split--flip .split__body { padding: 40px 20px; }
  .split__image img, .split__image--placeholder { aspect-ratio: 4/3; }

  /* Hero */
  .df-hero { height: 100svh; min-height: 500px; }
  .df-hero__content { padding: 0 20px 60px; max-width: 100%; }
  .df-hero__h1 { font-size: clamp(32px, 8vw, 56px); }
  .df-hero__controls { right: 20px; bottom: 20px; }
  .df-hero__arrow { display: none; }

  /* About */
  .about-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar-card { padding: 28px 20px; }

  /* Products */
  .product-track-wrapper { margin: 0 -20px; padding-left: 20px; }
  .product-track { padding-right: 20px; }
  .prod-card { width: 260px; }
  .product-scroll-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Stats */
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 32px 20px; }

  /* Experience */
  .experience-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 16px 0; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* USP marquee — slower on mobile */
  .usp-marquee__track { animation-duration: 20s; }

  /* Booking */
  .booking-widget { padding: 28px 20px; }
  .booking-produce-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }

  /* Page hero */
  .page-hero { padding: 72px 0 48px; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .df-hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ══ LOGO SHOW/HIDE PER BREAKPOINT ══════════════════════════
   Desktop: logo in hdr-left, hamburger hidden
   Mobile:  logo in hdr-center, hamburger in hdr-left
   ══════════════════════════════════════════════════════════ */

/* Desktop defaults */
.hdr-logo-desktop { display: flex; }  /* logo visible in left slot */
.hdr-logo-mobile  { display: none;  } /* centre slot hidden on desktop */
.nav-hamburger    { display: none;  } /* hamburger hidden on desktop */

/* Desktop: white logo when transparent over hero */
body.is-front-page #site-header:not(.scrolled) .hdr-logo-desktop img,
body.is-front-page #site-header:not(.scrolled) .hdr-logo-desktop .custom-logo {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .hdr-logo-desktop { display: none;  } /* hide left-slot logo on mobile */
  .hdr-logo-mobile  { display: flex;  } /* show centre-slot logo on mobile */
  .nav-hamburger    { display: flex;  } /* show hamburger on mobile */
  /* White logo on transparent hero — mobile centre slot */
  body.is-front-page #site-header:not(.scrolled) .hdr-logo-mobile img,
  body.is-front-page #site-header:not(.scrolled) .hdr-logo-mobile .custom-logo {
    filter: brightness(0) invert(1);
  }
}

/* ══ IMAGES — UNSPLASH FALLBACKS ══════════════════════════
   Hero slides without uploaded images fall back to CSS gradient
   so they never look broken. Upload real images via WP Admin
   → Pages → Home → Edit → ACF fields (Slider 1/2/3 Image)
   ══════════════════════════════════════════════════════════ */

/* ── SLIDE GRADIENT FALLBACKS (shown until real photos uploaded) ── */
.df-hero__slide:nth-child(1) {
  background: linear-gradient(135deg, #3a2418 0%, #6B1F2B 45%, #2b1a10 100%);
}
.df-hero__slide:nth-child(2) {
  background: linear-gradient(135deg, #0d1e0d 0%, #1a3318 50%, #6B1F2B 100%);
}
.df-hero__slide:nth-child(3) {
  background: linear-gradient(135deg, #2a1a06 0%, #4a2e0a 50%, #3d2408 100%);
}
/* When real image IS present, it sits above the gradient */
.df-hero__bg { z-index: 1; }
.df-hero__overlay { z-index: 2; }
.df-hero__content { z-index: 3; }

/* ══ ELEMENTOR — FULL COMPATIBILITY FIX ═══════════════════
   Elementor requires the_content() to be called in the template.
   All page templates already have the hidden .df-elementor-content div.
   These rules ensure Elementor can take over the full page when active.
   ══════════════════════════════════════════════════════════ */

/* Hide our PHP content when Elementor is rendering the page */
body.elementor-page .df-hero,
body.elementor-page .usp-marquee,
body.elementor-page .about-intro,
body.elementor-page .pillars,
body.elementor-page .product-scroll-section,
body.elementor-page .stats-strip,
body.elementor-page .section:not(.df-elementor-content),
body.elementor-page .burg-banner {
  /* Keep PHP content visible — Elementor renders BELOW it in the hidden div.
     If you want Elementor to take over a page fully:
     1. Edit page in Elementor
     2. Page Settings (bottom left) → Page Layout → Elementor Canvas or Full Width
     3. The .df-elementor-content div will expand and Elementor controls everything */
}

/* The hidden Elementor anchor div */
/* Elementor content anchor — MUST be in DOM, MUST NOT be display:none
   Elementor JS scans the DOM for this element. display:none removes it
   from the render tree and Elementor cannot find it.
   We use position:absolute + clip instead. */
.df-elementor-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* When Elementor IS actively editing — make content visible */
body.elementor-editor-active .df-elementor-content {
  display: block !important;
  visibility: visible;
  height: auto;
  overflow: visible;
  pointer-events: auto;
  min-height: 200px;
  background: #f0f0f0;
  border: 2px dashed #b00;
  padding: 20px;
}
body.elementor-editor-active .df-elementor-content::before {
  content: "Elementor content area — drag widgets here";
  font-family: sans-serif;
  font-size: 13px;
  color: #b00;
  display: block;
}

/* Elementor attaches to .entry-content — keep it accessible but invisible */
.entry-content.df-elementor-content {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* When Elementor is actively editing — show the content area */
.elementor-editor-active .entry-content.df-elementor-content {
  position: relative;
  width: 100%; height: auto;
  margin: 0; padding: 20px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  min-height: 100px;
}

/* --- V6 REFINEMENTS SECTION --- */
body.home, body.page-template-front-page, body.page-template-front-pagephp, body.is-front-page {
    padding-top: 0 !important;
}

#site-header {
    z-index: 300 !important;
}

.nav-drawer {
    visibility: hidden;
    opacity: 0;
}
.nav-drawer.open {
    visibility: visible;
    opacity: 1;
}

.swiper-slide, .df-hero__slide {
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .elementor-repeater-item .swiper-slide-inner {
        padding-bottom: 80px !important;
    }
}
