/* ============================================================
   GHOST PIZZA OSLO — core styles
   Street-art / spooky-playful brand system
   ============================================================ */

/* ---- Design tokens ---- */
:root{
  /* Brand palette */
  --yellow:      #EFCE00;   /* acid yellow — primary */
  --yellow-deep: #E0B800;   /* shadowed yellow */
  --ink:         #16150F;   /* warm near-black */
  --ink-soft:    #211F16;   /* raised black surface */
  --white:       #F7F5EC;   /* spray white / off-white */
  --bone:        #DBD7C4;   /* muted bone */
  --blood:       #E4002B;   /* sparing spooky accent (HOT) */
  --slime:       #9CFF3D;   /* sparing toxic accent (NEW/VEG) */

  --bg:          var(--ink);
  --fg:          var(--white);

  /* Type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --body:    "Archivo", system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  /* Rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 4px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---- Reset ---- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--body);
  background:var(--bg);
  color:var(--fg);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ list-style:none; }
::selection{ background:var(--yellow); color:var(--ink); }

/* ---- Global grain overlay (spray-paint grit) ---- */
body::before{
  content:"";
  position:fixed; inset:0;
  z-index:9999; pointer-events:none;
  opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Utilities ---- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.eyebrow{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.32em;
  text-transform:uppercase; color:var(--yellow); font-weight:700;
}
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--mono); font-weight:700; font-size:.82rem;
  letter-spacing:.14em; text-transform:uppercase;
  padding:1.05em 1.7em; border-radius:var(--radius);
  border:2px solid var(--ink);
  background:var(--yellow); color:var(--ink);
  box-shadow:4px 4px 0 var(--ink);
  transition:transform .12s var(--ease), box-shadow .12s var(--ease), background .2s;
  white-space:nowrap;
}
.btn:hover{ transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--ink); }
.btn:active{ transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.btn--ghost{ background:transparent; color:var(--white); border-color:var(--white); box-shadow:4px 4px 0 rgba(247,245,236,.25); }
.btn--ghost:hover{ background:var(--white); color:var(--ink); box-shadow:7px 7px 0 rgba(247,245,236,.25); }
.btn--blood{ background:var(--blood); color:var(--white); border-color:var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem;
  padding:.7rem var(--gutter);
  background:rgba(22,21,15,.82);
  backdrop-filter:blur(10px);
  border-bottom:2px solid rgba(247,245,236,.1);
}
.nav__brand{ display:flex; align-items:center; gap:.7rem; }
.nav__logo{
  width:46px; height:46px; border-radius:8px; object-fit:cover;
  border:2px solid var(--ink); box-shadow:0 0 0 2px var(--yellow);
}
.nav__name{ font-family:var(--display); font-size:1.4rem; letter-spacing:.04em; line-height:1; }
.nav__name small{ display:block; font-family:var(--mono); font-size:.5rem; letter-spacing:.4em; color:var(--yellow); }
.nav__links{ display:flex; gap:1.7rem; align-items:center; }
.nav__links a{
  font-family:var(--mono); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase;
  position:relative; padding:.2em 0; transition:color .2s;
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:-3px; height:2px; width:0; background:var(--yellow);
  transition:width .25s var(--ease);
}
.nav__links a:hover{ color:var(--yellow); }
.nav__links a:hover::after{ width:100%; }
.nav__cta{ display:flex; align-items:center; gap:.8rem; }
.nav__burger{ display:none; flex-direction:column; gap:5px; padding:8px; }
.nav__burger span{ width:26px; height:3px; background:var(--white); border-radius:2px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee{
  background:var(--yellow); color:var(--ink);
  border-block:3px solid var(--ink);
  overflow:hidden; white-space:nowrap;
}
.marquee__track{
  display:inline-flex; gap:2.5rem; padding:.55rem 0;
  font-family:var(--display); font-size:1.05rem; letter-spacing:.06em; text-transform:uppercase;
  animation:scroll 28s linear infinite;
}
.marquee__track span{ display:inline-flex; align-items:center; gap:2.5rem; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
@keyframes scroll{ to{ transform:translateX(-50%); } }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:clamp(2.5rem,7vw,6rem) 0 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(239,206,0,.16), transparent 60%),
    var(--ink);
  overflow:hidden;
}
.hero__grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(1rem,4vw,3rem);
  align-items:center;
}
.hero__kicker{ display:flex; align-items:center; gap:.8rem; margin-bottom:1.4rem; }
.hero__kicker .dot{ width:9px;height:9px;border-radius:50%;background:var(--slime);box-shadow:0 0 12px var(--slime); animation:pulse 1.6s infinite; }
@keyframes pulse{ 50%{ opacity:.3; } }

