@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}

/* Homepage identity: warm near-black canvas, Papasana yellow reserved for
   brand and actions, food photography carrying the depth. */
.home-page {
  --home-yellow: #e8e000;
  --home-yellow-lift: #f3ec4f;
  /* Button fills sit a step below the brand yellow so the accents (logo,
     eyebrow, headline, icons) stay the brightest yellow on the page. */
  --home-btn: #cdc63b;
  --home-btn-hover: #dbd455;
  --home-ink: #241c10;
  --home-night: #17110a;
  --home-night-deep: #120d06;
  --home-white: #fffefa;
  --home-muted: #68635c;
  --home-line: #e5e2d8;
  --home-line-dark: rgba(255, 253, 245, .13);
  --home-on-dark: rgba(255, 252, 242, .74);
  --home-shell: min(1328px, calc(100% - 80px));
  --home-gutter: max(40px, calc((100% - 1328px) / 2));
  --home-header-h: 92px;
  --home-type: "DM Sans", Arial, sans-serif;
  background: var(--home-white);
}

.home-header, .home-hero, .home-assurances, .home-skip {
  font-family: var(--home-type);
}

.home-skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 150;
  padding: 12px 20px;
  border-radius: 6px;
  color: var(--home-ink);
  background: var(--home-yellow);
  font-weight: 600;
}
.home-skip:focus { top: 12px; }
.home-header a:focus-visible,
.home-header button:focus-visible,
.home-hero a:focus-visible,
.home-assurances a:focus-visible {
  outline: 2px solid var(--home-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}
.home-page #main-content { scroll-margin-top: var(--home-header-h); }
.home-page #main-content:focus { outline: none; }

/* ---------- Header: overlays the hero, solidifies on scroll ---------- */
.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background .32s ease, border-color .32s ease, backdrop-filter .32s ease;
}
.home-header[data-stuck] {
  background: rgba(18, 13, 6, .88);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--home-line-dark);
}
/* Open menu: stay fully opaque. Nesting backdrop-filter on the header and the
   dropdown makes the panel composite semi-transparent and the hero bleeds through. */
.home-header[data-menu-open],
.home-header[data-menu-open][data-stuck] {
  background: #14100a;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
/* No JS means no scroll state, so never leave the header floating transparent
   over the cream sections: fall back to a solid bar that takes up layout space. */
.home-header:not([data-menu-ready]) {
  position: sticky;
  background: #14100a;
  border-bottom-color: var(--home-line-dark);
}
.home-nav {
  width: var(--home-shell);
  min-height: var(--home-header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.home-brand { display: block; flex: 0 0 auto; }
.home-brand img { width: 152px; height: auto; }
.home-nav-links { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 34px); margin-left: auto; }
.home-nav-links a {
  position: relative;
  padding: 10px 0;
  color: var(--home-on-dark);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}
.home-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--home-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.4, 0, .2, 1);
}
.home-nav-links a:hover { color: var(--home-white); }
.home-nav-links a:hover::after { transform: scaleX(1); }
.home-nav-links .home-nav-contact { display: none; }
.home-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--home-ink);
  background: var(--home-btn);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-header-cta:hover {
  background: var(--home-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(205, 198, 59, .16);
}
.home-header-cta svg { flex: 0 0 18px; width: 18px; height: 18px; }
.home-menu-toggle { display: none; order: 3; }

/* ---------- Hero: full-bleed photography with a graded scrim ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: min(94vh, 880px);
  background: var(--home-night);
  color: var(--home-white);
  overflow: hidden;
}
.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.home-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(101deg, rgba(14, 10, 5, .96) 0%, rgba(14, 10, 5, .9) 30%, rgba(14, 10, 5, .52) 56%, rgba(14, 10, 5, .2) 100%),
    linear-gradient(to top, rgba(12, 8, 4, .8), rgba(12, 8, 4, 0) 42%);
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  width: var(--home-shell);
  margin: 0 auto;
  min-height: min(94vh, 880px);
  padding: calc(var(--home-header-h) + 74px) 0 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.home-product-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--home-yellow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.4;
}
.home-product-line::before {
  content: "";
  flex: 0 0 36px;
  height: 1.5px;
  background: var(--home-yellow);
}
.home-hero h1 {
  margin: 0 0 28px;
  max-width: 13ch;
  color: var(--home-white);
  font-family: var(--home-type);
  font-size: clamp(50px, 5.7vw, 88px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  text-wrap: balance;
}
.home-hero h1 span { display: block; color: var(--home-yellow); }
.home-hero-description {
  max-width: 472px;
  margin: 0 0 38px;
  color: var(--home-on-dark);
  font-size: 17.5px;
  line-height: 1.62;
}
.home-hero-actions { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; }
.home-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  color: var(--home-ink);
  background: var(--home-btn);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(205, 198, 59, .1);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-primary-action:hover {
  background: var(--home-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(205, 198, 59, .18);
}
.home-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(255, 253, 245, .3);
  border-radius: 999px;
  color: var(--home-white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.home-secondary-action:hover { border-color: rgba(255, 253, 245, .65); background: rgba(255, 253, 245, .07); }
.home-origin {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 38px 0 0;
  padding: 0;
  color: rgba(255, 252, 242, .55);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.home-origin svg { width: 16px; height: 16px; flex-shrink: 0; }
.home-hero-actions svg { flex: 0 0 19px; width: 19px; height: 19px; }

.home-photo-caption {
  position: absolute;
  z-index: 3;
  bottom: 54px;
  right: var(--home-gutter);
  width: min(348px, 38vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 253, 245, .18);
  border-radius: 16px;
  color: var(--home-white);
  background: rgba(20, 14, 7, .5);
  backdrop-filter: blur(12px);
}
.home-photo-caption span { display: block; margin-bottom: 5px; color: rgba(255, 252, 242, .62); font-size: 11.5px; letter-spacing: .04em; }
.home-photo-caption strong { font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.home-photo-caption a {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 245, .32);
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.home-photo-caption a:hover { background: var(--home-btn); border-color: var(--home-btn); color: var(--home-ink); }
.home-photo-caption svg { width: 19px; height: 19px; }

/* ---------- Assurance rail: continues the dark block under the hero ---------- */
.home-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: 0;
  padding: 34px var(--home-gutter);
  color: var(--home-white);
  background: var(--home-night-deep);
  border-top: 1px solid var(--home-line-dark);
}
.home-assurance { display: flex; align-items: center; gap: 16px; padding: 4px 34px 4px 0; }
.home-assurance + .home-assurance { border-left: 1px solid var(--home-line-dark); padding-left: 34px; }
.home-assurance svg { width: 30px; height: 30px; flex: 0 0 30px; color: var(--home-yellow); }
.home-assurance strong, .home-assurance span { display: block; }
.home-assurance strong { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.home-assurance span { font-size: 12.5px; color: rgba(255, 252, 242, .58); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .home-header, .home-nav-links a, .home-nav-links a::after,
  .home-header-cta, .home-primary-action, .home-secondary-action,
  .home-photo-caption a { transition: none; }
  .home-header-cta:hover, .home-primary-action:hover { transform: none; }
}

@media (max-width: 1180px) {
  .home-page { --home-shell: calc(100% - 48px); --home-gutter: 24px; --home-header-h: 84px; }
  .home-nav { gap: 24px; }
  .home-brand img { width: 148px; }
  .home-header-cta { margin-left: auto; }
  .home-header[data-menu-ready] .home-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 12px 8px;
    color: var(--home-white);
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }
  .home-header[data-menu-ready] .home-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 24px 24px;
    max-height: calc(100dvh - var(--home-header-h));
    overflow-y: auto;
    background: #14100a;
    border-bottom: 1px solid var(--home-line-dark);
    box-shadow: 0 26px 40px rgba(6, 4, 2, .42);
  }
  .home-header[data-menu-open] .home-nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .home-nav-links a { padding: 15px 0; border-bottom: 1px solid var(--home-line-dark); font-size: 16px; }
  .home-nav-links a::after { display: none; }
  .home-nav-links .home-nav-contact { display: block; }
  .home-header:not([data-menu-ready]) .home-nav { flex-wrap: wrap; padding-bottom: 16px; }
  .home-header:not([data-menu-ready]) .home-nav-links { order: 3; width: 100%; flex-wrap: wrap; margin: 0; }
  .home-hero-copy { padding-top: calc(var(--home-header-h) + 58px); padding-bottom: 104px; }
  .home-hero-description { font-size: 16.5px; }
  .home-photo-caption { width: min(320px, 46vw); }
  .home-assurance { padding-right: 20px; }
  .home-assurance + .home-assurance { padding-left: 20px; }
}

