/* ==========================================================================
   Flavors Kebab & Biryani — Wigram, Christchurch
   Hand-coded HTML/CSS rebuild of the original Canva-exported site.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Flavors Sans';
  src: url('../assets/fonts/90a240bd22faa534d75eeec8f387bb91.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flavors Sans';
  src: url('../assets/fonts/a60ac372bdfcb911b7a544c9462ac666.woff2') format('woff2');
  font-weight: 801 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flavors Display';
  src: url('../assets/fonts/5c07b773952ecd9eb4715de302811a45.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --gold:        #f4ad09;
  --red:         #e02723;
  --red-bright:  #f13223;
  --red-btn:     #ff3131;
  --maroon:      #7a221b;
  --cream:       #fffbf1;
  --grey:        #f1f0f0;
  --ink:         #304254;
  --black:       #000;

  --font-body:    'Flavors Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Flavors Display', 'Flavors Sans', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --nav-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
  padding: 16px 26px;
  min-width: 195px;
  color: var(--cream);
  background: var(--red);
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
  border: 0;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--sm     { font-size: 17px; padding: 15px 22px; }
.btn--bright { background: var(--red-btn); color: var(--grey); }
.btn--flame  { background: var(--red-bright); color: var(--grey); }
.btn--maroon { background: var(--maroon); }
.btn__arrow  { width: 24px; height: 24px; flex: 0 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: var(--nav-h);
}

/* Brand mark, pinned to the left of the bar */
.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.site-logo img {
  width: auto;
  height: 48px;
  transition: transform .25s ease;
}
.site-logo:hover img { transform: scale(1.06); }
.site-logo:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover,
.nav a:focus-visible { color: var(--red); border-bottom-color: var(--red); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--gold);
  overflow: hidden;
}
/* Tone-on-tone doodle pattern: tinted right down so it reads as texture,
   and cropped so the source image's lower band never shows. */
.hero::before {
  content: '';
  position: absolute;
  inset: -8% 0;
  background-image: url('../assets/img/bd2824f8797dfc0fccf2f8e58f4fb249.jpg');
  background-size: cover;
  background-position: center 35%;
  mix-blend-mode: multiply;
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 20px;
  min-height: 617px;
  padding-block: 40px;
}
.hero__logo { width: 262px; margin-left: -8px; }
.hero__eyebrow {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--maroon);
}
.hero__title {
  font-family: var(--font-display);
  font-size: 73px;
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.019em;
  text-transform: uppercase;
  color: var(--maroon);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.019em;
  text-transform: uppercase;
  color: var(--maroon);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 28px;
}
.hero__art { position: relative; min-height: 500px; }
.hero__art img { position: absolute; }
.hero__plate  { top: 10.2%; left: 3.3%;  width: 73%; z-index: 1; }
.hero__bowl1  { top: 44.8%; left: 6.6%;  width: 42%; z-index: 2; }
.hero__bowl2  { top: 49.2%; left: 16.6%; width: 45%; z-index: 3; }
.hero__karahi { top: 31.6%; left: 36%;   width: 63%; z-index: 4; }
.hero__curry  { top: 40.6%; left: 27%;   width: 69%; z-index: 5; }
.hero__wraps  { top: 32.6%; left: 6%;    width: 82%; z-index: 6; }
.hero__mint   { top: 73.2%; left: 48.6%; width: 13%; z-index: 7; }
.hero__badge  { top: 2.8%;  left: 57.5%; width: 34%; z-index: 8; }

/* ==========================================================================
   Welcome
   ========================================================================== */
.welcome {
  position: relative;
  background-color: var(--red);
  background-image: url('../assets/img/53112e256a301e441d7ec62d7a0d7a89.jpg');
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.welcome .wrap {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 40px;
  padding-block: 78px;
}
.welcome__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.welcome__body p {
  font-size: 17.6px;
  line-height: 1.42;
  letter-spacing: .044em;
  text-align: justify;
  margin-bottom: 14px;
}
.welcome__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Split feature sections (Craving / Bold Bites)
   ========================================================================== */
.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: 70px;
}
.split__title {
  font-family: var(--font-display);
  font-size: 51px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.019em;
  margin-bottom: 18px;
}
.split__text p {
  font-size: 22.7px;
  line-height: 1.3;
  letter-spacing: .018em;
}
.split__text .btn { margin-top: 32px; }
.split__art { position: relative; min-height: 420px; }
.split__art img { position: absolute; }

