/* =========================================================
   SIZZASHI — Coming Soon · "Ignite the Flavor"
   ========================================================= */

:root {
  /* Brand palette */
  --charcoal: #090909;
  --black: #111111;
  --fire: #FF6A00;
  --ember: #E63916;
  --gold: #D9A441;
  --smoke: #F5F1E8;

  --smoke-80: rgba(245, 241, 232, .82);
  --smoke-60: rgba(245, 241, 232, .62);
  --smoke-45: rgba(245, 241, 232, .45);
  --line: rgba(245, 241, 232, .16);
  --glass: rgba(17, 17, 17, .48);

  /* Type */
  --font-ar: "Thmanyah Serif Display", "Segoe UI", Tahoma, serif;
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-en: "Montserrat", "Segoe UI", system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

/* ---------- Brand font ---------- */
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/Fonts/thmanyahserifdisplay-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/Fonts/thmanyahserifdisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/Fonts/thmanyahserifdisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/Fonts/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("assets/Fonts/thmanyahserifdisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--charcoal);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-ar);
  color: var(--smoke);
  background: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


img,
svg,
video,
canvas { display: block; max-width: 100%; }

p { margin: 0; }

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 4px;
  border-radius: 999px;
}

::selection { background: var(--fire); color: var(--charcoal); }

[lang="en"] { font-family: var(--font-en); }

/* ---------- Cinematic background ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--charcoal);
  /* Fallback when the video can't play */
  background-image: url("assets/fire-poster.jpg");
  background-image: image-set(url("assets/fire-poster.webp") type("image/webp"), url("assets/fire-poster.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 40% 55%;
  animation: stage-in 1.8s var(--ease-soft) both;
}

.stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
  filter: saturate(1.08) contrast(1.06);
  transform-origin: 40% 60%;
  animation: slow-push 26s ease-in-out infinite alternate;
  will-change: transform;
}

.stage.is-fallback .stage__video { display: none; }

.stage__overlay {
  position: absolute;
  inset: 0;
  background:
    /* ember warmth rising from the bottom */
    radial-gradient(ellipse 80% 45% at 50% 108%, rgba(230, 57, 22, .22), transparent 70%),
    /* center pocket for legibility */
    radial-gradient(ellipse 62% 58% at 50% 44%, rgba(9, 9, 9, .5), rgba(9, 9, 9, .74) 68%, rgba(9, 9, 9, .9) 100%),
    /* top & bottom fade */
    linear-gradient(180deg, rgba(9, 9, 9, .6) 0%, rgba(9, 9, 9, 0) 26%, rgba(9, 9, 9, 0) 58%, rgba(9, 9, 9, .96) 100%);
}

.stage__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ---------- Page layout ---------- */
.page {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vh, 4rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem);
}

/* ---------- Logo ---------- */
.hero__brand {
  position: relative;
  width: clamp(190px, min(68vw, calc(26vh * 1.415)), 400px);
  margin: 0 0 clamp(1.25rem, 3.2vh, 2.25rem);
  animation: logo-in 1.6s var(--ease-out) .35s both;
}

.hero__logo {
  position: relative;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 14px 34px rgba(0, 0, 0, .6))
    drop-shadow(0 0 22px rgba(255, 106, 0, .16));
}

.hero__glow {
  position: absolute;
  inset: -22% -18%;
  background: radial-gradient(closest-side, rgba(255, 106, 0, .26), rgba(230, 57, 22, .1) 55%, transparent 100%);
  filter: blur(18px);
  animation: breathe 6s ease-in-out 2s infinite alternate;
  pointer-events: none;
}

/* Tagline sticker, pinned to the page's top-left corner */
.tagline {
  position: absolute;
  z-index: 2;
  top: clamp(1.5rem, 5vw, 5rem);
  left: var(--gutter);
  width: clamp(96px, 10vw, 170px);
  transform: rotate(-10deg);
  pointer-events: none;
}

.tagline img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .55));
  transform-origin: 50% 50%;
  animation:
    sticker-in .9s cubic-bezier(.34, 1.56, .64, 1) 1.15s both,
    sticker-sway 5s ease-in-out 2.2s infinite alternate;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  font-family: var(--font-ar); /* Thmanyah Serif Display, Latin glyphs */
  font-weight: 500;
  font-size: clamp(.85rem, .78rem + .3vw, 1.05rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1.5rem, 3.4vh, 2.25rem);
  /* compensate trailing letter-spacing for optical centering */
  padding-left: .24em;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(1.25rem, 3vw, 2.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: .7;
}

.eyebrow::after { transform: scaleX(-1); }

.headline {
  margin: 0 0 clamp(.85rem, 2vh, 1.25rem);
  font-family: var(--font-ar);
  font-weight: 900;
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.75rem);
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}

.headline__fire {
  display: inline-block;
  background: linear-gradient(100deg, var(--gold) 0%, var(--fire) 38%, var(--ember) 62%, var(--fire) 82%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--fire);
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 106, 0, .28));
  animation: heat-shift 9s ease-in-out 2.2s infinite alternate;
  padding-block: .05em;
}

.lead {
  max-width: 36rem;
  font-size: clamp(1rem, .92rem + .38vw, 1.22rem);
  font-weight: 400;
  line-height: 1.95;
  color: var(--smoke-80);
  text-wrap: pretty;
  margin-bottom: clamp(.75rem, 1.8vh, 1.1rem);
}

.lead strong {
  font-weight: 700;
  color: var(--smoke);
}

