.home-page {
  --home-blue: #dff3f8;
  --home-blue-soft: #eef9fb;
  --home-ivory: #fffaf2;
  --home-gold: #d9a300;
  --home-gold-bright: #ebb817;
  --home-brown: #2e211b;
  --home-brown-soft: #66574d;
  color: var(--home-brown);
  background: var(--home-ivory);
}

.home-page .shell {
  width: min(1348px, calc(100% - 64px));
}

.home-page .site-header {
  background: rgba(255, 252, 247, 0.97);
}

.home-page .site-header__inner {
  min-height: 108px;
  gap: 24px;
}

.home-page .brand {
  gap: 14px;
}

.home-page .brand__mark {
  width: 58px;
  height: 68px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .brand__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-page .brand__copy strong {
  font-family: var(--serif);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.home-page .brand__copy small {
  margin-top: 6px;
  color: #765000;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.home-page .desktop-nav {
  gap: clamp(18px, 1.8vw, 30px);
}

.home-page .desktop-nav a {
  font-size: 14px;
  font-weight: 800;
}

.home-page .site-header__pickup {
  min-height: 54px;
  min-width: 112px;
  border-radius: 14px;
  font-size: 13px;
}

.home-hero {
  position: relative;
  min-height: 590px;
  padding: 0;
  overflow: hidden;
  background: #d8ecf4;
  isolation: isolate;
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -7%;
  bottom: -88px;
  left: -7%;
  height: 138px;
  border-top: 1px solid rgba(217, 163, 0, 0.58);
  border-radius: 50% 50% 0 0 / 72% 72% 0 0;
  background: var(--home-ivory);
  transform: rotate(-1.15deg);
  transform-origin: center;
}

.home-hero__layout {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.home-hero__copy {
  position: relative;
  z-index: 4;
  width: min(500px, 43%);
  padding-block: 58px 112px;
}

@media (min-width: 721px) {
  .home-hero__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 20px -22px 74px -28px;
    border-radius: 28px;
    background: rgba(216, 236, 244, 0.58);
    box-shadow: 0 0 48px 44px rgba(216, 236, 244, 0.58);
    pointer-events: none;
  }
}

.home-hero__eyebrow {
  margin-bottom: 22px;
  color: #a87300;
  font-size: 12px;
  letter-spacing: 0.21em;
}

.home-hero__eyebrow img {
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-hero h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #211813;
  font-family: var(--serif);
  font-size: clamp(58px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.home-hero h1::after {
  content: "";
  width: 92px;
  height: 5px;
  margin-top: 14px;
  display: block;
  border-radius: 999px;
  background: var(--home-gold);
  transform: rotate(-5deg);
}

.home-hero__lead {
  max-width: 39ch;
  margin: 22px 0 0;
  color: #342a24;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.45;
}

.home-hero__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px 18px;
  flex-wrap: wrap;
}

.home-hero__pickup {
  min-height: 54px;
  padding-inline: 22px;
  border-radius: 14px;
  font-size: 13px;
}

.home-hero__menu-link,
.home-origin__menu-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2a211c;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.home-hero__media {
  position: absolute;
  z-index: 0;
  top: -28px;
  right: calc((100vw - 100%) / -2);
  bottom: -32px;
  left: calc((100vw - 100%) / -2);
  width: auto;
  height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  transform: translate3d(0, var(--hero-shift), 0);
}

.home-hero__media::before {
  display: none;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 49%;
  filter: saturate(1.03) contrast(1.015);
}

.home-origin {
  position: relative;
  padding: 28px 0 80px;
  overflow: hidden;
  background: var(--home-ivory);
}

.home-origin::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 88px;
  width: 180px;
  height: 320px;
  opacity: 0.16;
  background: url("/assets/images/home-olive-branch.webp") center / contain no-repeat;
  pointer-events: none;
  transform: rotate(-10deg);
}

.home-origin__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 5vw, 76px);
}

.home-origin__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 33, 27, 0.09);
  border-radius: 26px;
  background: #e8f4f6;
  box-shadow: 0 22px 48px rgba(53, 40, 30, 0.12);
  aspect-ratio: 16 / 9;
}

.home-origin__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.home-origin__content {
  position: relative;
  z-index: 2;
}

.home-origin__content .eyebrow {
  color: #51443c;
}

