@font-face {
  font-family: Moche;
  src: url("assets/moche.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: Collier;
  src: url("assets/collier.woff2");
  font-display: swap;
}

:root {
  --cream: #efe5d5;
  --ink: #332a20;
  --green: #50614d;
  --brown: #572615;
  --brand-depth: 300px;
  --display: Moche, sans-serif;
  --body: Collier, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); background: var(--cream); }
body { margin: 0; font: 17.6px/1.3 var(--body); }
main { overflow: clip; }
h1, h2, h3, p, ul, blockquote { margin: 0; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
button { border: 0; font: inherit; color: inherit; cursor: pointer; }
section[id], .gallery { scroll-margin-top: 24px; }

.hero { height: 1150px; position: relative; isolation: isolate; color: var(--cream); }
.hero-media { position: relative; height: 100%; min-width: 1280px; max-width: 1280px; margin-inline: auto; pointer-events: none; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0008 25%, transparent 66%), linear-gradient(#0008, transparent 19%), linear-gradient(#0001, #0001); }
.hero-close { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; left: max(1229px, calc(50% + 589px)); top: 0; }
.hero-close img { width: 17px; height: 17px; }
.hero h1 { position: absolute; top: 390px; left: 50%; transform: translate(-50%, -50%); width: min(650px, 94%); text-align: center; font: 73.6px/.9 var(--display); }
.hero-copy { position: absolute; top: 700px; left: 20%; right: 0; display: grid; grid-template-columns: minmax(0, 1fr) 10.5% minmax(0, 1.27fr); align-items: start; column-gap: 10px; }
.hero-copy h2 { margin-top: 80px; font-size: 25.6px; line-height: 1.2; }
.hero-arrow { width: 44px; height: 258px; place-self: start center; position: relative; }
.hero-arrow::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: currentColor; }
.hero-arrow::after { content: ""; position: absolute; width: 6px; height: 6px; bottom: 0; left: calc(50% - 2.5px); border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }

.masthead { position: fixed; inset: auto 0 0; z-index: 2; height: var(--brand-depth); padding-top: 20px; background: var(--cream); text-align: center; }
.masthead nav { display: flex; justify-content: space-between; padding-right: 22px; }
.masthead nav a { display: grid; place-items: center; height: 33px; font: 14.4px/.9 var(--display); letter-spacing: .23em; text-transform: uppercase; }
.wordmark { display: inline-block; position: relative; left: -2.5%; font: 25.6px/30.72px var(--display); }
.wordmark img { position: absolute; width: 45px; height: 39px; object-fit: contain; right: calc(100% + 9px); top: 50%; transform: translateY(-50%); }
.page { position: relative; z-index: 3; margin-top: var(--brand-depth); background: var(--cream) url("assets/texture.avif") repeat center top / 1440px; background-blend-mode: multiply; }
.film { height: 548px; overflow: hidden; position: relative; }
.film iframe { position: absolute; width: 100%; height: 100%; border: 0; inset: 0; pointer-events: none; }

.story { position: relative; height: 775px; margin: 50px 0 100px; display: grid; align-items: end; justify-items: center; padding-bottom: 136px; isolation: isolate; }
.story img { position: absolute; object-fit: cover; }
.story-top { height: 507px; width: min(365px, 35.6%); top: 0; left: 50%; transform: translateX(-50%); }
.story-left { height: 265px; width: 26.5%; left: 3%; top: 444px; }
.story-right { height: 408px; width: 26.5%; right: 3%; top: 420px; }
.story-copy { position: relative; width: min(38%, 490px); text-align: center; }
.story-copy h2 { font: 25.6px/1.2 var(--display); text-transform: uppercase; letter-spacing: 1.6px; margin: 20px 0 35px; }
.story-copy p + p { margin-top: 20px; }
.story-copy span { display: block; margin-top: 24px; }

.feature { height: 950px; position: relative; z-index: 0; isolation: isolate; overflow: hidden; color: var(--cream); }
.space { --photo: url("assets/space.avif"); --overlay: url("assets/space-overlay.avif"); --mobile-photo: url("assets/space-mobile.avif"); }
.ingredients { --photo: url("assets/ingredients.avif"); --overlay: url("assets/ingredients-overlay.avif"); --mobile-photo: url("assets/ingredients-mobile.avif"); }
.feature-images, .feature-images div { position: absolute; pointer-events: none; inset: 0; }
.feature-images { z-index: -1; background: #342f27; }
.feature-images::before { content: ""; position: absolute; inset: -5%; background: var(--photo) center / cover no-repeat; transform: translateY(var(--parallax, 0px)); }
.feature-images div { background: var(--overlay) center top / cover no-repeat; }
.feature-images::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0005, transparent 65%); }
.feature-body { padding: 90px 0 0 5%; }
.feature-body p { max-width: 390px; margin: 24px 24px 18px 0; }
.feature-body h3 { font-size: 32px; margin: 0 0 50px 100px; }
.ingredients .feature-body p, .ingredients .feature-body .outline { margin-left: 100px; }
.section-title { display: flex; align-items: center; gap: 15px; font: 73.6px/.9 var(--display); }
.section-title::after { content: ""; height: 1px; background: currentColor; opacity: .68; flex: 1; }
.outline { display: inline-grid; place-items: center; border: 1px solid currentColor; padding: 9px 15px; min-height: 41px; font: 15px/1.25 var(--display); letter-spacing: .15em; text-transform: uppercase; text-align: center; transition: color .3s, background-color .3s; }
.outline:hover { color: var(--ink); background: var(--cream); }
.brown { color: var(--cream); background: var(--brown) url("assets/brown.png") repeat center / 1440px; background-blend-mode: multiply; }