.hero__title{
  font-family:var(--display);
  font-size:clamp(4.2rem, 15vw, 13rem);
  line-height:.82; letter-spacing:.01em; text-transform:uppercase;
  margin:0 0 1.2rem;
}
.hero__title .out{
  display:block;
  color:transparent; -webkit-text-stroke:2px var(--white);
  position:relative;
}
.hero__title .fill{ display:block; color:var(--yellow); position:relative; }
.hero__title .fill::after{
  /* drip under the headline */
  content:""; position:absolute; left:6%; right:18%; bottom:-.18em; height:.3em;
  background:
    radial-gradient(circle at 10% 0, var(--yellow) 40%, transparent 41%) 0 0/14% 100% repeat-x;
  -webkit-mask:radial-gradient(circle at 50% 0,#000 60%,transparent 61%) 0 0/14% 100% repeat-x;
  opacity:.9;
}
.hero__lead{
  font-size:clamp(1rem,1.4vw,1.18rem); max-width:46ch; color:var(--bone); margin-bottom:2rem;
}
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.hero__meta{ display:flex; gap:2rem; margin-top:2.6rem; flex-wrap:wrap; }
.hero__meta .stat b{ font-family:var(--display); font-size:1.9rem; display:block; line-height:1; color:var(--white); }
.hero__meta .stat span{ font-family:var(--mono); font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:var(--bone); }

.hero__art{ position:relative; aspect-ratio:1/1; }
.hero__art img{
  width:100%; height:100%; object-fit:cover; border-radius:50%;
  border:4px solid var(--ink); box-shadow:0 0 0 5px var(--yellow), 0 30px 60px rgba(0,0,0,.5);
  animation:floaty 7s ease-in-out infinite;
}
@keyframes floaty{ 50%{ transform:translateY(-14px); } }
.hero__badge{
  position:absolute; z-index:3;
  font-family:var(--display); text-transform:uppercase; text-align:center; line-height:.9;
  width:118px; height:118px; border-radius:50%;
  display:grid; place-content:center;
  background:var(--blood); color:var(--white);
  border:3px solid var(--ink); box-shadow:4px 4px 0 var(--ink);
  rotate:-12deg; top:-6%; right:2%;
  animation:wobble 4s ease-in-out infinite;
}
.hero__badge span{ font-size:.95rem; }
.hero__badge b{ font-size:1.7rem; display:block; }
@keyframes wobble{ 50%{ rotate:8deg; } }

/* pattern texture band */
.pattern-band{
  height:96px;
  background:url("../assets/img/pattern.svg") repeat;
  background-size:150px;
  border-block:3px solid var(--ink);
}

/* drip divider (reusable) */
.drip{ display:block; width:100%; height:42px; color:var(--yellow); }
.drip--ink{ color:var(--ink); }
.drip svg{ display:block; width:100%; height:100%; }

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section{ padding:clamp(3.5rem,8vw,7rem) 0; position:relative; }
.section--yellow{ background:var(--yellow); color:var(--ink); }
.section--yellow .eyebrow{ color:var(--ink); }
.section__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; margin-bottom:2.6rem; }
.section__title{
  font-family:var(--display); text-transform:uppercase; line-height:.86;
  font-size:clamp(2.6rem,7vw,5.5rem); letter-spacing:.01em;
}
.section__title em{ font-style:normal; color:var(--yellow); -webkit-text-stroke:2px var(--ink); }
.section--yellow .section__title em{ color:var(--white); -webkit-text-stroke:2px var(--ink); }

/* ============================================================
   MENU
   ============================================================ */
