:root {
  --ink: #151412;
  --ink-soft: #2f2a25;
  --cream: #f7f1e7;
  --paper: #fffaf1;
  --muted: #85786a;
  --line: rgba(177, 146, 95, 0.24);
  --gold: #c49a58;
  --gold-light: #e5c07a;
  --olive: #35372c;
  --blue-black: #101418;
  --header-h: 76px;
  --container: min(1180px, calc(100vw - 40px));
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Josefin Sans", "Trebuchet MS", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, 0));
  transition: background .32s var(--ease), box-shadow .32s var(--ease), height .32s var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-is-open {
  height: 66px;
  background: rgba(255, 250, 241, .96);
  color: var(--ink);
  box-shadow: 0 14px 35px rgba(12, 12, 10, .09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 130px;
  min-height: 44px;
}

.brand img {
  width: 118px;
  filter: invert(1) brightness(2.4);
  transition: filter .32s var(--ease), width .32s var(--ease);
}

.site-header.is-scrolled .brand img,
.site-header.nav-is-open .brand img {
  width: 108px;
  filter: none;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.main-nav a {
  position: relative;
  padding: 12px 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 66px 0 0;
  z-index: 39;
  display: none;
  border: 0;
  background: rgba(8, 8, 7, .18);
  cursor: default;
}

body.nav-open .nav-backdrop {
  display: block;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media {
  background-image: url("assets/images/banjica-57.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, .22), rgba(0, 0, 0, .74) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .18) 34%, rgba(0, 0, 0, .82));
}

.hero__content {
  width: min(960px, calc(100vw - 34px));
  padding-top: var(--header-h);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 108px);
  font-weight: 500;
  line-height: .9;
  color: var(--gold-light);
  text-shadow: 0 16px 60px rgba(0, 0, 0, .65);
}

.glitch {
  position: relative;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(32px, 5.8vw, 86px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .12), 0 22px 80px rgba(0, 0, 0, .7);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  mix-blend-mode: screen;
}

.glitch::before {
  color: #e8bd72;
  transform: translate(2px, -1px);
  clip-path: inset(0 0 54% 0);
  animation: glitchSlice 3.6s steps(2, end) infinite;
}

.glitch::after {
  color: #dbe8ff;
  transform: translate(-2px, 1px);
  clip-path: inset(55% 0 0 0);
  animation: glitchSlice 4.2s steps(2, end) infinite reverse;
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: clamp(20px, 6vh, 60px);
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: rgba(255, 255, 255, .85);
}

.scroll-cue__ring {
  position: absolute;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  animation: spin 14s linear infinite;
}

.scroll-cue__line {
  width: 1px;
  height: 44px;
  background: var(--gold-light);
  transform-origin: top;
  animation: pulseLine 1.8s var(--ease) infinite;
}

.section {
  position: relative;
  padding: clamp(84px, 10vw, 126px) 0;
  scroll-margin-top: 66px;
}

.section--light {
  background: var(--paper);
}

.section--dark {
  color: #f8efe2;
  background:
    linear-gradient(135deg, rgba(196, 154, 88, .08), transparent 34%),
    var(--blue-black);
}

.section--gallery {
  background: var(--cream);
}

.section--contact {
  color: #f7efe5;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .56)),
    url("assets/images/banjica-19.jpg") center / cover fixed;
}

.section-copy,
.menu__intro,
.contact__content {
  max-width: 620px;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  color: var(--gold);
}

h2 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 600;
  line-height: .98;
}

p {
  margin: 0 0 18px;
}

.welcome__grid,
.menu__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.welcome__images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 18px;
  min-height: 560px;
}

.welcome__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(32, 25, 17, .18);
}

.welcome__images img:first-child {
  align-self: end;
  height: 72%;
}

.welcome__images img:last-child {
  height: 88%;
  margin-top: 44px;
}

.menu__grid {
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
}

.menu__intro p {
  color: rgba(248, 239, 226, .76);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 34px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.btn--gold {
  color: #fff;
  background: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.menu-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(229, 192, 122, .22);
  border-left: 1px solid rgba(229, 192, 122, .22);
}

.menu-board article {
  min-height: 230px;
  padding: clamp(26px, 4vw, 42px);
  border-right: 1px solid rgba(229, 192, 122, .22);
  border-bottom: 1px solid rgba(229, 192, 122, .22);
  background: rgba(255, 255, 255, .025);
  transition: background .28s var(--ease), transform .28s var(--ease);
}

.menu-board article:hover {
  background: rgba(196, 154, 88, .09);
  transform: translateY(-3px);
}

.menu-board span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.menu-board h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
}

.menu-board p {
  margin: 0;
  color: rgba(248, 239, 226, .68);
}

.gallery__heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
  width: min(1440px, calc(100vw - 24px));
  margin-inline: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background: var(--ink);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .28));
  opacity: 0;
  transition: opacity .28s var(--ease);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item--large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(1180px, 100%);
  max-height: min(84vh, 820px);
  display: grid;
  place-items: center;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: min(84vh, 820px);
  object-fit: contain;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .55);
}

