/* Layout system: wide canvas, consistent inner gutters, predictable reflow. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body > main,
body > footer {
  width: min(calc(100% - 48px), 1680px);
  margin-inline: auto;
}

.site-header {
  width: 100%;
  max-width: 100%;
}

.nav-wrap {
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  padding-inline: clamp(28px, 4vw, 64px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 62px;
  max-width: 220px;
  object-fit: contain;
}

.site-header .brand img {
  height: 72px;
  max-width: 245px;
}

.main-nav {
  min-width: 0;
  gap: clamp(16px, 1.5vw, 26px);
}

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.055em;
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-phone {
  flex: 0 0 auto;
  white-space: nowrap;
}

.section {
  width: 100%;
  max-width: 1280px;
  padding: clamp(88px, 8vw, 130px) clamp(32px, 4.5vw, 64px);
}

.flavours.section {
  max-width: none;
  padding-inline: clamp(40px, 6vw, 96px);
}

.gallery-grid,
.flavour-layout,
.about,
.contact,
.signature,
.split-ctas,
.footer-grid {
  min-width: 0;
}

.gallery-item,
.feature-food,
.about-copy,
.contact-copy,
.signature-copy {
  min-width: 0;
}

.gallery-item img,
.feature-food img,
.about-image img,
.signature-photo img {
  display: block;
  max-width: 100%;
}

.gallery-page .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: 360px;
  gap: 16px;
}

.gallery-page .gallery-item,
.gallery-page .gallery-item.tall,
.gallery-page .gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
  width: auto;
  height: auto;
  margin: 0;
}

@media (min-width: 721px) {
  .about-image img {
    height: clamp(460px, 42vw, 560px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 52%;
  }

  #galeri .gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #galeri .gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  #galeri .gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  #galeri .gallery-item:nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }
}

.hero {
  width: 100%;
  height: clamp(640px, 82svh, 860px);
  min-height: 640px;
}

.hero-copy {
  left: clamp(40px, 6vw, 104px);
  right: auto;
  width: min(680px, calc(100% - 80px));
}

.slide {
  background-position: center center;
}

.slider-controls {
  right: clamp(40px, 6vw, 104px);
}

.hero-scroll {
  display: none;
}

.signature {
  width: 100%;
}

.split-ctas a {
  padding-inline: clamp(40px, 7vw, 104px);
}

.map-placeholder,
.map-placeholder iframe {
  width: 100%;
  min-width: 0;
}

footer {
  padding-inline: clamp(40px, 6vw, 96px);
}

@media (max-width: 1180px) {
  .nav-wrap {
    gap: 20px;
    padding-inline: 30px;
  }

  .brand img {
    height: 54px;
    max-width: 195px;
  }

  .site-header .brand img {
    height: 60px;
    max-width: 210px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .nav-phone {
    display: none;
  }

  .about {
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    gap: 8%;
  }

  .signature-copy {
    padding: 8%;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 38px;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }
  body > main,
  body > footer {
    width: min(calc(100% - 32px), 1680px);
  }

  .nav-wrap {
    height: 78px;
    padding-inline: 24px;
  }

  .brand img {
    height: 48px;
    max-width: 178px;
  }

  .site-header .brand img {
    height: 54px;
    max-width: 190px;
  }

  .menu-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .menu-toggle i {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

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

  .menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
  }

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

  .main-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    margin: 0;
    padding: 16px 24px 22px;
    background: rgba(23, 21, 19, 0.985);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a.active,
  .main-nav a[aria-current="page"] {
    color: var(--gold);
  }

  .main-nav a::after {
    display: none;
  }

  .section {
    padding: 92px 38px;
  }

  .flavours.section {
    padding-inline: 38px;
  }

  .hero {
    height: clamp(620px, 82svh, 760px);
    min-height: 620px;
  }

  .hero-copy {
    left: 48px;
    width: min(620px, calc(100% - 96px));
  }

  .slider-controls {
    right: 48px;
  }

  .flavour-layout {
    grid-template-columns: 1.2fr 1fr;
  }

  .feature-food.large {
    grid-row: span 2;
    height: 100%;
    min-height: 520px;
  }

  .feature-food:not(.large) {
    height: 252px;
  }

  .signature {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .signature-photo img {
    height: 590px;
  }

  .gallery-grid {
    grid-template-rows: 210px 210px;
  }

  .gallery-page .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 330px;
  }

  .contact {
    gap: 6%;
  }
}

@media (max-width: 720px) {
  body > main,
  body > footer {
    width: calc(100% - 24px);
  }

  .nav-wrap {
    height: 72px;
    padding-inline: 18px;
  }

  .brand img {
    height: 50px;
    max-width: 185px;
  }

  .site-header .brand img {
    height: 54px;
    max-width: 195px;
  }

  .main-nav {
    inset: 72px 12px auto;
  }

  .section,
  .flavours.section {
    padding: 76px 22px;
  }

  .inner-hero {
    padding: 132px 24px 62px;
  }

  .inner-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero {
    height: min(720px, 88svh);
    min-height: 570px;
  }

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

  .slider-image {
    object-position: 58% center;
  }

  .hero-copy {
    top: 50%;
    left: 24px;
    width: calc(100% - 48px);
    transform: translateY(-38%);
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .slider-controls {
    right: 24px;
    bottom: 26px;
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 56px;
    align-items: stretch;
  }

  .about-image {
    margin-right: 18px;
  }

  .about-image img {
    aspect-ratio: 4 / 3;
    max-height: 420px;
    object-fit: cover;
  }

  .about-copy {
    max-width: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading .text-link {
    display: inline-flex;
    margin-top: 20px;
  }

  .flavour-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-food.large,
  .feature-food:not(.large) {
    grid-row: auto;
    height: 300px;
    min-height: 0;
  }

  .signature {
    display: flex;
    flex-direction: column;
  }

  .signature-photo,
  .signature-copy {
    width: 100%;
  }

  .signature-photo img {
    width: 100%;
    height: 390px;
    object-position: center;
  }

  .signature-copy {
    max-width: none;
    padding: 58px 24px 66px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 150px;
    gap: 8px;
  }

  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 280px;
    gap: 10px;
  }

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

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

  .split-ctas {
    grid-template-columns: 1fr;
  }

  .split-ctas a {
    min-height: 220px;
    padding: 40px 28px;
  }

  .contact {
    display: block;
  }

  .map-placeholder {
    min-height: 330px;
    margin-top: 44px;
  }

  .map-placeholder iframe {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 26px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    display: block;
    line-height: 2;
  }

  .footer-bottom > span:last-child {
    display: block;
  }

  .footer-bottom a {
    margin: 0 12px 0 0;
  }

  .form-grid,
  .menu-sections {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .franchise form {
    padding: 34px 22px;
  }

  .form-heading h2 {
    font-size: 39px;
  }

  .floating-phone {
    display: flex;
    position: fixed;
    z-index: 8;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    font-size: 21px;
  }

  .floating-phone span {
    display: none;
  }

  .lightbox {
    padding: 52px 10px 10px;
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}

@media (max-width: 420px) {
  body > main,
  body > footer {
    width: calc(100% - 16px);
  }

  .nav-wrap {
    padding-inline: 14px;
  }

  .brand img {
    height: 40px;
    max-width: 148px;
  }

  .site-header .brand img {
    height: 43px;
    max-width: 156px;
  }

  .section,
  .flavours.section {
    padding-inline: 18px;
  }

  .hero-copy {
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .gallery-grid {
    display: block;
  }

  .gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .gallery-item {
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Full-bleed brand surfaces: imagery and footer background span the viewport;
   their content remains aligned to the site grid. */
body > footer {
  width: 100%;
  margin-inline: 0;
}

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.inner-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(clamp(32px, 7vw, 144px), calc((100vw - 1360px) / 2));
  padding-right: max(clamp(32px, 7vw, 144px), calc((100vw - 1360px) / 2));
}

footer .footer-grid,
footer .footer-bottom {
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .inner-hero {
    padding-left: 24px;
    padding-right: 24px;
  }
  footer .footer-grid,
  footer .footer-bottom {
    width: calc(100% - 44px);
  }
}
