/* ============================================
   Niko Sushi Burger and More — stylesheet
   ============================================ */

:root {
  --bg: #15110d;
  --bg-alt: #1c1712;
  --bg-alt-2: #221b15;
  --cream: #f8f3ea;
  --cream-dim: #e8dfcd;
  --red: #e3432e;
  --red-dark: #c4321f;
  --gold: #d9a441;
  --gold-soft: #e8c884;
  --muted-on-dark: #b9ab97;
  --muted-on-light: #6f6559;
  --line-on-dark: rgba(248, 243, 234, 0.12);
  --line-on-light: rgba(21, 17, 13, 0.1);

  --font-display: "Anton", sans-serif;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-btn: 10px;
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.section-title--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.icon-arrow { width: 14px; height: 14px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(227, 67, 46, 0.35);
}
.btn--accent:hover { background: var(--red-dark); }

.btn--ghost {
  background: transparent;
  border-color: rgba(248, 243, 234, 0.4);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(248, 243, 234, 0.08); }

.btn--outline {
  background: transparent;
  border-color: var(--bg);
  color: var(--bg);
}
.btn--outline:hover { background: var(--bg); color: var(--cream); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg);
  color: var(--muted-on-dark);
  font-family: var(--font-heading);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar__divider { color: var(--gold); }
.topbar__phone {
  margin-left: auto;
  color: var(--gold-soft);
  font-weight: 600;
}
@media (max-width: 640px) {
  .topbar__phone { margin-left: 0; width: 100%; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 17, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 52px; height: 52px; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: 0.3px;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14.5px;
}
.nav a {
  color: var(--cream-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: right 0.25s ease;
}
.nav a:hover { color: var(--gold); }
.nav a.is-active { color: var(--gold-soft); }
.nav a.is-active::after { right: 0; }

.header__cta { margin-left: auto; padding: 12px 26px; font-size: 14px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 20%, #2a1f16 0%, var(--bg) 55%);
  color: var(--cream);
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(227,67,46,0.16) 0, transparent 40%),
    radial-gradient(circle at 88% 75%, rgba(217,164,65,0.14) 0, transparent 45%);
  pointer-events: none;
}
.hero__pattern::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1.5px dashed rgba(217, 164, 65, 0.25);
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 140px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero__kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0.5px;
  max-width: 900px;
}
.hero__title span { color: var(--red); }
.hero__subtitle {
  margin-top: 26px;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted-on-dark);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line-on-dark);
  max-width: 560px;
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  color: var(--gold-soft);
  line-height: 1;
}
.hero__stat-label {
  font-size: 12.5px;
  color: var(--muted-on-dark);
  letter-spacing: 0.3px;
}

.hero__media {
  position: relative;
  height: 460px;
}
.hero__media-frame {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media-frame--main { top: 0; right: 0; width: 82%; height: 80%; }
.hero__media-frame--accent {
  bottom: 0;
  left: 0;
  width: 52%;
  height: 46%;
  border: 5px solid var(--bg);
  z-index: 2;
}
.hero__media-badge {
  position: absolute;
  top: 20px;
  left: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--bg);
  padding: 12px 18px 12px 14px;
  border-radius: 100px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
}
.hero__media-badge svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(248,243,234,0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--red);
  color: var(--cream);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  animation: marquee 26s linear infinite;
}
.marquee__track span { flex-shrink: 0; opacity: 0.95; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about { background: var(--cream); padding: 100px 0; }
.about__intro { max-width: 640px; margin-bottom: 48px; }
.about__text { color: var(--muted-on-light); font-size: 16px; max-width: 560px; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 20px;
}
.bento__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.7s ease;
}
.bento__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(21,17,13,0.1);
  border-color: transparent;
}
.bento__item--wide { grid-column: span 2; }
.bento__item--dark {
  background: linear-gradient(155deg, var(--bg) 0%, #2a2018 100%);
  border-color: transparent;
  justify-content: center;
  align-items: flex-start;
}
.bento__icon { display: inline-flex; color: var(--red); }
.bento__icon svg { width: 28px; height: 28px; }
.bento__item--dark .bento__icon { color: var(--gold); }
.bento__item h3 { font-family: var(--font-heading); font-weight: 700; font-size: 17px; }
.bento__item p { color: var(--muted-on-light); font-size: 14px; }
.bento__stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--red);
  line-height: 1;
}
.bento__stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--cream-dim);
}


/* ---------- Menu ---------- */
.menu { background: var(--bg); color: var(--cream); padding: 100px 0; }
.menu .eyebrow { color: var(--gold); }
.menu .section-title { color: var(--cream); }
.menu__intro {
  text-align: center;
  color: var(--muted-on-dark);
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 15px;
}

.menu__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}
.menu__tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line-on-dark);
  background: transparent;
  color: var(--cream-dim);
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu__tab-icon { display: inline-flex; }
.menu__tab-icon svg { width: 15px; height: 15px; }
.menu__tab:hover { border-color: var(--gold); color: var(--gold-soft); }
.menu__tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu__group-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold-soft);
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-on-dark);
}
.menu__group-title:first-child { margin-top: 0; }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px;
  background: rgba(248, 243, 234, 0.03);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.menu-item:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 164, 65, 0.45);
  background: rgba(248, 243, 234, 0.055);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.menu-item--has-image { padding: 0; overflow: hidden; }