.lightbox__close {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .62);
  color: #fff;
  background: rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(196, 154, 88, .42);
  transform: translateY(-1px);
}

.lightbox__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lightbox__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact__grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 520px);
  align-items: stretch;
}

.contact__content > p {
  color: rgba(247, 239, 229, .74);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-cards article {
  min-height: 144px;
  padding: 24px;
  border: 1px solid rgba(229, 192, 122, .2);
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(10px);
}

.contact-cards span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.contact-cards strong {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
}

.contact-cards a,
.contact-cards p {
  display: inline-block;
  margin: 16px 0 0;
  color: rgba(247, 239, 229, .72);
  font-size: 14px;
}

.contact-cards a:hover,
.contact-cards a:focus-visible {
  color: var(--gold-light);
}

.contact__panel {
  position: relative;
  min-height: 620px;
}

.map-card {
  position: absolute;
  inset: 64px 0 0 64px;
  overflow: hidden;
  border: 1px solid rgba(229, 192, 122, .26);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .35);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.72) contrast(1.08);
}

.rotator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(229, 192, 122, .5);
  background: rgba(16, 20, 24, .72);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  animation: spin 18s linear infinite;
}

.rotator span {
  position: absolute;
  inset: 10px;
  display: block;
}

.rotator span span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1ch;
  height: 56px;
  transform-origin: 50% 56px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, .7);
  background: #090908;
}

.footer__inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer__inner img {
  width: 124px;
  filter: invert(1) brightness(2.4);
}

.footer__inner p {
  max-width: 560px;
  margin: 0;
  font-size: 14px;
}

.footer__inner nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.footer__inner a:hover,
.footer__inner a:focus-visible {
  color: var(--gold-light);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-12px, 8px, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseLine {
  0%, 100% { transform: scaleY(.55); opacity: .45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes glitchSlice {
  0%, 88%, 100% { transform: translate(0, 0); }
  90% { transform: translate(4px, -2px); }
  92% { transform: translate(-3px, 2px); }
  94% { transform: translate(2px, 0); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 18px;
  }

  .main-nav {
    position: fixed;
    inset: 66px 18px auto auto;
    z-index: 40;
    display: grid;
    gap: 0;
    width: min(320px, calc(100vw - 36px));
    padding: 20px 24px 28px;
    color: var(--ink);
    text-align: right;
    background: rgba(255, 250, 241, .98);
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
    transform: translateY(-130%);
    transition: transform .32s var(--ease);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 15px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .welcome__grid,
  .menu__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .menu__intro,
  .contact__content {
    max-width: 760px;
  }

  .contact__panel {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 28px, 680px);
  }

  .site-header {
    height: 66px;
  }

  .brand img {
    width: 104px;
  }

  .main-nav {
    width: min(260px, calc(100vw - 36px));
    padding: 18px 22px 24px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__media {
    background-position: 58% center;
  }

  .scroll-cue {
    display: none;
  }

  .welcome__images {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .welcome__images img:first-child,
  .welcome__images img:last-child {
    height: auto;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .menu-board,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .map-card {
    inset: 70px 0 0 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer__inner nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__content {
    width: calc(100vw - 24px);
  }

  .glitch {
    font-size: clamp(29px, 9.4vw, 43px);
    letter-spacing: .035em;
  }

  .section {
    padding: 72px 0;
  }

  .menu-board article,
  .contact-cards article {
    padding: 22px;
  }

  .gallery-grid {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 14px;
    column-gap: 0;
  }

  .gallery-item,
  .gallery-item--large,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .contact__panel {
    min-height: 430px;
  }

  .rotator {
    width: 112px;
    height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
