/* ============================================
   JUNOON PIZZERIA
   Typography-first, minimal, event-focused
   ============================================ */

:root {
  --red:    #b93a1e;
  --red-dk: #8c2a14;
  --ink:    #1c1814;
  --ink2:   #3d3328;
  --ink3:   #7a6e63;
  --ink4:   #c2b8ac;
  --cream:  #f4f0ea;
  --white:  #fdfcfa;
  --gold:   #c9a85c;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --ease:   cubic-bezier(0.25, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

/* === LAYOUT === */
.wrap { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2.5rem;
  transition: background .35s, padding .35s;
}
.nav.scrolled {
  background: rgba(28,24,20,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .85rem 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity .2s;
}
.nav-logo-img:hover { opacity: 1; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-btn {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--red);
  padding: .5rem 1.2rem; border-radius: 3px;
  transition: background .2s;
}
.nav-btn:hover { background: var(--red-dk); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 1.5px; background: #fff; display: block; }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: radial-gradient(ellipse at 65% 55%, #4a1606 0%, #2a0a02 35%, #1c1814 70%);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 5rem 3rem;
  padding-left: max(3rem, calc(50vw - 450px + 1rem));
}

.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hero-img img {
  width: clamp(360px, 44vw, 580px);
  height: auto;
  border-radius: 50%;
  animation: pizza-spin 28s linear infinite, pizza-float 5s ease-in-out infinite;
}

/* Slow continuous spin — feels alive, like it just came out of the oven */
@keyframes pizza-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Gentle float + glow pulse layered via wrapper */
@keyframes pizza-float {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-14px); }
}

/* Glow pulse on the wrapper so it doesn't conflict with img transforms */
.hero-img {
  animation: pizza-glow 4s ease-in-out infinite;
}
@keyframes pizza-glow {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(185, 58, 30, 0.35))
            drop-shadow(0 0 80px rgba(92, 32, 10, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 55px rgba(185, 58, 30, 0.65))
            drop-shadow(0 0 120px rgba(185, 58, 30, 0.3));
  }
}
.eyebrow {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero h1 em { color: rgba(255,255,255,.4); display: block; }
.hero-desc {
  font-size: .9rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.6rem;
}
.hero-tags { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-tags span {
  font-size: .6rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.12);
  padding: .3rem .75rem; border-radius: 100px;
}
.hero-btns { display: flex; gap: 1.2rem; align-items: center; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: .7rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .8rem 2rem; border-radius: 3px;
  background: var(--red); color: #fff;
  border: 1.5px solid var(--red);
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--red-dk); border-color: var(--red-dk); }
.btn-full { width: 100%; text-align: center; }
.btn-ghost {
  font-size: .85rem; font-weight: 400;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.btn-ghost:hover { color: rgba(255,255,255,.7); }

/* === TICKER === */
.ticker {
  background: var(--ink); padding: .75rem 0;
  overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-size: .62rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.25);
  padding: 0 1.8rem;
}
.ticker-track span::after { content: '·'; margin-left: 1.8rem; color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SECTIONS === */
.section { padding: 6rem 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }

/* === LABELS / HEADINGS === */
.label {
  font-size: .6rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.4rem;
}
.label-dim { color: rgba(255,255,255,.25); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0;
}
.two-col h2 em { color: var(--red); }

/* === STORY === */
.body-text p {
  font-size: .88rem;
  color: var(--ink3);
  line-height: 1.85;
  margin-bottom: .9rem;
}
.body-text p em { color: var(--ink); font-style: italic; }

/* === TIMELINE === */
.tl {
  display: flex;
  align-items: center;
  margin-top: 4rem;
  padding: 0 .5rem;
}

.tl-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--ink4), var(--ink4));
  opacity: .35;
  position: relative;
  top: -1rem; /* nudge up to align with dots */
}

.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.tl-year {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink2);
  line-height: 1;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink4);
  border: 2px solid var(--ink4);
  flex-shrink: 0;
  position: relative;
}

.tl-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  text-align: center;
  max-width: 90px;
  line-height: 1.5;
}

/* Last milestone — Junoon born */
.tl-item--last .tl-year { color: var(--red); }
.tl-item--last .tl-dot {
  width: 14px;
  height: 14px;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(185, 58, 30, .15), 0 0 16px rgba(185, 58, 30, .4);
  animation: tl-pulse 2.5s ease-in-out infinite;
}
.tl-item--last .tl-label { color: var(--red); }

@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(185, 58, 30, .15), 0 0 16px rgba(185, 58, 30, .4); }
  50%       { box-shadow: 0 0 0 8px rgba(185, 58, 30, .08), 0 0 28px rgba(185, 58, 30, .6); }
}

/* Mobile: vertical stack */
@media (max-width: 640px) {
  .tl { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 1rem; }
  .tl-connector {
    width: 1px; height: 2rem; flex: none;
    background: var(--ink4);
    top: 0; margin-left: .3rem;
  }
  .tl-item { flex-direction: row; gap: 1rem; }
  .tl-label { max-width: none; text-align: left; }
}

/* === FOUNDERS === */
.founders-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