.menu-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.4rem; }
.card{
  background:var(--ink-soft); border:2px solid rgba(247,245,236,.12); border-radius:10px;
  overflow:hidden; position:relative; transition:transform .18s var(--ease), border-color .2s;
}
.section--yellow .card{ background:var(--white); border-color:var(--ink); box-shadow:5px 5px 0 var(--ink); color:var(--ink); }
.card:hover{ transform:translateY(-6px); border-color:var(--yellow); }
.section--yellow .card:hover{ transform:translate(-3px,-3px); box-shadow:9px 9px 0 var(--ink); border-color:var(--ink); }
.card__media{ aspect-ratio:1/1; overflow:hidden; background:var(--yellow); }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.card:hover .card__media img{ transform:scale(1.07) rotate(-1deg); }
.card__body{ padding:1.2rem 1.3rem 1.5rem; }
.card__row{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
.card__name{ font-family:var(--display); font-size:1.5rem; text-transform:uppercase; letter-spacing:.02em; line-height:1; }
.card__price{ font-family:var(--mono); font-weight:700; font-size:1.05rem; color:var(--yellow); white-space:nowrap; }
.section--yellow .card__price{ color:var(--blood); }
.card__desc{ font-size:.86rem; color:var(--bone); margin-top:.6rem; line-height:1.45; }
.section--yellow .card__desc{ color:#46412c; }
.tags{ display:flex; gap:.4rem; margin-top:.9rem; flex-wrap:wrap; }
.tag{
  font-family:var(--mono); font-size:.6rem; letter-spacing:.12em; text-transform:uppercase;
  padding:.3em .6em; border-radius:99px; border:1.5px solid currentColor; font-weight:700;
}
.tag--hot{ color:var(--blood); }
.tag--veg{ color:#3a8a00; }
.tag--new{ color:#0a7d3a; }
.section--yellow .tag--veg, .section--yellow .tag--new{ color:#256b00; }

/* ============================================================
   FULL MENU (real menu list)
   ============================================================ */
.menu-legend{
  display:flex; flex-wrap:wrap; gap:.5rem .9rem; align-items:center;
  background:var(--white); border:2px solid var(--ink); border-radius:10px;
  padding:1rem 1.2rem; margin-bottom:2.4rem; box-shadow:4px 4px 0 var(--ink);
  font-family:var(--mono); font-size:.72rem; color:var(--ink);
}
.menu-legend .lg{ display:inline-flex; align-items:center; gap:.4em; }
.alg{
  display:inline-grid; place-items:center; min-width:1.55em; height:1.55em; padding:0 .35em;
  border-radius:99px; background:var(--ink); color:var(--yellow);
  font-family:var(--mono); font-weight:700; font-size:.62rem; letter-spacing:.02em;
}
.leaf{ color:#1f7a1f; font-weight:700; }

.menu-note{
  display:flex; gap:.6rem; align-items:center; background:var(--white); color:var(--ink);
  border-radius:8px; padding:.7rem 1rem; margin-bottom:1.6rem;
  font-family:var(--mono); font-size:.78rem; border:2px dashed var(--ink);
}

.menu-cats{ display:grid; grid-template-columns:1fr 1fr; gap:2.2rem 3.5rem; }
.menu-cat{ break-inside:avoid; }
.menu-cat__head{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  border-bottom:3px solid var(--ink); padding-bottom:.5rem; margin-bottom:1rem;
}
.menu-cat__title{ font-family:var(--display); font-size:1.9rem; text-transform:uppercase; line-height:1; }
.menu-cat__sub{ font-style:italic; font-size:.92rem; color:#5a5436; text-align:right; }
.menu-item{ padding:.75rem 0; border-bottom:1px dashed rgba(22,21,15,.28); }
.menu-item:last-child{ border-bottom:none; }
.menu-item__top{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
.menu-item__name{ font-family:var(--body); font-weight:800; font-size:1.12rem; display:inline-flex; align-items:center; gap:.45rem; flex-wrap:wrap; }
.menu-item__name .algs{ display:inline-flex; gap:.25rem; }
.menu-item__price{ font-family:var(--mono); font-weight:700; font-size:1.02rem; white-space:nowrap; }
.menu-item__desc{ margin-top:.3rem; font-size:.84rem; color:#46412c; line-height:1.4; max-width:54ch; }
.menu-item__desc .en{ display:block; color:#7c7558; font-style:italic; }

/* ============================================================
   RESERVATIONS (Superb)
   ============================================================ */
.resv{ background:var(--ink); color:var(--white); position:relative; overflow:hidden; }
.resv::after{ content:""; position:absolute; inset:0; background:url("../assets/img/pattern.svg") repeat; background-size:220px; opacity:.05; pointer-events:none; }
.resv__grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,5vw,4rem); align-items:center; position:relative; z-index:1; }
.resv__body .lead{ font-family:var(--display); text-transform:uppercase; font-size:clamp(2.2rem,5vw,3.6rem); line-height:.9; margin:.6rem 0 1rem; }
.resv__body .lead em{ font-style:normal; color:var(--yellow); }
.resv__body p{ color:var(--bone); max-width:46ch; margin-bottom:1.4rem; }
.resv__hours{ font-family:var(--mono); font-size:.82rem; color:var(--white); margin-top:1.4rem; display:grid; gap:.3rem; }
.resv__hours .row{ display:flex; justify-content:space-between; gap:2rem; max-width:360px; border-bottom:1px dashed rgba(247,245,236,.18); padding:.35rem 0; }
.resv__widget{
  background:var(--white); color:var(--ink); border-radius:14px; border:3px solid var(--yellow);
  padding:1.6rem; min-height:300px; box-shadow:8px 8px 0 rgba(239,206,0,.25);
}
.resv__widget h3{ font-family:var(--display); text-transform:uppercase; font-size:1.4rem; margin-bottom:.4rem; }
.resv-placeholder{
  border:2px dashed rgba(22,21,15,.35); border-radius:10px; padding:2rem 1.2rem; text-align:center;
  font-family:var(--mono); font-size:.78rem; color:#5a5436; margin-top:1rem;
}
@media (max-width:820px){
  .menu-cats{ grid-template-columns:1fr; }
  .resv__grid{ grid-template-columns:1fr; }
}

/* ============================================================
   STORY
   ============================================================ */
.story{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(1.5rem,5vw,4rem); align-items:center; }
.story__art{ position:relative; }
.story__art img{ border-radius:14px; border:3px solid var(--ink); box-shadow:8px 8px 0 var(--yellow); width:100%; }
.story__body p{ font-size:1.05rem; color:var(--bone); margin-bottom:1.1rem; max-width:54ch; }
.story__body p.lead{ font-family:var(--display); font-size:clamp(1.6rem,3vw,2.4rem); color:var(--white); line-height:1.05; text-transform:uppercase; margin-bottom:1.4rem; }
.sticker{
  position:absolute; z-index:5; rotate:-9deg;
  font-family:var(--display); text-transform:uppercase; font-size:1.05rem; line-height:1;
  background:var(--slime); color:var(--ink); padding:.6em .8em; border:2.5px solid var(--ink);
  border-radius:6px; box-shadow:3px 3px 0 var(--ink);
}

/* ============================================================
   BANNER (art direction)
   ============================================================ */
.banner{ position:relative; min-height:62vh; display:grid; place-items:center; text-align:center; overflow:hidden; background:var(--ink); }
.banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5; }
.banner__inner{ position:relative; z-index:2; padding:var(--gutter); }
.banner__big{ font-family:var(--display); text-transform:uppercase; font-size:clamp(2.6rem,9vw,8rem); line-height:.85; color:var(--yellow); text-shadow:5px 5px 0 var(--ink); }
.banner__sub{ font-family:var(--mono); letter-spacing:.2em; text-transform:uppercase; margin-top:1.2rem; color:var(--white); }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.3rem; }
.loc{ border:2px solid var(--ink); border-radius:10px; padding:1.6rem; background:var(--white); color:var(--ink); box-shadow:5px 5px 0 var(--ink); }
.loc h3{ font-family:var(--display); text-transform:uppercase; font-size:1.7rem; line-height:1; margin-bottom:.7rem; }
.loc p{ font-size:.92rem; margin-bottom:.3rem; }
.loc .hrs{ font-family:var(--mono); font-size:.78rem; margin-top:.9rem; padding-top:.9rem; border-top:2px dashed rgba(22,21,15,.25); }
.loc .open{ display:inline-block; font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:#0a7d3a; font-weight:700; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot{ background:var(--ink); border-top:3px solid var(--yellow); padding-top:clamp(3rem,7vw,5.5rem); }
.foot__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:2rem; padding-bottom:3rem; }
.foot__brand .big{ font-family:var(--display); font-size:clamp(3rem,8vw,6rem); line-height:.85; text-transform:uppercase; color:var(--yellow); }
.foot__brand p{ color:var(--bone); margin-top:1rem; max-width:34ch; font-size:.9rem; }
.foot col, .foot__col h4{ font-family:var(--mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--yellow); margin-bottom:1rem; }
.foot__col a{ display:block; padding:.35rem 0; color:var(--bone); font-size:.92rem; transition:color .2s, padding-left .2s; }
.foot__col a:hover{ color:var(--white); padding-left:6px; }
.newsletter{ display:flex; gap:.5rem; margin-top:.8rem; }
.newsletter input{ flex:1; min-width:0; background:var(--ink-soft); border:2px solid rgba(247,245,236,.2); border-radius:var(--radius); padding:.8em 1em; color:var(--white); font-family:var(--mono); font-size:.8rem; }
.newsletter input:focus{ outline:none; border-color:var(--yellow); }
.foot__bottom{ border-top:2px solid rgba(247,245,236,.12); padding:1.4rem 0; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--bone); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__art{ max-width:440px; margin-inline:auto; order:-1; }
  .story{ grid-template-columns:1fr; }
  .foot__top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .nav__name small{ display:none; }
  .foot__top{ grid-template-columns:1fr; }
  .hero__meta{ gap:1.2rem; }
  .section__head{ align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}
