/* ============================================================
   FLYIN' FARMER PITSTOP — Premium Stylesheet
   Jenkins, Missouri · Est. Racing Heritage
   ============================================================
   Table of Contents:
   1.  Google Fonts Import
   2.  CSS Reset
   3.  Custom Properties
   4.  Base & Typography
   5.  Utility Classes
   6.  Navigation
   7.  Hero Section
   8.  About Section
   9.  Offerings Section
   10. Fuel Section
   11. Kitchen Section
   12. Features Section (Horizontal Scroll)
   13. Construction Timeline
   14. Location Section
   15. Footer
   16. Animations & Keyframes
   17. Scroll-Driven Animations (Modern)
   18. Responsive — Tablet
   19. Responsive — Mobile
   20. Reduced Motion
   21. Performance
   ============================================================ */


/* ==========================================================
   1. GOOGLE FONTS
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');


/* ==========================================================
   2. CSS RESET
   ========================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

fieldset {
  border: none;
}


/* ==========================================================
   3. CUSTOM PROPERTIES
   ========================================================== */
:root {
  /* ── Brand Colors ── */
  --clr-black:          #0a0a0a;
  --clr-charcoal:       #1a1a1a;
  --clr-charcoal-mid:   #222222;
  --clr-charcoal-light: #2a2a2a;
  --clr-white-warm:     #f5f0eb;
  --clr-white-cream:    #faf8f5;
  --clr-red:            #c41e2a;
  --clr-red-dark:       #9b1520;
  --clr-red-glow:       rgba(196, 30, 42, 0.35);
  --clr-steel:          #8a8a8a;
  --clr-steel-light:    #b0b0b0;
  --clr-gold:           #c8a55a;
  --clr-gold-muted:     rgba(200, 165, 90, 0.15);

  /* ── Surfaces & Overlays ── */
  --surface-primary:    var(--clr-black);
  --surface-elevated:   var(--clr-charcoal);
  --surface-card:       var(--clr-charcoal-mid);
  --overlay-dark:       rgba(10, 10, 10, 0.7);
  --overlay-hero:       rgba(10, 10, 10, 0.55);

  /* ── Typography ── */
  --ff-heading:  'Oswald', system-ui, sans-serif;
  --ff-body:     'Inter', system-ui, sans-serif;

  --fs-hero:     clamp(3rem, 8vw, 7rem);
  --fs-h1:       clamp(2.25rem, 5vw, 4rem);
  --fs-h2:       clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-h3:       clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-body:     clamp(0.9375rem, 1vw, 1.0625rem);
  --fs-small:    clamp(0.8125rem, 0.9vw, 0.9375rem);
  --fs-label:    0.75rem;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --lh-tight:    1.1;
  --lh-snug:     1.3;
  --lh-normal:   1.6;
  --lh-relaxed:  1.8;

  --ls-tight:    -0.02em;
  --ls-normal:   0;
  --ls-wide:     0.08em;
  --ls-ultra:    0.15em;

  /* ── Spacing ── */
  --space-xs:    0.5rem;
  --space-sm:    0.75rem;
  --space-md:    1rem;
  --space-lg:    1.5rem;
  --space-xl:    2rem;
  --space-2xl:   3rem;
  --space-3xl:   4rem;
  --space-4xl:   6rem;
  --space-5xl:   8rem;
  --space-section: clamp(5rem, 10vh, 8rem);

  /* ── Layout ── */
  --max-width:     1320px;
  --max-width-narrow: 960px;
  --gutter:        clamp(1.25rem, 4vw, 3rem);
  --nav-height:    112px;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* ── Transitions ── */
  --ease-out:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-premium:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   0.2s;
  --duration-base:   0.4s;
  --duration-slow:   0.6s;
  --duration-reveal:  0.8s;

  /* ── Shadows ── */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 30px var(--clr-red-glow);

  /* ── Z-Index ── */
  --z-nav:       1000;
  --z-overlay:   100;
  --z-hero-content: 10;
}


/* ==========================================================
   4. BASE & TYPOGRAPHY
   ========================================================== */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-white-warm);
  background-color: var(--clr-black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  color: var(--clr-white-cream);
}

p {
  color: var(--clr-steel-light);
  max-width: 65ch;
}