.menu { min-height: 1083px; padding: 50px 0 45px; }
.section-head { padding-left: 5%; }
.section-head p { max-width: 420px; margin-top: 24px; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 15px; padding: 0 5% 16px; }
.carousel-controls button { padding: 0; min-width: 44px; min-height: 44px; background: transparent; transition: opacity .25s; }
.carousel-controls button:disabled { opacity: .35; cursor: default; }
.carousel-controls img { width: 62px; }
.carousel-controls button:first-child img { transform: scaleX(-1); }
.track { display: flex; overflow: auto hidden; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 5%; list-style: none; padding: 0 5%; }
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 auto; scroll-snap-align: start; }
.menu-track { gap: 18px; }
.menu-track li { width: min(434px, 72vw); height: 504px; }
.menu-track a { height: 100%; display: grid; align-content: end; justify-items: center; gap: 8px; position: relative; isolation: isolate; padding: 34px 16px; overflow: hidden; text-align: center; }
.menu-track img, .moments-track img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; z-index: -2; transition: transform .65s cubic-bezier(.25,.46,.45,.94); }
.menu-track a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 50%, #17100c90); }
.menu-track .cocktail { background: radial-gradient(ellipse at 50% 42%, #a25e36, var(--brown) 72%); }
.menu-track .cocktail img { inset: 10% 16% auto; width: 68%; height: 63%; object-fit: contain; }
.menu-track a:hover img, .moments-track li:hover img { transform: scale(1.045); }
.menu-track h3 { font-size: 32px; line-height: 1; }
.menu-track span { letter-spacing: .15em; }
.menu-track .menu-last { align-content: center; border: 1px solid currentColor; font: 28px/1.2 var(--display); }
.section-link { display: table; margin: 50px auto 0; }

.location { height: 748px; display: grid; place-items: center; text-align: center; color: var(--cream); background: linear-gradient(#0003, #0004), url("assets/location.avif") center / cover no-repeat fixed; }
.location-link { display: grid; justify-items: center; gap: 26px; font: 25.6px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.quotes { min-height: 741px; padding: 50px 0; }
.quotes .carousel-controls { justify-content: center; }
.quote-track { align-items: center; gap: 30px; }
.quote-track blockquote { width: min(460px, 83vw); min-height: 330px; padding: 22px 35px; text-align: center; color: var(--ink); background: var(--cream) url("assets/texture.avif") center / 1440px; background-blend-mode: multiply; }
.quote-track img { margin: 8px auto; width: 141px; }
.quote-track h3 { margin-bottom: 15px; font: 32px/1.1 var(--display); }
.quote-track cite, .quote-track small { display: block; margin-top: 15px; font-size: 12px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.quote-track small { display: none; }

.culture { min-height: 748px; background: var(--green); color: var(--cream); padding: 50px 0 80px 5%; }
.culture-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 80px 0 65px; padding: 0 5% 0 0; text-align: center; }
.culture-list img { width: 70px; height: 94px; object-fit: contain; margin: 0 auto 14px; }
.culture-copy { padding-right: 5%; display: grid; grid-template-columns: 3fr 2fr; gap: 5%; align-items: end; }
.culture-copy h3 { font-size: 32px; }
.gallery { height: 336px; margin: 16px 0 224px; padding: 0; scroll-padding: 0; gap: 12px; }
.gallery img { width: 320px; object-fit: cover; }

.moments { min-height: 703px; margin-top: 50px; padding-left: 5%; color: var(--green); }
.moments-track { padding: 0 5% 0 0; scroll-padding-inline-start: 0; align-items: center; gap: 14px; }
.moments-track li { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; width: 336px; height: 660px; text-align: center; color: var(--cream); }
.moments-track li::after { content: ""; position: absolute; inset: 0; background: #1a150e50; z-index: -1; }
.moments-track li:nth-child(even) { width: 312px; height: 330px; color: var(--ink); }
.moments-track li:nth-child(even)::after { background: #efe5d568; }
.moments-track h3 { margin: 0 14px 35px; font-size: 48px; line-height: .85; }

.footer { min-height: 386px; margin-top: 100px; text-align: center; padding: 40px 4%; }
.footer .wordmark { left: auto; }
.footer nav, .socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin: 26px 0; }
.footer nav { font: 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .11em; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; }
.socials img { width: 23px; height: 23px; object-fit: contain; }
.footer p { margin-top: 32px; font-size: 13px; }
.floating-chat { position: fixed; z-index: 5; right: 40px; bottom: 40px; width: 50px; height: 50px; }
.floating-chat:hover { transform: translateY(-3px); transition: transform .25s; }

@media (max-width: 767px) {
  :root { --brand-depth: 180px; }
  .hero { height: 1700px; }
  .hero-media { min-width: 0; }
  .hero-media img { position: fixed; inset: 0; height: 830px; }
  .hero-close { left: auto; right: 6px; }
  .hero h1 { top: 290px; width: min(320px, 95%); font-size: 48px; }
  .hero-copy { top: 700px; display: flex; flex-direction: column; align-items: center; left: 5%; right: 5%; }
  .hero-copy h2 { margin-top: 20px; }
  .hero-arrow { order: 1; height: 100px; align-self: center; margin-top: 25px; }
  .masthead { padding-top: 45px; }
  .masthead nav { display: none; }
  .masthead .wordmark { left: 0; width: 225px; }
  .masthead .wordmark span { display: block; }
  .masthead .wordmark img { right: calc(50% + 86px); }
  .footer .wordmark img { right: calc(50% + 117px); width: 34px; height: 34px; }
  .page { background-image: none; }
  .film { height: 613px; }
  .film iframe { display: none; }
  .story { height: 768px; margin: 25px 0; align-items: start; padding: 0; }
  .story-copy { width: 88%; padding-top: 36px; }
  .story-top, .story-left { display: none !important; }
  .story .story-right { top: auto; bottom: 24px; width: 67.5%; height: 350px; left: 16.25%; }
  .section-title { font-size: 44.8px; }
  .feature-body { padding-top: 50px; }
  .space { height: 1000px; }
  .feature-images::before { background-image: var(--mobile-photo); }
  .feature-images div { display: none; }
  .feature-body p { margin-top: 18px; }
  .feature-body h3, .ingredients .feature-body p, .ingredients .feature-body .outline { margin-left: 5%; }
  .menu { padding-top: 45px; min-height: 0; }
  .section-head p { margin: 18px 5% 20px 0; }
  .menu .carousel-controls, .moments .carousel-controls { display: none; }
  .menu-track, .moments-track { display: grid; overflow: visible; gap: 15px; }
  .menu-track li { width: 100%; height: 535px; }
  .menu-track h3 { font-size: 28.8px; }
  .menu-track li:last-child { height: 540px; }
  .location { background-attachment: scroll; }
  .quotes { min-height: 656px; }
  .quote-track { gap: 12px; }
  .quote-track small { display: block; }
  .ingredients { height: 950px; }
  .culture { min-height: 1256px; padding-top: 50px; }
  .culture .section-title { font-size: 48px; }
  .culture-list { grid-template-columns: repeat(2, 1fr); margin: 54px 0; row-gap: 42px; }
  .culture-copy { display: block; }
  .culture-copy h3 { font-size: 28.8px; margin-bottom: 20px; }
  .gallery { height: 222px; margin-bottom: 128px; }
  .gallery img { width: 212px; }
  .moments { margin-top: 25px; }
  .moments .section-title { margin-bottom: 20px; }
  .moments-track li { width: 100%; height: 660px; }
  .moments-track li:nth-child(even) { width: 100%; height: 330px; }
  .moments-track h3 { font-size: 43.2px; }
  .footer { margin-top: 25px; min-height: 864px; display: flex; flex-direction: column; justify-content: center; }
  .footer .wordmark { order: -1; }
  .footer nav { flex-direction: column; gap: 18px; }
  .floating-chat { right: 20px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