@media (max-width: 860px) {
  .home-assurances { grid-template-columns: 1fr; padding-block: 8px; }
  .home-assurance { justify-content: flex-start; gap: 18px; padding: 20px 0; }
  .home-assurance + .home-assurance { border-left: 0; border-top: 1px solid var(--home-line-dark); padding-left: 0; }
}

@media (max-width: 760px) {
  .home-page { --home-shell: calc(100% - 40px); --home-gutter: 20px; --home-header-h: 74px; }
  .home-nav { gap: 14px; }
  .home-brand img { width: 132px; }
  .home-header-cta { display: none; }
  .home-header[data-menu-ready] .home-menu-toggle { margin-left: auto; }
  .home-header[data-menu-ready] .home-nav-links { padding: 6px 20px 22px; }
  .home-header[data-menu-open] .home-nav-links { grid-template-columns: 1fr; }
  .home-nav-links a { padding: 13px 0; }
  .home-hero { min-height: 0; }
  .home-hero-photo { object-position: 58% 62%; }
  .home-hero-media::after {
    background:
      linear-gradient(to bottom, rgba(14, 10, 5, .9) 0%, rgba(14, 10, 5, .8) 44%, rgba(14, 10, 5, .64) 74%, rgba(12, 8, 4, .88) 100%);
  }
  .home-hero-copy {
    min-height: 0;
    padding: calc(var(--home-header-h) + 46px) 0 132px;
    justify-content: flex-start;
  }
  .home-product-line { margin-bottom: 22px; font-size: 11px; letter-spacing: .13em; }
  .home-product-line::before { flex-basis: 26px; }
  .home-hero h1 { max-width: none; font-size: clamp(40px, 10.4vw, 62px); margin-bottom: 20px; letter-spacing: -.04em; }
  .home-hero-description { max-width: 460px; font-size: 15.5px; margin-bottom: 30px; }
  .home-hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; gap: 12px; }
  .home-primary-action, .home-secondary-action { height: 54px; font-size: 14.5px; }
  .home-origin { margin-top: 30px; font-size: 11.5px; }
  .home-photo-caption {
    inset: auto 0 0;
    width: auto;
    padding: 16px 20px;
    border: 0;
    border-top: 1px solid var(--home-line-dark);
    border-radius: 0;
    background: rgba(18, 12, 6, .72);
  }
  .home-photo-caption strong { font-size: 14px; }
  .home-photo-caption span { font-size: 11px; }
  .home-photo-caption a { flex-basis: 38px; width: 38px; height: 38px; }
}