a {
  transition: color var(--duration-fast) var(--ease-out);
}

::selection {
  background-color: var(--clr-red);
  color: var(--clr-white-cream);
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* ==========================================================
   5. UTILITY CLASSES
   ========================================================== */

/* Section Label — "— ABOUT US" style */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--clr-red);
}

/* Section Title */
.section-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--clr-white-cream);
  margin-bottom: var(--space-xl);
}

/* Accent Utilities */
.red-accent {
  color: var(--clr-red);
}

.steel-text {
  color: var(--clr-steel);
}

.gold-accent {
  color: var(--clr-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--ff-heading);
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition:
    background-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  translate: -100% 0;
  transition: translate 0.6s var(--ease-premium);
}

.btn:hover::after {
  translate: 100% 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--clr-red);
  color: var(--clr-white-cream);
  border: 2px solid var(--clr-red);
}

.btn-primary:hover {
  background-color: var(--clr-red-dark);
  border-color: var(--clr-red-dark);
  box-shadow: var(--shadow-glow-red);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-white-cream);
  border: 2px solid rgba(245, 240, 235, 0.3);
}

.btn-outline:hover {
  border-color: var(--clr-white-cream);
  background-color: rgba(245, 240, 235, 0.06);
}


/* ==========================================================
   6. NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition:
    background-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    backdrop-filter var(--duration-base) var(--ease-out);
  background-color: transparent;
}

.nav-scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(196, 30, 42, 0.15),
              0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.nav:not(.nav-hidden) {
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__logo img {
  height: 96px;
  max-height: calc(var(--nav-height) - 1rem);
  width: auto;
}

.nav__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--clr-white-cream);
  line-height: var(--lh-tight);
}

.nav__logo-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: var(--ls-ultra);
  color: var(--clr-steel);
  font-weight: var(--fw-medium);
  font-family: var(--ff-body);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__links a {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-red);
  transition: width var(--duration-base) var(--ease-premium);
}

.nav__links a:hover {
  color: var(--clr-white-cream);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--clr-white-cream);
}

.nav__links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 10);
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-white-cream);
  border-radius: 1px;
  transition:
    transform var(--duration-base) var(--ease-premium),
    opacity var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-nav) + 5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-slow) var(--ease-out),
    visibility var(--duration-slow) var(--ease-out);
}

.nav__mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-menu a {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--clr-white-cream);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__mobile-menu a:hover {
  color: var(--clr-red);
}


/* ==========================================================
   7. HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Parallax-ready: JS can apply transform */
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.4) 0%,
      rgba(10, 10, 10, 0.2) 40%,
      rgba(10, 10, 10, 0.6) 75%,
      rgba(10, 10, 10, 0.95) 100%
    );
}

.hero__content {
  position: relative;
  z-index: var(--z-hero-content);
  text-align: center;
  max-width: 900px;
  padding-inline: var(--gutter);
}

.hero__tagline {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  background-color: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1.25rem;
  border-radius: 100vw;
  display: inline-block;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: heroFadeIn 0.8s var(--ease-premium) 0.2s both;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 0.95;
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-xl);
  animation: heroTitleReveal 1s var(--ease-premium) 0.4s both;
}

.hero__title span {
  color: var(--clr-red);
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--fw-regular);
  color: var(--clr-steel-light);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
  animation: heroFadeIn 0.8s var(--ease-premium) 0.7s both;
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: heroFadeIn 0.8s var(--ease-premium) 0.9s both;
}

/* Scroll Indicator Arrow */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  translate: -50% 0;
  z-index: var(--z-hero-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: pulseArrow 2s var(--ease-out) infinite;
}

.hero__scroll-indicator span {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.4);
  font-weight: var(--fw-medium);
}

.hero__scroll-indicator svg,
.hero__scroll-indicator::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(245, 240, 235, 0.4);
  border-bottom: 2px solid rgba(245, 240, 235, 0.4);
  rotate: 45deg;
}


/* ==========================================================
   8. ABOUT SECTION
   ========================================================== */
.about {
  background-color: var(--clr-black);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}

/* Subtle industrial accent line */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--clr-charcoal-light) 20%,
    var(--clr-charcoal-light) 80%,
    transparent 100%
  );
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-5xl);
}

.about__image-wrap {
  position: relative;
}

.about__image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
}