.home-origin__content h2 {
  max-width: 13ch;
  margin: 12px 0 14px;
  color: #211813;
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-origin__lead {
  max-width: 50ch;
  margin: 0;
  color: #4b3f37;
  font-size: 15px;
  line-height: 1.55;
}

.home-origin__menu {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.home-origin__menu li {
  min-width: 0;
  padding: 0 12px;
  display: grid;
  grid-template-rows: 58px auto;
  place-items: center;
  gap: 7px;
  text-align: center;
}

.home-origin__menu li:first-child {
  padding-left: 0;
}

.home-origin__menu li:last-child {
  padding-right: 0;
}

.home-origin__menu li + li {
  border-left: 1px solid rgba(46, 33, 27, 0.17);
}

.home-origin__menu img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.home-origin__menu span {
  color: #2d241f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.home-origin__menu-link {
  margin-top: 24px;
}

.home-page .favourite-card--falafel {
  background-image:
    linear-gradient(180deg, rgba(22, 16, 12, 0.04), rgba(22, 16, 12, 0.75)),
    url("/assets/images/menu-falafel-pieces.webp");
}

@media (hover: hover) and (pointer: fine) {
  .home-origin__media:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 1040px) {
  .home-page .shell {
    width: min(100% - 40px, 1348px);
  }

  .home-page .brand__copy strong {
    font-size: 25px;
  }

  .home-page .brand__copy small {
    display: none;
  }

  .home-page .site-header__pickup {
    min-width: 0;
  }

  .home-hero {
    min-height: 540px;
  }

  .home-hero__layout {
    min-height: 540px;
  }

  .home-hero h1 {
    font-size: clamp(50px, 5.7vw, 61px);
  }

  .home-hero__copy {
    width: min(450px, 46%);
    padding-block: 44px 100px;
  }

  .home-origin__layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 38px;
  }

  .home-origin__menu li {
    padding-inline: 8px;
  }
}

@media (max-width: 820px) {
  .home-page .site-header__inner {
    min-height: 82px;
    gap: 14px;
  }

  .home-page .brand__mark {
    width: 44px;
    height: 54px;
  }

  .home-page .brand__copy strong {
    font-size: 21px;
  }

  .home-page .desktop-nav {
    gap: 13px;
  }

  .home-page .desktop-nav a {
    font-size: 12px;
  }

  .home-page .site-header__pickup {
    padding-inline: 14px;
    font-size: 11px;
  }

  .home-hero__layout {
    min-height: 520px;
  }

  .home-hero__copy {
    width: min(400px, 47%);
  }

  .home-hero__actions {
    gap: 12px;
  }

  .home-origin {
    padding-bottom: 64px;
  }

  .home-origin__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-origin__content h2,
  .home-origin__lead {
    max-width: none;
  }

  .home-origin__menu {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .home-page .shell {
    width: min(100% - 30px, 1348px);
  }

  .home-page .site-header__inner {
    min-height: 68px;
    padding-block: 7px;
    flex-wrap: nowrap;
  }

  .home-page .brand {
    gap: 9px;
  }

  .home-page .brand__mark {
    width: 38px;
    height: 48px;
  }

  .home-page .brand__copy strong {
    font-size: 18px;
  }

  .home-page .site-header__inner > .site-header__pickup {
    display: none;
  }

  .home-page .mobile-nav-toggle {
    margin-left: 0;
  }

  .home-hero {
    min-height: 0;
    padding: 36px 0 0;
    border-bottom: 2px solid rgba(218, 166, 28, 0.5);
    background: #d0e2ec;
  }

  .home-hero::after {
    bottom: -80px;
    height: 130px;
  }

  .home-hero__layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero__copy {
    width: auto;
    padding: 0;
    text-align: center;
  }

  .home-hero__eyebrow {
    margin-bottom: 17px;
  }

  .home-hero h1 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(47px, 9.2vw, 64px);
  }

  .home-hero h1::after {
    margin-inline: auto;
  }

  .home-hero__lead {
    max-width: 34ch;
    margin-inline: auto;
    font-size: 16px;
  }

  .home-hero__actions {
    display: none;
  }

  .home-hero__pickup {
    display: none;
  }

  .home-hero__media {
    position: relative;
    inset: auto;
    width: calc(100% + 30px);
    height: clamp(310px, 79vw, 430px);
    margin: -28px -15px 0;
    border-radius: 30px 30px 0 0;
    background: #d0e2ec;
  }

  .home-hero__media::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: clamp(88px, 22vw, 116px);
    display: block;
    border-radius: 0;
    background: linear-gradient(
      180deg,
      #d0e2ec 0%,
      rgba(208, 226, 236, 0.92) 18%,
      rgba(208, 226, 236, 0.62) 46%,
      rgba(208, 226, 236, 0.26) 72%,
      rgba(208, 226, 236, 0) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    transform: none;
  }

  .home-hero__media img {
    object-position: 60% 50%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-origin {
    padding: 24px 0 58px;
  }

  .home-origin__media {
    border-radius: 20px;
    aspect-ratio: 16 / 9;
  }

  .home-origin__content h2 {
    margin-inline: auto;
    font-size: clamp(40px, 11vw, 52px);
  }

  .home-origin__content {
    text-align: center;
  }

  .home-origin__content .eyebrow {
    display: none;
  }

  .home-origin__lead {
    margin-inline: auto;
  }

  .home-origin__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .home-origin__menu li:nth-child(3) {
    border-left: 0;
  }

  .home-origin__menu span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .home-hero h1 {
    font-size: clamp(40px, 11.4vw, 50px);
  }

  .home-hero__pickup {
    padding-inline: 12px;
    font-size: 11px;
  }

  .home-origin__media {
    aspect-ratio: 16 / 9;
  }

  .home-origin__menu li {
    grid-template-rows: 54px auto;
    padding-inline: 7px;
  }

  .home-origin__menu img {
    width: 54px;
    height: 54px;
  }

  .home-origin__menu span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-origin__media img {
    transition: none;
  }

  .home-origin__media:hover img {
    transform: none;
  }
}

@media (forced-colors: active) {
  .home-hero,
  .home-origin {
    border-block: 1px solid CanvasText;
  }

  .home-hero__media,
  .home-origin__media,
  .home-origin__menu li + li {
    border: 1px solid CanvasText;
  }
}