/* Polaroid photo */
.founders-photo-wrap {
  display: flex;
  justify-content: center;
}
.founders-photo {
  position: relative;
  background: #fff;
  padding: .9rem .9rem 2.8rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08);
  transform: rotate(-3deg);
  transition: transform .5s cubic-bezier(.25,0,0,1), box-shadow .5s ease;
  cursor: default;
  width: 240px;
}
.founders-photo:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.1);
}
.founders-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(55%) contrast(1.05) brightness(0.97);
  transition: filter .5s ease;
}
.founders-photo:hover img {
  filter: grayscale(0%) contrast(1.06) brightness(1);
}
.founders-photo-caption {
  position: absolute;
  bottom: .7rem;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: .7rem;
  font-style: italic;
  color: var(--ink3);
  letter-spacing: .02em;
}

/* Cards */
.founders-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.founder-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 5px;
  padding: 1.6rem;
  transition: border-color .2s;
}
.founder-card:hover { border-color: var(--red); }
.founder-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 500;
  margin-bottom: .15rem;
}
.founder-role {
  display: block;
  font-size: .58rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--red); margin-bottom: .65rem;
}
.founder-card p { font-size: .83rem; color: var(--ink3); line-height: 1.72; }
.founder-card em { color: var(--ink); }

/* === EVENTS === */
.title-light {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400; line-height: 1.2;
  color: #fff; margin-bottom: .7rem;
}
.title-light em { color: var(--gold); }
.sub-light { font-size: .88rem; color: rgba(255,255,255,.3); margin-bottom: 2.5rem; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ev {
  padding: 1.8rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  position: relative;
  transition: border-color .2s;
}
.ev:hover { border-color: rgba(185,58,30,.35); }
.ev-featured { border-color: var(--red); background: rgba(185,58,30,.05); }

.ev-tag {
  display: inline-block;
  font-size: .52rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); background: rgba(185,58,30,.1);
  padding: .15rem .5rem; border-radius: 2px;
  margin-bottom: .6rem;
}
.ev h3 {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 500;
  color: #fff; margin-bottom: .4rem;
}
.ev > p { font-size: .8rem; color: rgba(255,255,255,.35); line-height: 1.65; margin-bottom: .9rem; }
.ev li {
  font-size: .72rem; color: rgba(255,255,255,.25);
  padding-left: .9rem; position: relative; margin-bottom: .2rem;
}
.ev li::before { content: '–'; position: absolute; left: 0; color: var(--red); }

/* === CRAFT === */
.steps { display: flex; flex-direction: column; gap: 1.6rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 400; color: var(--ink4);
  flex-shrink: 0; line-height: 1.3;
  min-width: 2rem;
}
.step h4 {
  font-family: var(--serif);
  font-size: .95rem; font-weight: 500;
  margin-bottom: .2rem;
}
.step p { font-size: .83rem; color: var(--ink3); line-height: 1.7; }

/* === MENU === */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: .5rem;
}
.menu-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
}
.menu-pills { display: flex; gap: .5rem; }
.pill-g { font-size: .58rem; font-weight: 600; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 100px; background: #e6f4e8; color: #2e7d32; }
.pill-a { font-size: .58rem; font-weight: 600; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 100px; background: #fff8e1; color: #9a7000; }

.menu-sub { font-size: .8rem; color: var(--ink3); margin-bottom: 2rem; }

.menu-list { display: flex; flex-direction: column; }
.mi {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mi:first-child { border-top: 1px solid rgba(0,0,0,.06); }
.mi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mi-dot--1 { background: #c4400a; }
.mi-dot--2 { background: #d4580a; }
.mi-dot--3 { background: #4a8a30; }
.mi-dot--4 { background: #c48a20; }
.mi-dot--5 { background: #b83010; }
.mi-dot--6 { background: #8a8078; }
.mi h3 { font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-bottom: .15rem; }
.mi p { font-size: .8rem; color: var(--ink3); line-height: 1.5; }
.desi {
  font-size: .56rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,168,92,.1);
  padding: .12rem .4rem; border-radius: 2px;
  margin-left: .3rem; vertical-align: middle;
}
.menu-note { font-size: .75rem; color: var(--ink4); font-style: italic; margin-top: 1.2rem; }

/* === CONTACT === */
.contact-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-centered h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: .8rem;
}
.contact-centered h2 em { color: var(--red); }
.contact-desc { font-size: .88rem; color: var(--ink3); margin-bottom: 2.2rem; line-height: 1.7; }

.contact-items { display: flex; flex-direction: column; gap: .6rem; }
.contact-items--row { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.ci {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 4px;
  transition: border-color .2s;
}
.ci:hover { border-color: var(--red); }
.ci-label { font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.ci-val { font-size: .9rem; font-weight: 500; color: var(--ink); }


/* === FOOTER === */
.footer { background: var(--ink); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.footer-name { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: #fff; }
.footer-tag { font-size: .65rem; color: rgba(255,255,255,.22); margin-top: .2rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .72rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { width: 100%; text-align: center; font-size: .62rem; color: rgba(255,255,255,.15); padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.05); margin-top: .5rem; }

/* === REVEAL === */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.fade.in { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 760px) {
  .nav-links, .nav-btn { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 999;
    background: rgba(28,24,20,.97);
    justify-content: center; align-items: center; gap: 1.8rem;
  }
  .nav-links.open a { font-size: .95rem; color: #fff; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 7rem 2rem 3rem; }
  .hero-img { padding: 1rem; }
  .hero-img img { width: clamp(200px, 60vw, 300px); }
  .two-col, .events-grid { grid-template-columns: 1fr; }
  .contact-items--row { flex-direction: column; align-items: stretch; }
  .founders-layout { grid-template-columns: 1fr; justify-items: center; gap: 2rem; }
  .founders-photo { width: 200px; }
  .founders-cards { width: 100%; }
  .section { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