/* Red accent border detail */
.about__image-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: 3px;
  background-color: var(--clr-red);
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 3px;
  height: calc(100% + 24px);
  background-color: var(--clr-red);
}

.about__text {
  max-width: 540px;
}

.about__text p {
  margin-bottom: var(--space-lg);
  line-height: var(--lh-relaxed);
}

.about__text p:last-of-type {
  margin-bottom: 0;
}

/* ── Timeline ── */
.about__timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  padding-top: var(--space-3xl);
}

.about__timeline::before {
  content: '';
  position: absolute;
  top: calc(var(--space-3xl) + 24px);
  left: 50%;
  translate: -50% 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--clr-steel) 15%,
    var(--clr-steel) 85%,
    transparent
  );
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-inline: var(--space-xl);
}

.timeline-step__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--clr-charcoal);
  border: 2px solid var(--clr-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.timeline-step__dot span {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-steel);
  transition: color var(--duration-base) var(--ease-out);
}

.timeline-step:hover .timeline-step__dot {
  border-color: var(--clr-red);
  box-shadow: var(--shadow-glow-red);
}

.timeline-step:hover .timeline-step__dot span {
  color: var(--clr-red);
}

.timeline-step__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-xs);
}

.timeline-step__desc {
  font-size: var(--fs-small);
  color: var(--clr-steel);
  line-height: var(--lh-normal);
  max-width: 260px;
  margin-inline: auto;
}


/* ==========================================================
   9. OFFERINGS SECTION — "What You'll Find"
   ========================================================== */
.offerings {
  background-color: var(--clr-charcoal);
  padding-block: var(--space-section);
  position: relative;
}

.offerings__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.offerings__header p {
  margin-inline: auto;
}

.offerings__header .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--clr-red);
  margin-inline: auto;
  margin-top: var(--space-md);
}

.offerings__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.offering-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition:
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-premium);
}

.offering-tile__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.offering-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
  will-change: transform;
}

.offering-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.1) 100%
  );
  transition: background var(--duration-base) var(--ease-out);
}

.offering-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: var(--space-xl);
}

.offering-tile__number {
  font-family: var(--ff-heading);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  color: var(--clr-red);
  letter-spacing: var(--ls-ultra);
  margin-bottom: var(--space-xs);
}

.offering-tile__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-xs);
  transition: color var(--duration-base) var(--ease-out);
}

.offering-tile__desc {
  font-size: var(--fs-small);
  color: var(--clr-steel-light);
  max-width: 400px;
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity var(--duration-base) var(--ease-out),
    translate var(--duration-base) var(--ease-out);
}

/* Tile Hover */
.offering-tile:hover {
  border-color: var(--clr-red);
  transform: scale(1.015);
}

.offering-tile:hover .offering-tile__image img {
  transform: scale(1.08);
}

.offering-tile:hover .offering-tile__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.25) 40%,
    rgba(10, 10, 10, 0.05) 100%
  );
}

.offering-tile:hover .offering-tile__desc {
  opacity: 1;
  translate: 0 0;
}

/* Staggered entrance delays (applied via nth-child) */
.offering-tile:nth-child(1) { --stagger-delay: 0s; }
.offering-tile:nth-child(2) { --stagger-delay: 0.1s; }
.offering-tile:nth-child(3) { --stagger-delay: 0.2s; }
.offering-tile:nth-child(4) { --stagger-delay: 0.3s; }
.offering-tile:nth-child(5) { --stagger-delay: 0.4s; }
.offering-tile:nth-child(6) { --stagger-delay: 0.5s; }
.offering-tile:nth-child(7) { --stagger-delay: 0.6s; }
.offering-tile:nth-child(8) { --stagger-delay: 0.7s; }


/* ==========================================================
   10. FUEL SECTION
   ========================================================== */
.fuel {
  background-color: var(--clr-charcoal-mid);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}

/* Subtle brushed-metal texture (CSS pattern) */
.fuel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.008) 1px,
      rgba(255, 255, 255, 0.008) 2px
    );
  pointer-events: none;
}

.fuel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.005) 3px,
      rgba(255, 255, 255, 0.005) 4px
    );
  pointer-events: none;
}

.fuel__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 2;
}

.fuel__header p {
  margin-inline: auto;
}

.fuel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

