/* ═══════════════════════════════════════════════════════
   COCKS — America's Most Trusted Family Restaurant™
   Retro 90s casual-dining chain aesthetic. Played straight.
   ═══════════════════════════════════════════════════════ */

:root {
  --orange: #F05F2D;        /* sampled from the logo */
  --orange-dark: #C94418;
  --orange-deep: #A33210;
  --red: #D8262C;
  --cream: #FFF4E4;
  --cream-dark: #F7E4C6;
  --mustard: #FFB937;
  --ink: #26150F;
  --ink-soft: #4A2E22;
  --white: #FFFFFF;
  --display: "Titan One", cursive;
  --body: "Baloo 2", sans-serif;
  --marker: "Permanent Marker", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--mustard); color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .03em;
  text-decoration: none;
  padding: .8em 1.6em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.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-cream { background: var(--cream); color: var(--orange-dark); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-small { font-size: .85rem; padding: .55em 1.2em; }

/* ── Marquee ─────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--mustard);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .12em;
  padding: .45em 0;
}
.marquee-track { display: inline-block; animation: scroll 32s linear infinite; }
.marquee-track span { margin-right: 2.8em; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: .6rem 1.4rem;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--orange-dark);
  text-decoration: none;
}
.nav-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
}
.nav-links { display: flex; gap: 1.15rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav-links a:hover { color: var(--orange-dark); border-color: var(--mustard); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: rgb(239, 95, 46); /* exact logo background — keeps the PNG seamless */
  text-align: center;
  padding: 3.2rem 1.5rem 7.5rem;
}
.hero-logo {
  width: min(390px, 78vw);
  margin: 0 auto;
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
.hero-est {
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .28em;
  color: #FFD9C4;
  margin-top: .6rem;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  color: var(--white);
  margin: .5rem auto .9rem;
  text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 rgba(0,0,0,.18);
}
.tm { font-size: .45em; vertical-align: super; }
.hero-sub {
  font-family: var(--marker);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: #FFEEDF;
  transform: rotate(-1.4deg);
  margin-bottom: 1.8rem;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 64px; }

/* ── Section basics ─────────────────────────────────── */
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3rem);
  color: var(--orange);
  text-shadow: 2.5px 2.5px 0 var(--ink);
  letter-spacing: .02em;
}

.sticker {
  display: inline-block;
  font-family: var(--display);
  font-size: .85rem;
  letter-spacing: .1em;
  padding: .45em 1.1em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1rem;
}
.sticker-red { background: var(--red); color: var(--white); }
.sticker-cream { background: var(--cream); color: var(--orange-dark); }

/* ── Story ───────────────────────────────────────────── */
.story { padding: 4.2rem 1.5rem 3.6rem; }
.story-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.story-inner p { margin-top: 1.1rem; font-size: 1.08rem; }
.story-inner .section-title { margin-bottom: .4rem; }
.story-sign {
  font-family: var(--marker);
  font-size: 1.3rem;
  color: var(--orange-dark);
  transform: rotate(-2deg);
}

/* ── Featured ────────────────────────────────────────── */
.featured {
  background: var(--ink);
  padding: 4.5rem 1.5rem;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.featured-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 3.2rem;
  align-items: center;
}
.polaroid {
  background: var(--white);
  padding: 14px 14px 3.4rem;
  transform: rotate(-2.6deg);
  box-shadow: 0 16px 34px rgba(0,0,0,.45);
  position: relative;
  transition: transform .25s ease;
}
.polaroid:hover { transform: rotate(-.6deg) scale(1.015); }
.polaroid::before {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 120px; height: 32px;
  background: rgba(255,220,120,.75);
  border-left: 1px dashed rgba(0,0,0,.12);
  border-right: 1px dashed rgba(0,0,0,.12);
}
.polaroid img { border: 1px solid rgba(0,0,0,.08); }
.polaroid figcaption {
  font-family: var(--marker);
  color: var(--ink-soft);
  text-align: center;
  margin-top: .9rem;
  font-size: 1rem;
}
.featured-copy { color: var(--cream); }
.featured-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.05;
  color: var(--mustard);
  text-shadow: 3px 3px 0 rgba(0,0,0,.4);
  margin-bottom: 1rem;
}
.featured-copy p { margin-bottom: .9rem; max-width: 46ch; }
.featured-price {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--white);
}
.featured-price span { font-family: var(--body); font-size: .95rem; color: var(--cream-dark); }
.featured .btn { margin-top: .4rem; }

/* ── Fresh From the Kitchen (gallery) ────────────────── */
.gallery { padding: 4.2rem 1.5rem 3.4rem; }
.gallery-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  align-items: start;
}
.polaroid-sm {
  padding: 10px 10px 2.6rem;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}
