@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Colors — pulled directly from the Everly Treats logo mark */
  --color-bg: #FAF6EF;             /* Warm paper */
  --color-bg-raised: #FFFFFF;      /* Cards / raised surfaces */
  --color-ink: #201512;            /* Near-black text */
  --color-dark: #1A0F0D;           /* Dark section background */
  --color-muted: #7A6D64;          /* Muted secondary text */

  --color-accent: #A41C20;         /* Logo sunburst red */
  --color-accent-2: #7A1418;       /* Deep red, shadow tone */
  --color-accent-soft: #F5E3DC;    /* Faint red tint for backgrounds */

  --color-green: #2C9242;          /* Logo ring — deep green */
  --color-green-light: #7BBC44;    /* Logo ring — bright leaf green */
  --color-green-soft: #E7F0DE;     /* Faint green tint for backgrounds */

  --color-line: #E7DFD2;           /* Hairline borders (light) */
  --color-line-dark: rgba(250, 246, 239, 0.1); /* Hairline borders (dark) */
  --color-white: #FFFFFF;

  --gradient-brand: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  --gradient-leaf: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-green) 100%);

  /* Fonts */
  --font-display: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;

  /* Layout & Spacing */
  --max-width: 1240px;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 120px;
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

section[id],
footer[id] {
  scroll-margin-top: 120px;
}

html.lenis {
  height: auto;
}

body {
  background-color: var(--color-line);
  overflow-x: hidden;
  padding: 14px;
  width: 100%;
  line-height: 1.6;
}

body.lenis {
  overscroll-behavior: contain;
}

.site-nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-line);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* --- CUSTOM CURSOR (DESKTOP ONLY) --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(164, 28, 32, 0.4);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  background-color: rgba(164, 28, 32, 0.06);
  border-color: rgba(164, 28, 32, 0.7);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-muted);
}

.serif-italic {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 500;
}

.text-accent {
  color: var(--color-accent);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- REUSABLE COMPONENTS & UTILITIES --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-bg);
  border: 1px solid transparent;
  box-shadow: 0 10px 26px -14px rgba(164, 28, 32, 0.7);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-leaf);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  box-shadow: 0 10px 30px -6px rgba(44, 146, 66, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-line);
}

.btn-secondary:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-bg);
  border: 1px solid var(--color-line-dark);
}

.btn-outline-light:hover {
  border-color: var(--color-bg);
  background-color: rgba(250, 246, 239, 0.06);
  transform: translateY(-2px);
}

/* --- NAVIGATION --- */
.site-nav {
  position: absolute;
  top: 14px;
  left: 14px;
  width: calc(100% - 28px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  transition: height 0.4s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* --- Desktop nav links: roll-up text-swap hover + active dot --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-link-text {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.1em;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link-text span {
  display: block;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-link-text span:first-child {
  color: rgba(250, 246, 239, 0.82);
}

.nav-link-text span:last-child {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--color-accent);
}

.nav-link-item:hover .nav-link-text span,
.nav-link-item.active .nav-link-text span {
  transform: translateY(-100%);
}

.nav-link-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item.active .nav-link-dot {
  opacity: 1;
  transform: scale(1);
}

.site-nav .btn-secondary {
  color: var(--color-bg);
  border-color: rgba(250, 246, 239, 0.55);
}

.site-nav .btn-secondary:hover {
  background-color: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-ink);
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 1.5rem;
  }
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-cta .btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.75rem;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger {
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--color-ink);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 1px;
  background-color: var(--color-ink);
  left: 0;
  transition: var(--transition-fast);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

.mobile-nav-toggle.open .hamburger {
  background-color: transparent;
}
.mobile-nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.nav-mobile-footer {
  display: none;
}

@media (max-width: 768px) {
  .nav-menu-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 1050;
    overflow-y: auto;
  }

  .nav-menu-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .nav-link-item {
    padding: 0.85rem 0;
    gap: 0.65rem;
  }

  .nav-link-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    height: 1.25em;
  }

  .nav-link-item.active .nav-link-text span:first-child,
  .nav-link-item:hover .nav-link-text span:first-child {
    color: var(--color-ink);
  }

  .nav-link-dot {
    width: 6px;
    height: 6px;
  }

  .nav-menu-panel .nav-link-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu-panel.open .nav-link-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu-panel.open .nav-links li:nth-child(1) .nav-link-item { transition-delay: 0.08s; }
  .nav-menu-panel.open .nav-links li:nth-child(2) .nav-link-item { transition-delay: 0.14s; }
  .nav-menu-panel.open .nav-links li:nth-child(3) .nav-link-item { transition-delay: 0.2s; }
  .nav-menu-panel.open .nav-links li:nth-child(4) .nav-link-item { transition-delay: 0.26s; }
  .nav-menu-panel.open .nav-links li:nth-child(5) .nav-link-item { transition-delay: 0.32s; }

  .nav-mobile-footer {
    display: block;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
  }

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

  .nav-mobile-footer .btn {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .nav-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-muted);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

/* --- HERO (CENTERED, AMBIENT) --- */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: var(--color-bg);
  background-image: linear-gradient(90deg, rgba(26, 15, 13, 0.48) 0%, rgba(26, 15, 13, 0.28) 35%, rgba(26, 15, 13, 0.52) 100%), url('assets/images/hero_bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.hero-grain-field {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  z-index: 0;
  pointer-events: none;
}

.hero-grain-field svg {
  width: 100%;
  height: 100%;
}

.hero-content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 88px;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  background: rgba(26, 15, 13, 0.14);
  border: 1px solid rgba(250, 246, 239, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 52px -28px rgba(32, 21, 18, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-leaf);
  box-shadow: 0 0 12px rgba(123, 188, 68, 0.6);
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--color-bg);
  margin-bottom: 1.25rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 20px rgba(26, 15, 13, 0.18);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
  will-change: transform;
}

