/* Kusko Pizza — shared styles */
/* Self-hosted fonts */
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("assets/fonts/rubik-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("assets/fonts/rubik-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("assets/fonts/rubik-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("assets/fonts/rubik-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --cream: #f7f2e7;
  --paper: #fffdf7;
  --ink: #141414;
  --red: #ff3333;
  --red-dark: #d81f1f;
  --green: #7ed957;
  --yellow: #ffeb00;
  --cheese: #ffc300;
  --orange: #ff7a1a;
  --cyan: #5ce1e6;
  --lilac: #e3a8f2;
  --muted: #555;
  --border: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --radius: 14px;
  --max: 1120px;
  --display: "Titan One", "Arial Black", sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .5px; }
p { margin: 0 0 1em; }

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

/* Checkered strip (like the printed menu) */
.checker {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--red) 0 14px, #fff 14px 28px) top / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 14px, var(--red) 14px 28px) bottom / 100% 7px no-repeat;
}
.checker.green {
  background:
    repeating-linear-gradient(90deg, var(--green) 0 14px, #fff 14px 28px) top / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 14px, var(--green) 14px 28px) bottom / 100% 7px no-repeat;
}

/* Header / nav */
.site-header { background: var(--paper); border-bottom: var(--border); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 62px; height: auto; }
.brand span { font-family: var(--display); font-size: 1.35rem; color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; border: 2px solid transparent;
}
.nav-links a:hover { border-color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .5px;
  padding: 12px 24px; border: var(--border); border-radius: 999px;
  box-shadow: var(--shadow); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  background: var(--paper); color: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-yellow { background: var(--yellow); }
.btn-green { background: var(--green); }
.btn-sm { font-size: .95rem; padding: 8px 16px; box-shadow: 3px 3px 0 var(--ink); }
.nav .btn-sm { margin-left: 8px; }

/* Hero */
.hero { background: var(--green); border-bottom: var(--border); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 56px 20px 64px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.hero h1 .y { color: var(--yellow); }
.hero p.lead { font-size: 1.2rem; font-weight: 500; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-logo { filter: drop-shadow(6px 6px 0 rgba(0,0,0,.25)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } html { scroll-behavior: auto; } }

/* Info strip */
.info-strip { background: var(--ink); color: var(--paper); }
.info-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-top: 14px; padding-bottom: 14px; font-weight: 600; }
.info-strip a { text-decoration: none; }
.info-strip b { color: var(--yellow); font-weight: 600; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.tag {
  display: inline-block; font-family: var(--display); font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  padding: 6px 26px 8px; border: var(--border); border-radius: 10px; box-shadow: var(--shadow);
  transform: rotate(-1.5deg); background: var(--red); color: #fff;
}
.tag.orange { background: var(--orange); }
.tag.yellow { background: var(--yellow); color: var(--ink); }
.tag.green { background: var(--green); color: var(--ink); }
.tag.cyan { background: var(--cyan); color: var(--ink); }
.tag.lilac { background: var(--lilac); color: var(--ink); }
.tag.cheese { background: var(--cheese); color: var(--ink); }
.sub { color: var(--muted); max-width: 60ch; margin: 18px auto 0; }

.card {
  background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.feature h3 { font-size: 1.5rem; }
.feature .emoji { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }

.fav-list { list-style: none; padding: 0; margin: 0; }
.fav-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px dashed #c9c2b2; font-weight: 600; }
.fav-list li:last-child { border-bottom: 0; }

.cta-band { background: var(--red); border-top: var(--border); border-bottom: var(--border); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.cta-band .hero-ctas { justify-content: center; }

/* Page header */
.page-head { background: var(--yellow); border-bottom: var(--border); text-align: center; padding: 48px 0 44px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); margin-bottom: .25em; }
.page-head p { font-weight: 500; margin: 0 auto; max-width: 52ch; }
.page-head .hero-ctas { justify-content: center; }

/* Menu */
.menu-jump { position: sticky; top: 77px; z-index: 40; background: var(--cream); border-bottom: 2px solid var(--ink); }
.menu-jump ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 12px 20px; overflow-x: auto; max-width: var(--max); margin: 0 auto; scrollbar-width: none; }
.menu-jump ul::-webkit-scrollbar { display: none; }
.menu-jump a { display: block; white-space: nowrap; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: .92rem; }
.menu-jump a:hover { background: var(--yellow); }

.menu-section { padding: 48px 0 8px; scroll-margin-top: 140px; }
.menu-section .section-title { margin-bottom: 28px; }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 2px dashed #c9c2b2; }
.item-name { font-family: var(--display); font-size: 1.12rem; letter-spacing: .3px; }
.item-desc { display: block; font-family: var(--body); font-size: .93rem; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.item-price { font-family: var(--display); font-size: 1.12rem; white-space: nowrap; }
.badge { display: inline-block; font-family: var(--body); font-size: .72rem; font-weight: 700; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; letter-spacing: .4px; text-transform: uppercase; }

.pizza-table { width: 100%; border-collapse: collapse; background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pizza-table th, .pizza-table td { padding: 13px 16px; text-align: right; border-bottom: 2px dashed #d8d1c1; }
.pizza-table th:first-child, .pizza-table td:first-child { text-align: left; }
.pizza-table thead th { font-family: var(--display); font-weight: 400; background: var(--green); border-bottom: var(--border); font-size: 1.05rem; }
.pizza-table td { font-family: var(--display); font-size: 1.08rem; }
.pizza-table tr:last-child td { border-bottom: 0; }
.pizza-table td.span { text-align: center; }
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* About */
.story { font-size: 1.12rem; }
.story p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 3.6rem; line-height: .9; padding: 6px 10px 0 0; color: var(--red); }
.quote { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; background: var(--cheese); }
.quote cite { display: block; font-family: var(--body); font-style: normal; font-weight: 600; font-size: 1rem; margin-top: 14px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 2px dashed #c9c2b2; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-family: var(--display); font-size: .95rem; color: var(--red); letter-spacing: .5px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 2px dashed #c9c2b2; font-weight: 500; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr:last-child td { border-bottom: 0; }
.map { width: 100%; height: 380px; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: block; background: #ddd; }

/* Footer */
.site-footer { background: var(--ink); color: #eee; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--yellow); margin: 0 0 12px; letter-spacing: .5px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand img { width: 120px; margin-bottom: 10px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; color: #aaa; }
.footer-bottom a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

/* Focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; border: var(--border); z-index: 100; }
.skip:focus { left: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-logo { max-width: 260px; margin: 0 auto; order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .menu-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: var(--border); border-radius: 10px; background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink); cursor: pointer; font-size: 1.4rem; line-height: 1;
  }
  .nav { flex-wrap: wrap; }
  .nav .btn-sm { display: none; }
  .nav-links { display: none; width: 100%; flex-direction: column; margin: 0 0 14px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .menu-jump { top: 76px; }
  section { padding: 48px 0; }
  .card { padding: 20px; }
  .pizza-table th, .pizza-table td { padding: 11px 10px; }
  .pizza-table td { font-size: .98rem; }
  .map { height: 300px; }
}

/* Owner section */
.owner-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 44px; align-items: start; }
.owner-photo { margin: 0; background: var(--green); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; transform: rotate(-1.5deg); }
.owner-photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, var(--yellow) 0 34%, transparent 34.5%); opacity: .9; }
.owner-photo img { position: relative; width: 100%; height: auto; padding-top: 24px; }
.owner-photo figcaption { position: relative; background: var(--ink); color: #fff; font-family: var(--display); font-size: 1.35rem; padding: 12px 18px; border-top: var(--border); }
.owner-photo figcaption span { display: block; font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--yellow); }
.pull { margin: 6px 0 22px; padding: 14px 20px; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; background: var(--cheese); border: var(--border); border-radius: 10px; box-shadow: var(--shadow); transform: rotate(-.8deg); }
@media (max-width: 900px) { .owner-grid { grid-template-columns: minmax(0, 1fr); } .owner-photo { max-width: 360px; margin: 0 auto; } }