.fuel-card {
  background-color: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(138, 138, 138, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-premium);
}

.fuel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--clr-red);
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-premium);
  transform-origin: center;
}

.fuel-card:hover {
  border-color: rgba(138, 138, 138, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

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

.fuel-card__number {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: var(--fw-bold);
  color: rgba(138, 138, 138, 0.15);
  line-height: 1;
  margin-bottom: var(--space-md);
  letter-spacing: var(--ls-tight);
}

.fuel-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-sm);
}

.fuel-card__subtitle {
  font-size: var(--fs-small);
  color: var(--clr-steel);
  line-height: var(--lh-normal);
  max-width: 280px;
  margin-inline: auto;
}

.fuel-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--clr-steel);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  transition: border-color var(--duration-base) var(--ease-out);
}

.fuel-card:hover .fuel-card__icon {
  border-color: var(--clr-red);
}

.fuel-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--clr-steel-light);
  transition: fill var(--duration-base) var(--ease-out);
}

.fuel-card:hover .fuel-card__icon svg {
  fill: var(--clr-red);
}


/* ==========================================================
   11. DIAMOND J KITCHEN
   ========================================================== */
.kitchen {
  background: linear-gradient(
    135deg,
    var(--clr-black) 0%,
    rgba(26, 26, 26, 0.8) 50%,
    var(--clr-black) 100%
  );
  padding-block: var(--space-section);
  position: relative;
}

/* Subtle warm bg tint */
.kitchen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(200, 165, 90, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.kitchen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.kitchen__text {
  order: 1;
  max-width: 540px;
}

.kitchen__text p {
  margin-bottom: var(--space-xl);
  line-height: var(--lh-relaxed);
}

.kitchen__features {
  margin-top: var(--space-xl);
}

.kitchen__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-body);
  color: var(--clr-steel-light);
  line-height: var(--lh-normal);
}

/* Custom red bullet markers */
.kitchen__features li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: var(--clr-red);
  border-radius: 50%;
  margin-top: 0.55em;
}

.kitchen__image-wrap {
  order: 2;
  position: relative;
}

.kitchen__image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  display: block;
  position: relative;
  z-index: 2;
}

/* Layered shadow depth */
.kitchen__image-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  background-color: var(--clr-charcoal);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.kitchen__image-wrap::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 42, 42, 0.5);
  border-radius: var(--border-radius-lg);
  z-index: 0;
}


/* ==========================================================
   12. FEATURES SECTION — Horizontal Scroll
   ========================================================== */
.features {
  background-color: var(--clr-black);
  padding-block: var(--space-section);
  overflow: hidden;
}

.features__header {
  margin-bottom: var(--space-3xl);
}

.features__scroll-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-charcoal-light) transparent;
  padding-bottom: var(--space-xl);
  /* Ensure the first card starts at gutter */
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.features__scroll-track::-webkit-scrollbar {
  height: 4px;
}

.features__scroll-track::-webkit-scrollbar-track {
  background: transparent;
}

.features__scroll-track::-webkit-scrollbar-thumb {
  background-color: var(--clr-charcoal-light);
  border-radius: 2px;
}

.feature-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background-color: var(--clr-charcoal);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-premium);
  cursor: pointer;
}

.feature-card:hover {
  box-shadow:
    0 0 0 1px rgba(196, 30, 42, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(196, 30, 42, 0.06);
  transform: translateY(-4px);
}

.feature-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-premium);
}

.feature-card:hover .feature-card__image img {
  transform: scale(1.06);
}

.feature-card__body {
  padding: var(--space-xl);
}

.feature-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--fs-small);
  color: var(--clr-steel);
  line-height: var(--lh-normal);
}


/* ==========================================================
   13. CONSTRUCTION PROGRESS TIMELINE
   ========================================================== */
.construction {
  background-color: var(--clr-charcoal);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}

.construction__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.construction__header p {
  margin-inline: auto;
}

.construction__timeline {
  position: relative;
  max-width: var(--max-width-narrow);
  margin-inline: auto;
}

/* Center line */
.construction__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--clr-steel) 5%,
    var(--clr-steel) 95%,
    transparent 100%
  );
}