.hero-title-accent {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--color-accent);
  font-weight: 500;
}

.hero-desc {
  font-size: 1.04rem;
  color: rgba(250, 246, 239, 0.86);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 0 rgba(26, 15, 13, 0.25);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(32, 21, 18, 0.7);
}

.hero-footer-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem 2.5rem;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background-color: var(--color-line);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-brand);
  animation: scroll-line-anim 2.4s infinite ease-in-out;
}

@keyframes scroll-line-anim {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.hero-mouse {
  width: 26px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  flex-shrink: 0;
}

.hero-mouse-wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
  animation: mouse-wheel-anim 1.8s infinite ease;
}

@keyframes mouse-wheel-anim {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0.2; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 3.5rem 2rem 2rem;
    max-width: 100%;
  }
  .hero-footer-bar { display: none; }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 3rem 1.5rem 2.5rem;
  }
  .hero-stats-row {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    gap: 0.85rem;
  }
  .hero-btns .btn {
    width: 100%;
  }
}

/* --- SECTION GENERAL STYLING --- */
.section-padding {
  padding: 8.5rem 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5.5rem 0;
  }
}

.section-header {
  max-width: 640px;
  margin: 0 0 4.5rem;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gradient-leaf);
  border-radius: 2px;
  display: inline-block;
}

.section-header.centered .section-tag {
  justify-content: center;
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
}

/* --- BAKERY SHOWCASE (THE GRID) --- */
.grid-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  height: 420px;
  text-decoration: none;
  background-color: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  will-change: transform;
}

.grid-item-img-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.grid-item img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(0.1);
  will-change: transform;
}

.grid-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 15, 13, 0.92) 10%, rgba(26, 15, 13, 0.2) 55%, rgba(26, 15, 13, 0) 90%);
  z-index: 2;
  transition: var(--transition);
}

.grid-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.25rem;
  z-index: 3;
  color: var(--color-bg);
}