.menu-item__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.menu-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.menu-item--has-image:hover .menu-item__image img { transform: scale(1.06); }
.menu-item--has-image .menu-item__left { padding: 16px 20px 0; }
.menu-item--has-image .menu-item__price { padding: 0 20px 18px; }

.menu-item__left { width: 100%; }
.menu-item__name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item__name { font-family: var(--font-heading); font-weight: 600; font-size: 16px; }
.menu-item__meta {
  font-size: 12px;
  color: var(--bg);
  background: var(--gold);
  padding: 2px 9px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
}
.menu-item__tag {
  font-size: 11px;
  color: #7fbf7a;
  border: 1px solid #7fbf7a;
  padding: 1px 8px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.menu-item__desc {
  font-size: 13.5px;
  color: var(--muted-on-dark);
  margin-top: 5px;
}
.menu-item__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  white-space: nowrap;
  margin-top: auto;
  align-self: flex-end;
  padding-top: 4px;
}
.menu-item__price small { font-size: 11px; color: var(--gold-soft); font-weight: 600; margin-right: 2px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--red) 0%, #b53a26 100%);
  color: var(--cream);
  padding: 60px 0;
}
.cta-strip__inner { text-align: center; }
.cta-strip h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.cta-strip p { color: rgba(248,243,234,0.85); margin-bottom: 26px; }
.cta-strip__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-strip .btn--accent { background: var(--bg); box-shadow: none; }
.cta-strip .btn--accent:hover { background: #000; }
.cta-strip .btn--outline { border-color: var(--cream); color: var(--cream); }
.cta-strip .btn--outline:hover { background: var(--cream); color: var(--bg); }

/* ---------- Gallery (Instagram) ---------- */
.gallery { background: var(--cream); padding: 100px 0; }
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.gallery__head .section-title, .gallery__head .eyebrow { margin-bottom: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery__tile svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.gallery__tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 32px rgba(21,17,13,0.2); }
.gallery__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(21,17,13,0);
  transition: background 0.25s ease;
}
.gallery__tile:hover::after { background: rgba(21,17,13,0.12); }
.gallery__tile--red { background: linear-gradient(155deg, var(--red) 0%, var(--red-dark) 100%); }
.gallery__tile--dark { background: linear-gradient(155deg, var(--bg) 0%, #2a2018 100%); }
.gallery__tile--gold { background: linear-gradient(155deg, var(--gold) 0%, #b9832f 100%); }

/* ---------- Location ---------- */
.location { background: var(--bg); padding: 100px 0 0; overflow: hidden; }
.location__header { padding-bottom: 44px; }
.location__header .section-title { color: var(--cream); margin-bottom: 0; }

.location__map-full {
  position: relative;
  width: 100%;
  height: 620px;
  background: linear-gradient(160deg, var(--bg) 0%, #2a2018 100%);
}
.location__map-full iframe { position: relative; z-index: 1; }
.location__map-fallback {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.location__map-fallback:hover { background: var(--gold-soft); }

.location__card {
  position: absolute;
  z-index: 2;
  top: 36px;
  left: 36px;
  width: 340px;
  max-width: calc(100% - 72px);
  max-height: calc(100% - 72px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.info-block { margin-bottom: 24px; }
.info-block:last-child { margin-bottom: 0; }
.info-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 10px;
}
.info-block p, .info-block a { color: var(--muted-on-light); font-size: 14.5px; }
.info-block a:hover { color: var(--red); }

.hours { display: flex; flex-direction: column; gap: 8px; }
.hours li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-on-light);
}
.hours li span:last-child { font-weight: 600; }
.hours__note { font-size: 12px; margin-top: 10px; color: var(--muted-on-light); font-style: italic; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--muted-on-dark); padding: 70px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer__logo { width: 64px; height: 64px; margin-bottom: 14px; }
.footer__brand p { font-family: var(--font-heading); color: var(--gold-soft); font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer__col a, .footer__col span { font-size: 14.5px; }
.footer__col a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-on-dark);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__socials svg { width: 17px; height: 17px; }
.footer__socials a:hover { background: var(--red); border-color: var(--red); color: var(--cream); }
.footer__bottom {
  text-align: center;
  font-size: 13px;
  padding: 22px 0;
  color: var(--muted-on-dark);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { height: 340px; margin-top: 44px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 24px 30px;
    gap: 4px;
    border-bottom: 1px solid var(--line-on-dark);
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); }
  .nav.is-open a::after { display: none; }

  .menu__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }

  .location__map-full { height: auto; }
  .location__card {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  .location__map-full iframe { height: 380px; }
  .location__map-fallback { top: 16px; bottom: auto; right: 16px; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 70px 20px 110px; }
  .header__inner { gap: 12px; }
  .brand__name { font-size: 16px; }
  .brand__logo { width: 44px; height: 44px; }

  .hero__media { height: 280px; margin-top: 36px; }
  .hero__media-badge { font-size: 12px; padding: 10px 16px 10px 12px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item--wide { grid-column: span 1; }
  .bento__item { min-height: 140px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__head { align-items: flex-start; }
}