/* Craving the Crunch */
.craving { background: var(--grey); }
.craving .split__title { color: var(--black); }
.craving .split__art .a { top: 3.4%;  left: 2.6%; width: 91%; z-index: 1; }
.craving .split__art .b { top: 16.4%; left: 6.3%; width: 93%; z-index: 2; }
.craving .split__art .c { top: 35%;   left: 43%;  width: 50%; z-index: 3; }

/* Bold Bites */
.bold-bites { background: var(--red-bright); color: #fff; }
.bold-bites .split__art { order: -1; }
.bold-bites .split__art .a { top: 2.4%;  left: 9%;    width: 33%; z-index: 1; }
.bold-bites .split__art .b { top: 7%;    left: 16.6%; width: 78%; z-index: 2; }
.bold-bites .split__art .c { top: 39.5%; left: 1.4%;  width: 69%; z-index: 3; }
.bold-bites .split__art .d { top: 44.4%; left: 53.4%; width: 45%; z-index: 4; }
.bold-bites .split__art .e { top: 47.6%; left: 20.5%; width: 46%; z-index: 5; }

/* ==========================================================================
   Catering
   ========================================================================== */
.catering {
  background: var(--cream);
  text-align: center;
  padding-block: 66px 40px;
}
.catering__ornament {
  width: 113px;
  height: 61px;
  margin: 0 auto 10px;
  background-color: var(--maroon);
  -webkit-mask-image: url('../assets/img/e54634040044821ae447e1d5a4e60984.png');
          mask-image: url('../assets/img/e54634040044821ae447e1d5a4e60984.png');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 700% 100%;
          mask-size: 700% 100%;
  -webkit-mask-position: 50% 0;
          mask-position: 50% 0;
  /* the sprite is white artwork on opaque black, so mask on luminance */
  -webkit-mask-source-type: luminance;
          mask-mode: luminance;
}
.catering__title {
  font-family: var(--font-display);
  font-size: 51px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.019em;
  color: var(--maroon);
}
.catering__body {
  max-width: 800px;
  margin: 14px auto 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: .018em;
  color: var(--maroon);
}
.catering .btn { margin-top: 34px; }

/* ==========================================================================
   Feature strip
   ========================================================================== */
.features {
  background: var(--cream);
  padding-block: 30px 64px;
}
.features .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}
.feature {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.feature__icon { width: 92px; }
.feature__icon--mask {
  height: 78px;
  background-color: var(--red);
  -webkit-mask-image: url('../assets/img/ceaf2a9e39d64ec811b2ef1e554c26ea.png');
          mask-image: url('../assets/img/ceaf2a9e39d64ec811b2ef1e554c26ea.png');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 200% 100%;
          mask-size: 200% 100%;
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
  -webkit-mask-source-type: luminance;
          mask-mode: luminance;
}
.feature__title {
  font-size: 18.9px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.014em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}
.feature__text {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.014em;
  color: var(--maroon);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--gold);
  padding-block: 56px 40px;
  color: var(--maroon);
}
.contact__logo {
  width: 216px;
  margin: 0 auto 34px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  text-align: center;
}
.contact__label {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact__value {
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}
.contact__value a { display: block; }
.contact__value a:hover { text-decoration: underline; }

.open-block { text-align: center; }
.open-block__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6em;
  text-transform: uppercase;
  padding-left: .6em;
}
.open-block__big {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  letter-spacing: .01em;
}
.hours {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: left;
  display: inline-block;
}

.contact__cta { text-align: center; }
.contact__cta .btn { width: 100%; max-width: 265px; }

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
.socials a { transition: transform .18s ease; }
.socials a:hover { transform: translateY(-3px); }
.socials img { width: 40px; height: 40px; }

.follow {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 26px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: var(--grey);
  padding-block: 22px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer p { font-size: 14.7px; }
.site-footer a { text-decoration: underline; }
.site-footer img { width: 109px; }

.footer-copy { opacity: .85; }
.footer-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  letter-spacing: .01em;
}
.footer-credits span { opacity: .45; }
.footer-credits a {
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 173, 9, .45);
  transition: color .2s ease, border-color .2s ease;
}
.footer-credits a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-mark { display: inline-flex; opacity: .8; transition: opacity .2s ease; }
.footer-mark:hover { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .wrap { min-height: 0; }
  .hero__title { font-size: 60px; }
  .hero__subtitle { font-size: 36px; }
  .split__title, .catering__title { font-size: 42px; }
  .welcome__title { font-size: 34px; }
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .features .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .feature { max-width: 560px; }
}