.grid-item-number {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: rgba(250, 246, 239, 0.7);
  border: 1px solid rgba(250, 246, 239, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.grid-item-subtitle {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green-light);
  margin-bottom: 0.6rem;
  display: block;
}

.grid-item-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-bg);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.grid-item-desc {
  font-size: 0.9rem;
  color: rgba(250, 246, 239, 0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-item:hover img {
  transform: scale(1.06);
}

.grid-item:hover .grid-item-overlay {
  background: linear-gradient(to top, rgba(26, 15, 13, 0.95) 30%, rgba(26, 15, 13, 0.5) 75%, rgba(26, 15, 13, 0.15) 100%);
}

.grid-item:hover .grid-item-desc {
  max-height: 90px;
  opacity: 1;
  margin-top: 0.5rem;
}

.grid-item.breads { grid-column: span 8; }
.grid-item.puffs { grid-column: span 4; }
.grid-item.cakes { grid-column: span 4; }
.grid-item.biscuits { grid-column: span 4; }
.grid-item.pastries { grid-column: span 4; }

@media (max-width: 1024px) {
  .grid-item.breads { grid-column: span 12; height: 360px; }
  .grid-item.puffs { grid-column: span 6; height: 340px; }
  .grid-item.cakes { grid-column: span 6; height: 340px; }
  .grid-item.biscuits { grid-column: span 6; height: 340px; }
  .grid-item.pastries { grid-column: span 6; height: 340px; }
}

@media (max-width: 640px) {
  .grid-showcase {
    gap: 1rem;
  }
  .grid-item {
    grid-column: span 12 !important;
    height: 300px !important;
  }
  .grid-item-content {
    padding: 1.5rem;
  }
}

/* --- THE BAKING PHILOSOPHY & CRAFT --- */
.showcase-section {
  background-color: var(--color-bg-raised);
}

.craft-section {
  background-color: var(--color-bg);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1rem;
  background-color: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
}

.craft-card {
  background-color: var(--color-bg-raised);
  padding: 3.25rem 2.5rem;
  transition: var(--transition-fast);
  position: relative;
}

.craft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.craft-card:hover {
  background-color: var(--color-accent-soft);
}

.craft-card:hover::before {
  transform: scaleX(1);
}

.craft-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  display: block;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.craft-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.craft-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (max-width: 1024px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }
  .craft-card {
    padding: 2.75rem 1.75rem;
  }
}

/* --- OUR PRODUCTION FACILITY (PARALLAX IMAGE) --- */
.facility-section {
  background-color: var(--color-bg-raised);
}

.facility-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5.5rem;
  align-items: center;
}

.facility-text {
  max-width: 480px;
}

.facility-features {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.facility-feature-item {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-line);
}

.facility-feature-item:first-child {
  padding-top: 0;
  border-top: none;
}

.facility-feature-icon {
  flex-shrink: 0;
  color: var(--color-white);
  background: var(--gradient-brand);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.facility-feature-desc {
  font-size: 0.95rem;
}

.facility-image-container {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 560px;
  box-shadow: 0 40px 80px -30px rgba(32, 21, 18, 0.3);
}

.facility-parallax-img-wrap {
  position: absolute;
  inset: -12% 0;
  height: 124%;
  width: 100%;
  will-change: transform;
}

.facility-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05);
}

.facility-img-overlay-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(26, 15, 13, 0.75);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  color: var(--color-bg);
  padding: 1.75rem 2rem;
  max-width: 300px;
  border-radius: 14px;
  border: 1px solid rgba(250, 246, 239, 0.12);
}

.facility-img-overlay-badge h4 {
  color: var(--color-bg);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.facility-img-overlay-badge p {
  color: rgba(250, 246, 239, 0.7);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .facility-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .facility-text {
    max-width: 100%;
  }
  .facility-image-container {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .facility-image-container {
    height: 360px;
  }
  .facility-img-overlay-badge {
    position: relative;
    left: 0;
    bottom: 0;
    max-width: 100%;
    margin-top: 1rem;
  }
}

/* --- SIGNATURE MOMENT (PINNED PARALLAX BANNER) --- */
.moment-section {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moment-bg {
  position: absolute;
  inset: -15% 0;
  height: 130%;
  width: 100%;
  z-index: 0;
  will-change: transform;
}

.moment-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}

.moment-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,15,13,0.5) 0%, rgba(26,15,13,0.25) 50%, rgba(26,15,13,0.75) 100%);
}

.moment-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 2rem;
}

.moment-content .section-tag {
  color: var(--color-green-light);
  justify-content: center;
}

.moment-quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--color-bg);
  line-height: 1.25;
  font-weight: 400;
}

.moment-quote .serif-italic {
  color: var(--color-green-light);
}

/* --- OUR HERITAGE & ROOTS (ABOUT) --- */
#heritage {
  background-color: var(--color-bg);
}

.heritage-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5.5rem;
  align-items: center;
}

.heritage-story-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: var(--color-ink);
  line-height: 1.3;
  font-weight: 400;
}

.heritage-story-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.heritage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--color-line);
  padding-top: 2.25rem;
}

.heritage-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-weight: 400;
  white-space: nowrap;
}

.heritage-stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

@media (max-width: 1024px) {
  .heritage-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .heritage-stats {
    margin-top: 2.25rem;
  }
}

@media (max-width: 640px) {
  .heritage-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- COMMUNITY REVIEWS --- */
.reviews-section {
  background-color: var(--color-bg-raised);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 7rem 0;
}

.reviews-content {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  max-width: 960px;
}

.reviews-seal {
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: 0 20px 38px -24px rgba(164, 28, 32, 0.55);
}

.reviews-seal-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
}