/* ---------- Divider ---------- */
.divider {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block: clamp(1rem, 2.2vh, 1.5rem);
}

.divider__line {
  position: relative;
  width: clamp(3rem, 10vw, 7.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, .55));
  overflow: hidden;
  transform-origin: right center; /* grows outward from the mark */
  animation: line-grow 1.2s var(--ease-out) 1.6s both;
}

.divider__line:last-child {
  background: linear-gradient(270deg, transparent, rgba(255, 106, 0, .55));
  transform-origin: left center;
}

/* travelling spark along the line */
.divider__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: spark-run 4.8s var(--ease-soft) 3s infinite;
  transform: translateX(-120%);
}

.divider__mark {
  width: 26px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, .45));
  animation: breathe-mark 5s ease-in-out 2.5s infinite alternate;
}

/* ---------- Contact ---------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  width: 100%;
  max-width: 22rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .45s var(--ease-out),
    box-shadow .45s var(--ease-out),
    border-color .35s var(--ease-soft),
    background-color .35s var(--ease-soft),
    color .35s var(--ease-soft);
}

.btn__icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform .45s var(--ease-out), color .35s var(--ease-soft);
}

.btn--fire {
  color: #fff;
  background: linear-gradient(135deg, var(--fire) 0%, var(--ember) 100%);
  box-shadow:
    0 14px 34px -14px rgba(255, 106, 0, .85),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* soft light sweep */
.btn--fire::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }

  .btn--fire:hover {
    box-shadow:
      0 18px 44px -14px rgba(255, 106, 0, 1),
      0 0 0 1px rgba(255, 166, 77, .35),
      inset 0 1px 0 rgba(255, 255, 255, .28);
  }

  .btn--fire:hover::after { transform: translateX(120%); }

  .btn:hover .btn__icon { transform: scale(1.08) rotate(-6deg); }
}

.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Footer & social ---------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding: .75rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  text-align: center;
}

.social__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__list li[hidden] { display: none; }

.social__link {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--smoke-80);
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, .38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    color .35s var(--ease-soft),
    border-color .35s var(--ease-soft),
    background-color .35s var(--ease-soft),
    box-shadow .45s var(--ease-out),
    transform .45s var(--ease-out);
}

.social__link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

@media (hover: hover) {
  .social__link:hover {
    color: var(--fire);
    border-color: rgba(255, 106, 0, .55);
    background-color: rgba(255, 106, 0, .08);
    box-shadow: 0 0 24px -4px rgba(255, 106, 0, .55);
    transform: translateY(-3px);
  }
}

.social__link:active { transform: scale(.94); }

.social__handle {
  margin-top: .6rem;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .06em;
  color: var(--smoke-60);
}

.footer__meta {
  display: grid;
  gap: .3rem;
}

.footer__copy {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--smoke-45);
}

/* ---------- Entrance choreography ----------
   Content is visible by default; animations only add the reveal,
   so nothing stays hidden if CSS animations are disabled. */
.reveal {
  animation: reveal-up 1s var(--ease-out) var(--d, 0s) both;
}

@keyframes stage-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes logo-in {
  from { opacity: 0; transform: translateY(28px) scale(.965); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes slow-push {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}

@keyframes sticker-in {
  from { opacity: 0; transform: scale(.35) rotate(-24deg); }
  to   { opacity: 1; transform: none; }
}

@keyframes sticker-sway {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(4deg) scale(1.03); }
}

@keyframes breathe {
  from { opacity: .55; transform: scale(.97); }
  to   { opacity: 1;   transform: scale(1.03); }
}

@keyframes breathe-mark {
  from { filter: drop-shadow(0 0 6px rgba(255, 106, 0, .3)); }
  to   { filter: drop-shadow(0 0 14px rgba(255, 106, 0, .7)); }
}

@keyframes heat-shift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes spark-run {
  0%   { transform: translateX(-120%); }
  45%, 100% { transform: translateX(260%); }
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .contact {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    width: auto;
  }
}

@media (min-width: 900px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: start;
  }

  .footer__meta { text-align: left; }

  .social {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .social__handle { margin-top: 0; }
}

/* Short landscape screens: tighten vertical rhythm */
@media (max-height: 720px) and (min-width: 700px) {
  .hero { padding-top: 2rem; padding-bottom: 1.25rem; }
  .hero__brand { width: clamp(170px, calc(28vh * 1.415), 300px); margin-bottom: 1rem; }
  .headline { font-size: clamp(2rem, 1rem + 3.2vw, 3.4rem); }
  .lead { line-height: 1.8; }
  .divider { margin-block: .9rem; }
}

/* Phones: make room under the corner sticker so it doesn't cover the logo */
@media (max-width: 559px) {
  .hero { padding-top: 6.5rem; }
  .hero__brand { width: 50vw; }

  /* Sticker centred above the logo on phones */
  .tagline {
    top: 1.5rem;
    left: 50%;
    width: 104px;
    transform: translateX(-50%) rotate(-6deg);
  }
}

/* Small phones */
@media (max-width: 380px) {
  .eyebrow { letter-spacing: .16em; font-size: .78rem; }
  .eyebrow::before,
  .eyebrow::after { width: .9rem; }
  .btn { padding-inline: 1.25rem; }
}

/* Portrait phones: keep the flames + meat in frame */
@media (max-aspect-ratio: 3/4) {
  .stage__video { object-position: 34% 60%; }
  .stage { background-position: 34% 60%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .stage__embers { display: none; }

  .divider__line::after { display: none; }
}