.milestone {
  position: relative;
  width: 50%;
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

/* Alternate left/right */
.milestone:nth-child(odd) {
  margin-left: 0;
  padding-right: var(--space-3xl);
  text-align: right;
}

.milestone:nth-child(even) {
  margin-left: 50%;
  padding-left: var(--space-3xl);
  text-align: left;
}

@media (min-width: 768px) {
  .milestone:nth-child(n+2) {
    margin-top: -15rem;
  }
}

/* Red dot on timeline */
.milestone__dot {
  position: absolute;
  top: var(--space-xl);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--clr-red);
  border: 3px solid var(--clr-charcoal);
  z-index: 3;
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.milestone:nth-child(odd) .milestone__dot {
  right: -8px;
}

.milestone:nth-child(even) .milestone__dot {
  left: -8px;
}

/* Completed milestones glow */
.milestone.completed .milestone__dot {
  box-shadow: 0 0 12px var(--clr-red-glow),
              0 0 24px rgba(196, 30, 42, 0.15);
  animation: timelineGlow 2s var(--ease-out) infinite alternate;
}

.milestone__date {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-ultra);
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: var(--space-xs);
}

.milestone__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-sm);
}

.milestone__desc {
  font-size: var(--fs-small);
  color: var(--clr-steel-light);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-md);
}

.milestone__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--clr-charcoal-mid);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(138, 138, 138, 0.15);
}

.milestone__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================
   14. LOCATION SECTION
   ========================================================== */
.location {
  background-color: var(--clr-black);
  position: relative;
}

.location__map {
  width: 100%;
  height: 500px;
  position: relative;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.1);
  transition: filter var(--duration-base) var(--ease-out);
}

.location__map:hover iframe {
  filter: grayscale(0.4) brightness(0.8) contrast(1.05);
}

/* Dark map overlay gradient at top */
.location__map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(
    to bottom,
    var(--clr-black),
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

.location__info {
  background-color: var(--clr-charcoal);
  padding: var(--space-3xl) var(--gutter);
}

.location__info-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.location__detail h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--clr-white-cream);
  margin-bottom: var(--space-sm);
}

.location__detail p {
  font-size: var(--fs-body);
  color: var(--clr-steel-light);
  line-height: var(--lh-relaxed);
}

.location__detail a {
  color: var(--clr-red);
  font-weight: var(--fw-medium);
}

.location__detail a:hover {
  color: var(--clr-white-cream);
}


/* ==========================================================
   15. FOOTER
   ========================================================== */
.footer {
  background-color: var(--clr-black);
  padding-block: var(--space-4xl) var(--space-2xl);
  text-align: center;
  position: relative;
}

/* Thin red line at top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 10%,
    var(--clr-red) 30%,
    var(--clr-red) 70%,
    transparent 90%
  );
}

.footer__logo {
  margin-bottom: var(--space-lg);
}

.footer__logo img {
  height: 112px;
  width: auto;
  margin-inline: auto;
  opacity: 0.9;
}

.footer__tagline {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  color: var(--clr-steel);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(138, 138, 138, 0.25);
  color: var(--clr-steel);
  transition:
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.footer__socials a:hover {
  color: var(--clr-white-cream);
  border-color: var(--clr-red);
  background-color: rgba(196, 30, 42, 0.1);
}

.footer__socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__legal {
  font-size: var(--fs-label);
  color: rgba(138, 138, 138, 0.5);
  letter-spacing: var(--ls-wide);
}

.footer__legal a {
  color: rgba(138, 138, 138, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal a:hover {
  color: var(--clr-steel-light);
}


/* ==========================================================
   16. ANIMATIONS & KEYFRAMES
   ========================================================== */