.reviews-title {
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 1.4rem;
}

.reviews-summary {
  border-top: 1px solid var(--color-line);
  padding-top: 1.35rem;
  max-width: 440px;
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  margin: 0.3rem 0;
}

.reviews-stars {
  color: var(--color-green-light);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.reviews-summary p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.reviews-link {
  color: var(--color-ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration-color: var(--color-green-light);
  text-underline-offset: 0.35rem;
}

.reviews-link:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 4.5rem 0;
  }

  .reviews-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reviews-seal {
    width: 170px;
  }
}

/* --- FOOTER & LOCATION --- */
.footer {
  background-color: var(--color-dark);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 4rem;
  border-radius: 10px;
  margin-top: -10px;
  z-index: 1;
}

@media (max-width: 768px) {
  body {
    background-color: var(--color-bg);
    padding: 0;
  }

  .site-nav {
    top: 0;
    left: 0;
    width: 100%;
  }

  .hero {
    border-radius: 0;
  }

  .footer {
    border-radius: 0;
    margin-top: 0;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(130px, 0.65fr) minmax(220px, 1fr) minmax(240px, 1fr);
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: start;
  border-bottom: 1px solid var(--color-line-dark);
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer h3, .footer h4 {
  color: var(--color-bg);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand h3 {
  font-size: 1.85rem;
  margin-bottom: 1.15rem;
  font-weight: 400;
}

.footer-brand p {
  color: rgba(250, 246, 239, 0.55);
  max-width: 320px;
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-list a {
  color: rgba(250, 246, 239, 0.55);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-green-light);
}

.footer-contact h4,
.footer-map h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-location-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-location-details p {
  color: rgba(250, 246, 239, 0.55);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-location-details strong {
  color: var(--color-bg);
  display: block;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.map-preview-container {
  border: 1px solid var(--color-line-dark);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  height: 200px;
  transition: var(--transition-fast);
}

.map-preview-container:hover {
  border-color: rgba(123, 188, 68, 0.5);
}

.map-preview-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 13, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.map-preview-container:hover::after,
.map-preview-container:focus-within::after {
  opacity: 1;
}

.map-preview-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.82) contrast(0.94);
}

.map-directions-link {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 150px;
  padding: 0.8rem 1rem;
  background-color: var(--color-bg);
  border-radius: 4px;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -42%);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.map-preview-container:hover .map-directions-link,
.map-preview-container:focus-within .map-directions-link {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.map-directions-link:hover {
  color: var(--color-bg);
  background-color: var(--color-accent);
}

@media (hover: none) {
  .map-preview-container::after {
    opacity: 1;
  }

  .map-directions-link {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: rgba(250, 246, 239, 0.35);
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .footer {
    padding-top: 4.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem 2.5rem;
  }
  .footer-brand {
    grid-column: span 2;
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding-bottom: 2.5rem;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-logo-img {
    height: 54px;
    margin-bottom: 1rem;
  }
  .footer-brand p {
    margin-bottom: 1.5rem;
  }
  .map-preview-container {
    height: 210px;
  }
  .footer-bottom {
    padding: 1.75rem 0 0;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- FLOATING PARALLAX DECOR ELEMENTS --- */
.float-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.float-decor.dot-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.float-decor.dot-cluster span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(164, 28, 32, 0.3);
}

.float-decor.dot-cluster.green span {
  background: rgba(44, 146, 66, 0.3);
}

.float-decor.dot-cluster.on-dark span {
  background: rgba(212, 168, 87, 0.28);
}

.float-decor.crumb {
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: rgba(164, 28, 32, 0.12);
}

.float-decor.crumb.leaf {
  background: rgba(123, 188, 68, 0.16);
  border-radius: 0% 100% 0% 100%;
}

.float-decor.icon {
  color: rgba(164, 28, 32, 0.22);
}

.float-decor.icon.icon-green {
  color: rgba(44, 146, 66, 0.24);
}

.float-decor.icon.icon-on-dark {
  color: rgba(212, 168, 87, 0.18);
}

.float-decor-inner {
  animation: float-decor-bob 5s ease-in-out infinite;
}

@keyframes float-decor-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .float-decor-inner {
    animation: none;
  }
}

.float-decor.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .float-decor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-decor {
    display: none;
  }
}

/* --- SCROLL REVEAL (GSAP-DRIVEN) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  will-change: transform, opacity;
}

.js-ready .reveal-on-scroll {
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.23s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.41s; }