.polaroid-sm figcaption { font-size: .92rem; margin-top: .7rem; }
.polaroid-sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }
.tilt-l:hover, .tilt-r:hover { transform: rotate(0deg) scale(1.02); }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ── Menu ────────────────────────────────────────────── */
.menu {
  padding: 4.5rem 1.5rem 4rem;
  background:
    radial-gradient(rgba(240,95,45,.07) 1.5px, transparent 1.5px) 0 0 / 26px 26px,
    var(--cream);
}
.menu-head { text-align: center; max-width: 700px; margin: 0 auto 2.6rem; }
.menu-tag {
  font-family: var(--marker);
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-top: .5rem;
  transform: rotate(-1deg);
}
.menu-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem;
}
.menu-cat {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--orange-dark);
  border-bottom: 4px dotted var(--orange);
  padding-bottom: .3rem;
  margin: 1.8rem 0 1.1rem;
}
.menu-col .menu-cat:first-child { margin-top: 0; }
.mi { margin-bottom: 1.15rem; }
.mi-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  border-bottom: 2px dotted rgba(38,21,15,.3);
  padding-bottom: .15rem;
}
.mi-name { font-weight: 800; font-size: 1.02rem; }
.mi-price { font-family: var(--display); color: var(--orange-dark); white-space: nowrap; }
.mi-desc { font-size: .92rem; color: var(--ink-soft); margin-top: .3rem; }
.mi-star {
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: .8rem .9rem .6rem;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-.6deg);
}
.mi-star .mi-desc { color: var(--ink); }
.kids-box {
  margin-top: 2rem;
  border: 3px dashed var(--ink);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  background: var(--cream-dark);
}
.kids-box h4 { font-family: var(--display); color: var(--red); margin-bottom: .3rem; }
.kids-box p { font-size: .92rem; }

/* ── Happy Endings Hour ──────────────────────────────── */
.happy {
  background:
    repeating-linear-gradient(-45deg, rgba(255,185,55,.12) 0 22px, transparent 22px 44px),
    var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3.6rem 1.5rem;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.happy-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  color: var(--mustard);
  text-shadow: 3px 3px 0 rgba(0,0,0,.4);
}
.happy-sub { font-weight: 700; font-size: 1.15rem; margin-top: .7rem; }
.happy-line { font-family: var(--marker); color: #FFD9C4; margin-top: .5rem; transform: rotate(-1deg); }

/* ── Meet the Guys ───────────────────────────────────── */
.guys { padding: 4.5rem 1.5rem 3.6rem; }
.guys-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.guy-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.1rem 1.1rem 1.4rem;
  text-align: center;
  transition: transform .2s ease;
}
.guy-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.guy-card h3 { font-family: var(--display); font-size: 1.5rem; color: var(--orange-dark); margin-top: .9rem; }
.guy-role {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: .15rem 0 .5rem;
}
.guy-bio { font-size: .92rem; color: var(--ink-soft); }
.guy-photo {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 3px dashed var(--orange);
  background:
    radial-gradient(ellipse at 50% 30%, #FFD9C4, var(--cream-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  overflow: hidden;
}
.guy-photo span { font-size: 3.4rem; filter: saturate(1.2); }
.guy-photo p { font-family: var(--marker); font-size: .95rem; color: var(--ink-soft); text-align: center; }
.guy-photo img { width: 100%; height: 100%; object-fit: cover; }
.guys-note {
  text-align: center;
  font-family: var(--marker);
  color: var(--ink-soft);
  margin-top: 2rem;
  transform: rotate(-1deg);
}

/* ── Birthdays & Calendar ────────────────────────────── */
.birthday { padding: 1rem 1.5rem 4.2rem; }
.birthday-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.birthday-box {
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 1.8rem 1.8rem 1.6rem;
  transform: rotate(-.7deg);
}
.calendar-box { background: var(--cream-dark); transform: rotate(.7deg); }
.birthday-title { font-family: var(--display); font-size: 1.7rem; color: var(--orange-deep); margin-bottom: .7rem; }
.birthday-box p { margin-bottom: .7rem; font-size: .98rem; }
.birthday-lyric { font-family: var(--marker); font-size: 1.05rem; color: var(--red); transform: rotate(-1deg); }
.birthday-small { font-size: .85rem; color: var(--ink-soft); }

/* ── Careers ─────────────────────────────────────────── */
.careers {
  background:
    radial-gradient(ellipse at 50% -30%, rgba(255,255,255,.16), transparent 60%),
    var(--orange);
  text-align: center;
  padding: 4.2rem 1.5rem;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  color: var(--white);
}
.careers-inner { max-width: 640px; margin: 0 auto; }
.careers-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  text-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1rem;
}
.careers-inner p { margin-bottom: .9rem; font-size: 1.05rem; }
.careers-rule { font-family: var(--marker); font-size: 1.2rem; color: #FFE9A8; transform: rotate(-1.2deg); }
.careers .btn { margin-top: .8rem; }

/* ── Locations ───────────────────────────────────────── */
.locations { padding: 4.5rem 1.5rem 4.2rem; }
.loc-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.loc-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.4rem 1.4rem 1.5rem;
  text-align: center;
}
.loc-card h3 { font-family: var(--display); color: var(--orange-dark); font-size: 1.25rem; margin-bottom: .5rem; }
.loc-card p { font-size: .95rem; color: var(--ink-soft); }
.loc-note {
  text-align: center;
  font-family: var(--marker);
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 2.2rem;
  transform: rotate(-1deg);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3.6rem 1.5rem 2.6rem;
}
.footer-logo {
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  object-fit: cover;
  margin: 0 auto 1.2rem;
}
.footer-links { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-links a { color: var(--mustard); text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-jingle {
  font-family: var(--display);
  color: var(--orange);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 1.6rem;
  line-height: 1.4;
}
.footer-legal { max-width: 640px; margin: 0 auto; }
.footer-legal p { font-size: .78rem; color: #B99C8A; margin-bottom: .6rem; }

/* ── Reveal animation ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo { animation: none; }
  .marquee-track { animation-duration: 90s; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .guys-grid { grid-template-columns: 1fr 1fr; }
  .featured-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .polaroid { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav { gap: .8rem; }
  .nav-links { display: none; }
  .menu-grid, .guys-grid, .loc-grid, .birthday-inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 6rem; }
}