@media (max-width: 760px) {
  /* Logo stays left, hamburger moves to the right of the bar */
  .nav-toggle { display: block; order: 2; margin-right: -9px; }
  .site-logo { order: 0; }
  .site-logo img { height: 40px; }
  .nav { order: 1; }
  .nav {
    position: absolute;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 24px 18px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }

  .hero .wrap,
  .welcome .wrap,
  .split .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 34px 10px; text-align: center; }
  .hero__logo { margin: 0 auto; width: 200px; }
  .hero__actions { align-items: center; }
  .hero__title { font-size: 48px; }
  .hero__subtitle { font-size: 29px; }
  .hero__art { min-height: 340px; }

  .welcome .wrap { padding-block: 46px; }
  .welcome__body p { text-align: left; font-size: 16px; }

  .split .wrap { padding-block: 46px; }
  .split__art { min-height: 300px; order: -1 !important; }
  .split__title { font-size: 34px; }
  .split__text p { font-size: 18px; }

  .catering { padding-block: 46px 30px; }
  .catering__title { font-size: 34px; }
  .catering__body { font-size: 18px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .open-block__big { font-size: 52px; }
  .hours { text-align: center; }

  .site-footer .wrap { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Animation
   ========================================================================== */

/* ---------- Scroll reveal ----------
   Elements carrying [data-reveal] start offset + transparent and settle
   when they enter the viewport. Direction comes from the attribute value,
   stagger from --d. */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal='up']    { transform: translateY(38px); }
[data-reveal='left']  { transform: translateX(-46px); }
[data-reveal='right'] { transform: translateX(46px); }
[data-reveal='zoom']  { transform: scale(.86); }
[data-reveal='fade']  { transform: none; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* No JS? Show everything. */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Hero entrance ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.8) rotate(-8deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideInArt {
  from { opacity: 0; transform: translateX(60px) scale(.95); }
  to   { opacity: 1; transform: none; }
}

.hero__logo,
.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__actions .btn {
  opacity: 0;
  animation: rise .8s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero__logo             { animation-delay: .05s; }
.hero__eyebrow          { animation-delay: .22s; }
.hero__title            { animation-delay: .32s; }
.hero__subtitle         { animation-delay: .42s; }
.hero__actions .btn:nth-child(1) { animation-delay: .55s; }
.hero__actions .btn:nth-child(2) { animation-delay: .65s; }

.hero__art img {
  opacity: 0;
  animation: slideInArt .9s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero__plate  { animation-delay: .30s; }
.hero__bowl1  { animation-delay: .38s; }
.hero__bowl2  { animation-delay: .44s; }
.hero__karahi { animation-delay: .50s; }
.hero__curry  { animation-delay: .56s; }
.hero__wraps  { animation-delay: .62s; }
.hero__mint   { animation-delay: .72s; }

.hero__badge {
  animation: popIn .8s cubic-bezier(.34, 1.56, .64, 1) .85s forwards;
}

/* ---------- Ambient motion ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

/* Applied once the entrance animation has finished (see script.js).
   Opacity is pinned explicitly here: replacing the entrance animation also
   drops its `forwards` fill, which would otherwise snap the images back to
   the opacity:0 base state. */
.hero__art.is-settled img {
  opacity: 1;
  animation: none;
}
.hero__art.is-settled .hero__wraps  { animation: float 6s ease-in-out infinite; }
.hero__art.is-settled .hero__karahi { animation: float 7.5s ease-in-out .8s infinite; }
.hero__art.is-settled .hero__plate  { animation: float 8.5s ease-in-out .4s infinite; }
.hero__art.is-settled .hero__badge  { animation: breathe 4.5s ease-in-out infinite; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
}
/* Sheen sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn__arrow {
  position: relative;
  z-index: 1;
  transition: transform .25s ease;
}
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Section flourishes ---------- */
.feature__icon,
.feature__icon--mask { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.feature:hover .feature__icon,
.feature:hover .feature__icon--mask { transform: scale(1.1) rotate(-4deg); }

.welcome__art img,
.split__art img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.welcome__art:hover img { transform: scale(1.03); }

.contact__logo { transition: transform 1.1s cubic-bezier(.22, .61, .36, 1); }
.contact__logo:hover { transform: rotate(8deg) scale(1.04); }

.contact__value a { transition: transform .2s ease, opacity .2s ease; }
.contact__value a:hover { transform: translateX(3px); }

.nav a { position: relative; }

/* ---------- Respect the user's motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  /* Nothing should stay hidden if motion is off */
  [data-reveal],
  .hero__logo,
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__actions .btn,
  .hero__art img {
    opacity: 1 !important;
    transform: none !important;
  }
}
