/* Homepage hero with real trailer photo + foodtruck landing */

/* —— Full-bleed photo hero (start page) —— */
.hero--photo {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1816;
  isolation: isolate;
}

.hero--photo .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--photo .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 42%;
  display: block;
  transform: scale(1.04);
  animation: hero-ken 22s ease-out both;
}

@keyframes hero-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--photo .hero-media img {
    animation: none;
    transform: scale(1.02);
  }
}

/* Light wash – photo stays bright; readability via soft text plate */
.hero-wash--photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 12, 11, 0.48) 0%, rgba(14, 12, 11, 0.08) 18%, transparent 38%),
    linear-gradient(180deg, transparent 48%, rgba(14, 12, 11, 0.35) 72%, rgba(14, 12, 11, 0.78) 100%);
  pointer-events: none;
}

.hero--photo .hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(640px, 88vw);
  height: min(340px, 48vh);
  background: radial-gradient(ellipse at center, rgba(14, 12, 11, 0.36) 0%, rgba(14, 12, 11, 0.12) 58%, transparent 76%);
  z-index: -1;
  pointer-events: none;
}

.hero--photo .hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 1.5rem;
}

.hero--photo .hero-actions .button {
  min-height: 50px;
  padding: 0 22px;
  font-size: 0.9rem;
}

.hero--photo .hero-brand {
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero--photo .hero-line {
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  color: #f7f1ea;
  max-width: 34rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero--photo .hero-actions {
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero--photo .hero-brand img {
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

.hero--photo .button--ghost {
  background: rgba(20, 18, 16, 0.35);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero--photo .button--ghost:hover {
  background: rgba(20, 18, 16, 0.55);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Hero content always visible (no stuck opacity:0 from .reveal) */
.hero--photo .hero-brand,
.hero--photo .hero-line,
.hero--photo .hero-actions {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--photo .hero-brand,
  .hero--photo .hero-line,
  .hero--photo .hero-actions {
    animation: none;
  }
}

/* Contact: subtle atmosphere, keep form fully usable */
.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(239, 52, 42, 0.07), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(226, 173, 40, 0.06), transparent 55%);
  pointer-events: none;
}

.contact .shell {
  position: relative;
  z-index: 1;
}

.contact-form {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.contact-form:focus-within {
  box-shadow: 0 28px 56px rgba(45, 38, 32, 0.14);
}

/* —— Photo strip (homepage, no CTA clutter) —— */
.home-photos {
  padding: 0;
  background: var(--bg-deep, #151412);
}

.home-photos__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0;
  min-height: min(42vh, 380px);
}

.home-photos__grid a,
.home-photos__grid figure {
  margin: 0;
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.home-photos__grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-photos__grid a:hover img,
.home-photos__grid a:focus-visible img {
  transform: scale(1.04);
}

.home-photos__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(14, 13, 12, 0.82));
  color: #f5f0e9;
  font-family: "IBM Plex Sans", "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .home-photos__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .home-photos__grid a:first-child {
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .home-photos__grid {
    grid-template-columns: 1fr;
  }

  .home-photos__grid a:first-child {
    grid-column: auto;
  }
}

/* Mobile nav for page-header handled in premium-subpages (hamburger) */

/* —— Foodtruck landing —— */
.trailer-band {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-deep, #151412);
}

.trailer-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trailer-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.trailer-band__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(21, 20, 18, 0.2) 0%, rgba(21, 20, 18, 0.45) 40%, rgba(21, 20, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(21, 20, 18, 0.5) 0%, rgba(21, 20, 18, 0.15) 60%, transparent 100%);
  pointer-events: none;
}

.trailer-band__inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 2.75rem;
  max-width: 40rem;
}

.trailer-band__brand {
  margin: 0 0 0.85rem;
  line-height: 0;
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trailer-band__brand img {
  width: min(360px, 72vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

.trailer-band__line {
  color: #f7f1ea;
  margin: 0 0 1.35rem;
  font-family: "IBM Plex Sans", "DM Sans", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 32rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.trailer-band__inner h2 {
  color: var(--text, #f5f0e9);
  margin: 0.35rem 0 0.75rem;
  font-family: "IBM Plex Sans", "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.trailer-band__inner p:not(.trailer-band__line) {
  color: var(--stone-light, #ded5ca);
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}

.trailer-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@media (prefers-reduced-motion: reduce) {
  .trailer-band__brand,
  .trailer-band__line,
  .trailer-band__actions {
    animation: none;
  }
}

.ft-section {
  padding: 4rem 0;
}

.ft-section--soft {
  background: var(--bg-soft, #22201d);
}

.ft-lead {
  max-width: 38rem;
  color: var(--muted, #b5ada3);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0.75rem 0 0;
}

.ft-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .ft-points {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.ft-points li {
  margin: 0;
}

.ft-points strong {
  display: block;
  color: var(--text, #f5f0e9);
  font-family: "IBM Plex Sans", "DM Sans", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.ft-points span {
  color: var(--muted, #b5ada3);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ft-gallery {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .ft-gallery {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem;
  }

  .ft-gallery figure:first-child {
    grid-row: 1 / span 2;
  }
}

.ft-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.ft-gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.ft-gallery figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ft-cta-strip {
  padding: 3.5rem 0;
  text-align: left;
}

.ft-cta-strip h2 {
  margin: 0.35rem 0 0.75rem;
  color: var(--text, #f5f0e9);
  font-family: "IBM Plex Sans", "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.ft-cta-strip p {
  color: var(--muted, #b5ada3);
  max-width: 34rem;
  margin: 0 0 1.35rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .hero--photo {
    min-height: 92svh;
  }

  .trailer-band {
    min-height: 70vh;
  }

  .trailer-band__inner {
    padding: 2.5rem 0 2rem;
  }

  .ft-gallery img {
    min-height: 180px;
  }
}