/* Hero entrance */
@keyframes heroTitleReveal {
  from {
    opacity: 0;
    translate: 0 30px;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    translate: 0 0;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Pulse arrow for scroll indicator */
@keyframes pulseArrow {
  0%, 100% {
    opacity: 0.4;
    translate: -50% 0;
  }
  50% {
    opacity: 0.8;
    translate: -50% 10px;
  }
}

/* Timeline dot glow */
@keyframes timelineGlow {
  from {
    box-shadow:
      0 0 8px var(--clr-red-glow),
      0 0 16px rgba(196, 30, 42, 0.1);
  }
  to {
    box-shadow:
      0 0 16px var(--clr-red-glow),
      0 0 32px rgba(196, 30, 42, 0.2);
  }
}

/* Reveal animations — base class */
.reveal {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    translate var(--duration-reveal) var(--ease-premium);
}

.reveal.visible {
  opacity: 1;
  translate: 0 0;
}

.reveal-left {
  opacity: 0;
  translate: -60px 0;
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    translate var(--duration-reveal) var(--ease-premium);
}

.reveal-left.visible {
  opacity: 1;
  translate: 0 0;
}

.reveal-right {
  opacity: 0;
  translate: 60px 0;
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    translate var(--duration-reveal) var(--ease-premium);
}

.reveal-right.visible {
  opacity: 1;
  translate: 0 0;
}

/* Staggered reveal for offering tiles */
.offering-tile.reveal {
  transition-delay: var(--stagger-delay, 0s);
}


/* ==========================================================
   17. SCROLL-DRIVEN ANIMATIONS (Modern Browsers)
   ========================================================== */

/*
  Using scroll-driven animations for entry/exit effects.
  Feature-detected with @supports so non-supporting browsers
  fall back to the JS IntersectionObserver .reveal pattern.
*/
@supports ((animation-timeline: view()) and (animation-range: entry)) {

  /* Override .reveal to use scroll-driven animation instead */
  .reveal-scroll {
    animation: scrollRevealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .reveal-scroll-left {
    animation: scrollRevealLeft linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .reveal-scroll-right {
    animation: scrollRevealRight linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  @keyframes scrollRevealUp {
    from {
      opacity: 0;
      translate: 0 40px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  @keyframes scrollRevealLeft {
    from {
      opacity: 0;
      translate: -60px 0;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  @keyframes scrollRevealRight {
    from {
      opacity: 0;
      translate: 60px 0;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}


/* ==========================================================
   18. RESPONSIVE — TABLET (768px – 1199px)
   ========================================================== */
@media (max-width: 1199px) {

  :root {
    --nav-height: 96px;
  }

  .about__grid {
    gap: var(--space-2xl);
  }

  .offerings__grid {
    gap: var(--space-md);
  }

  .fuel__grid {
    gap: var(--space-md);
  }

  .kitchen__grid {
    gap: var(--space-2xl);
  }

  .feature-card {
    flex: 0 0 300px;
  }

  .location__info-inner {
    gap: var(--space-lg);
  }

  /* Construction timeline adjustments */
  .milestone {
    padding: var(--space-lg);
  }

  .milestone:nth-child(odd) {
    padding-right: var(--space-2xl);
  }

  .milestone:nth-child(even) {
    padding-left: var(--space-2xl);
  }
}


/* ==========================================================
   19. RESPONSIVE — MOBILE (< 768px)
   ========================================================== */
@media (max-width: 767px) {

  :root {
    --nav-height: 80px;
    --space-section: clamp(3.5rem, 8vh, 5rem);
  }

  /* ── Navigation ── */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    display: flex;
  }

  .nav__logo-text {
    font-size: 1.05rem;
  }

  .nav__logo img {
    height: 40px;
  }

  /* ── Hero ── */
  .hero {
    min-height: 100dvh;
  }

  .hero__title {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__scroll-indicator {
    bottom: 1.5rem;
  }

  /* ── About ── */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__image-wrap {
    max-width: 480px;
    margin-inline: auto;
  }

  .about__timeline {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
  }

  .about__timeline::before {
    width: 2px;
    height: 60%;
    left: 50%;
    top: calc(var(--space-3xl) + 24px);
  }

  .timeline-step {
    padding-inline: 0;
  }

  /* ── Offerings ── */
  .offerings__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .offering-tile {
    aspect-ratio: 16 / 9;
  }

  .offering-tile__desc {
    opacity: 1;
    translate: 0 0;
  }

  /* ── Fuel ── */
  .fuel__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* ── Kitchen ── */
  .kitchen__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .kitchen__text {
    order: 2;
  }

  .kitchen__image-wrap {
    order: 1;
    max-width: 480px;
    margin-inline: auto;
  }

  .kitchen__image-wrap::before {
    top: 10px;
    left: 10px;
  }

  .kitchen__image-wrap::after {
    top: 20px;
    left: 20px;
  }

  /* ── Features ── */
  .feature-card {
    flex: 0 0 280px;
  }

  /* ── Construction Timeline — stack single column ── */
  .construction__timeline::before {
    left: 20px;
    translate: 0 0;
  }

  .milestone {
    width: 100%;
    padding-left: calc(20px + var(--space-2xl));
    padding-right: 0;
    text-align: left;
  }

  .milestone:nth-child(odd) {
    margin-left: 0;
    padding-right: 0;
    padding-left: calc(20px + var(--space-2xl));
    text-align: left;
  }

  .milestone:nth-child(even) {
    margin-left: 0;
    padding-left: calc(20px + var(--space-2xl));
  }

  .milestone__dot,
  .milestone:nth-child(odd) .milestone__dot,
  .milestone:nth-child(even) .milestone__dot {
    left: 12px;
    right: auto;
  }

  /* ── Location ── */
  .location__map {
    height: 350px;
  }

  .location__info-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* ── Footer ── */
  .footer {
    padding-block: var(--space-3xl) var(--space-xl);
  }

  .footer__logo img {
    height: 44px;
  }
}

/* Extra-small screens */
@media (max-width: 400px) {

  .hero__title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
  }

  .feature-card {
    flex: 0 0 260px;
  }

  .fuel-card {
    padding: var(--space-xl) var(--space-md);
  }
}


/* ==========================================================
   20. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .hero__tagline,
  .hero__title,
  .hero__subtitle,
  .hero__buttons {
    animation: none;
    opacity: 1;
  }

  .hero__scroll-indicator {
    animation: none;
    opacity: 0.4;
  }

  .offering-tile__image img {
    transition: none;
  }

  .milestone.completed .milestone__dot {
    animation: none;
  }
}


/* ==========================================================
   21. PERFORMANCE & POLISH
   ========================================================== */

/* Image lazy-load fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* Drag cursor for horizontal scroll */
.features__scroll-track.dragging {
  cursor: grabbing;
  user-select: none;
}

.features__scroll-track {
  cursor: grab;
}

/* Features header needs padding to match container */
.features__header {
  padding-inline: var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
}

/* content-visibility: auto on heavy sections for rendering performance */
.offerings,
.fuel,
.kitchen,
.features,
.construction,
.location {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Force GPU layer for animated elements */
.offering-tile__image img,
.feature-card__image img,
.hero__bg img {
  will-change: transform;
}

/* oklch gradients for richer color transitions where supported */
@supports (color: oklch(0 0 0)) {
  .hero__overlay {
    background:
      linear-gradient(
        to bottom in oklch,
        oklch(0.1 0 0 / 0.4) 0%,
        oklch(0.1 0 0 / 0.2) 40%,
        oklch(0.1 0 0 / 0.6) 75%,
        oklch(0.1 0 0 / 0.95) 100%
      );
  }

  .btn-primary {
    background: oklch(0.5 0.2 25);
  }

  .btn-primary:hover {
    background: oklch(0.42 0.19 25);
  }

  .offering-tile__overlay {
    background: linear-gradient(
      to top in oklch,
      oklch(0.1 0 0 / 0.9) 0%,
      oklch(0.1 0 0 / 0.4) 40%,
      oklch(0.1 0 0 / 0.1) 100%
    );
  }
}

/* High-res display optimizations */
@media (min-resolution: 2dppx) {
  .about__image-wrap::before,
  .about__image-wrap::after {
    /* Sharper accent lines on retina */
    background-color: var(--clr-red);
  }
}

/* Print styles — minimal */
@media print {
  .nav,
  .hero__scroll-indicator,
  .footer__socials,
  .nav__hamburger,
  .nav__mobile-menu {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section-title,
  h1, h2, h3, h4 {
    color: #000;
  }
}

/* ==========================================================
   THE STORE SECTION
   ========================================================== */
.store {
  background-color: var(--clr-charcoal);
}

.store__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.store__list {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.store__item {
  background-color: var(--clr-black);
  padding: var(--space-2xl);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--clr-red);
  transition: transform var(--duration-base) var(--ease-out);
}

.store__item:hover {
  transform: translateX(10px);
}

.store__item-title {
  color: var(--clr-white-cream);
  font-size: var(--fs-h4);
  font-family: var(--ff-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.store__item-desc {
  color: var(--clr-steel-light);
  line-height: var(--lh-relaxed);
}
