/* ============================================================
   Pickles Café — sunny retro small-town diner
   Dill green · butter yellow · diner cream · rye brown · cherry-pie red
   Fonts: Lilita One (display) + Yellowtail (script) + Mulish (body)
   Signature motifs: pickle-jar roundel, scalloped awning edge,
   pickle checkmarks, chalkboard pie list
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Yellowtail&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --cream: #fdf8ec;
  --cream-deep: #f7edd3;
  --panel: #fffefa;
  --line: #eadfc2;
  --dill: #3f7042;
  --dill-deep: #2d5430;
  --dill-soft: #e4eede;
  --butter: #f2c94c;
  --butter-deep: #d9a91e;
  --cherry: #b3402f;
  --cherry-deep: #8e2f21;
  --ink: #362c1e;
  --muted: #7c6f58;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(54, 44, 30, 0.13);
}

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

body {
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.68;
}

img { max-width: 100%; display: block; }
::selection { background: var(--dill); color: #fff; }

h1, h2, h3 { font-family: 'Lilita One', Georgia, sans-serif; font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }
.script { font-family: 'Yellowtail', cursive; font-weight: 400; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem; }
a { color: var(--dill-deep); }

/* ---------- scalloped awning divider ---------- */
.scallop {
  height: 16px;
  background:
    radial-gradient(circle at 8px -6px, transparent 12px, var(--dill) 13px) top left / 32px 16px repeat-x;
}
.scallop--butter {
  background:
    radial-gradient(circle at 8px -6px, transparent 12px, var(--butter) 13px) top left / 32px 16px repeat-x;
}

/* ---------- topbar & header ---------- */
.topbar {
  background: var(--dill);
  color: #eef4e8;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.45rem 1rem;
}
.topbar strong { color: var(--butter); }
.topbar a { color: #f7e09a; font-weight: 800; text-decoration: none; }

header.site {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(54,44,30,0.07);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 1.4rem; max-width: 1180px; margin: 0 auto; flex-wrap: wrap;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 44px; height: 52px; border-radius: 8px 8px 14px 14px; flex-shrink: 0;
  background: var(--dill-soft); border: 3px solid var(--dill);
  position: relative;
  display: grid; place-items: center;
  font-size: 1.35rem;
}
.brand-mark::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 8px; border-radius: 3px;
  background: var(--butter); border: 2px solid var(--butter-deep);
}
.brand-name {
  font-family: 'Yellowtail', cursive;
  font-size: 1.9rem; color: var(--dill-deep); line-height: 0.9;
}
.brand-tag {
  display: block; font-family: 'Mulish', sans-serif;
  font-size: 0.67rem; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.25rem;
}
nav.main { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.97rem;
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: background 0.15s, color 0.15s;
}
nav.main a:hover { background: var(--dill-soft); color: var(--dill-deep); }
nav.main a.active { background: var(--dill); color: #fff; }
nav.main a.cta { background: var(--cherry); color: #fff; margin-left: 0.35rem; }
nav.main a.cta:hover { background: var(--cherry-deep); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 76vh;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35,28,17,0.3) 0%, rgba(35,28,17,0.08) 40%, rgba(30,24,14,0.85) 100%);
}
.hero-inner { padding-top: 5.5rem; padding-bottom: 3.2rem; width: 100%; }
.hero .kicker {
  display: inline-block; background: var(--butter);
  color: var(--ink); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 1.05rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem);
  max-width: 16ch; text-shadow: 0 3px 22px rgba(0,0,0,0.5);
}
.hero h1 .script { color: var(--butter); font-size: 1.15em; }
.hero p.lede {
  max-width: 54ch; margin: 1.1rem 0 1.8rem;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  color: #f8f0dc; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero .btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero--page { min-height: 44vh; }
.hero--page .hero-inner { padding-top: 4rem; padding-bottom: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-family: 'Mulish', sans-serif; font-size: 1rem;
  padding: 0.8rem 1.7rem; border-radius: 999px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-dill { background: var(--dill); color: #fff; }
.btn-dill:hover { background: var(--dill-deep); }
.btn-cherry { background: var(--cherry); color: #fff; }
.btn-cherry:hover { background: var(--cherry-deep); }
.btn-butter { background: var(--butter); color: var(--ink); }
.btn-butter:hover { background: var(--butter-deep); }
.btn-cream { background: #fffefa; color: var(--dill-deep); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- info strip ---------- */
.info-strip { background: var(--ink); color: #efe6d2; }
.info-strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.5rem 2rem; padding: 1.1rem 1.4rem;
}
.info-strip .cell { display: flex; align-items: center; gap: 0.75rem; font-size: 0.96rem; }
.info-strip .cell strong { display: block; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--butter); }
.info-strip a { color: #efe6d2; text-decoration: none; }
.info-strip a:hover { color: #fff; text-decoration: underline; }
.info-ico { font-size: 1.5rem; line-height: 1; }

/* ---------- sections ---------- */
section.block { padding: 4.4rem 0; }
section.block--deep { background: var(--cream-deep); }
.eyebrow {
  font-family: 'Yellowtail', cursive; font-size: 1.5rem;
  color: var(--cherry); margin-bottom: 0.1rem; line-height: 1;
}
.block h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 0.6rem; color: var(--dill-deep); }
.block h2 .script { color: var(--cherry); }
.block .sub { color: var(--muted); max-width: 62ch; margin-bottom: 2.2rem; font-size: 1.07rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 16px 40px rgba(54,44,30,0.2); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card .pad { padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--dill-deep); }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid #fff; outline: 1px solid var(--line); transform: rotate(-1deg);
}
.split.rev .split-img { transform: rotate(1deg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 840px) { .split, .split.rev { grid-template-columns: 1fr; gap: 1.8rem; } }

ul.checks { list-style: none; margin-top: 1rem; }
ul.checks li { padding-left: 2rem; position: relative; margin-bottom: 0.65rem; }
ul.checks li::before { content: "🥒"; position: absolute; left: 0; top: 0.05rem; font-size: 0.95rem; }

/* ---------- reviews ---------- */
.review {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem 1.5rem; position: relative; border: 1px solid var(--line);
  border-bottom: 4px solid var(--butter);
}
.review::before {
  content: "\201C"; font-family: 'Lilita One', serif; font-size: 3.4rem;
  color: var(--dill-soft); position: absolute; top: 0.5rem; left: 1.1rem; line-height: 1;
}
.review p { position: relative; font-size: 1rem; margin-bottom: 1rem; padding-top: 0.9rem; }
.review .who { font-weight: 800; color: var(--cherry-deep); font-size: 0.92rem; }
.review .stars { color: var(--butter-deep); letter-spacing: 0.12em; margin-bottom: 0.2rem; }

/* ---------- menu board ---------- */
.board {
  background: var(--panel);
  border: 3px solid var(--dill);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
}
.board-section { margin-bottom: 2.6rem; }
.board-section:last-child { margin-bottom: 0; }
.board-section > h3 {
  font-size: 1.45rem; color: var(--dill-deep);
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.3rem;
}
.board-section > h3::after {
  content: ""; flex: 1; height: 7px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--butter) 0 12px, transparent 12px 22px);
}
.board-section .note { color: var(--muted); font-size: 0.95rem; font-style: italic; margin-bottom: 1.1rem; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem 2.6rem; }
@media (max-width: 760px) { .items { grid-template-columns: 1fr; } }
.it { padding: 0.6rem 0.2rem; border-bottom: 2px dotted var(--line); }
.it .n { font-weight: 800; font-size: 1.02rem; }
.it .d { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.pill {
  display: inline-block; background: var(--cherry); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 0.1rem 0.6rem; margin-left: 0.45rem; vertical-align: 2px;
}
.pill--dill { background: var(--dill); }

/* ---------- chalkboard pie list ---------- */
.chalkboard {
  background: #2f3a2f; color: #f3ecd8;
  border: 10px solid #8a6a48; border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}
.chalkboard h3 {
  font-family: 'Yellowtail', cursive; color: var(--butter);
  font-size: 2rem; text-align: center; margin-bottom: 1rem;
}
.chalkboard ul { list-style: none; columns: 2; column-gap: 2rem; }
.chalkboard li {
  padding: 0.4rem 0; border-bottom: 1px dashed rgba(243,236,216,0.25);
  font-weight: 600; break-inside: avoid;
}
@media (max-width: 560px) { .chalkboard ul { columns: 1; } }
.chalkboard .foot { text-align: center; margin-top: 1rem; font-style: italic; color: #cfc7ab; font-size: 0.95rem; }

/* ---------- banner ---------- */
.banner {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
}
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(30,24,14,0.87) 0%, rgba(30,24,14,0.5) 60%, rgba(30,24,14,0.22) 100%);
}
.banner .pad { padding: 3.2rem 2.6rem; max-width: 62%; }
.banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.7rem; }
.banner p { color: #f5edda; margin-bottom: 1.5rem; }
@media (max-width: 720px) { .banner .pad { max-width: 100%; padding: 2.4rem 1.6rem; } }

/* ---------- hours & visit ---------- */
table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 0.7rem 0.4rem; border-bottom: 2px dotted var(--line); font-size: 1.02rem; }
table.hours td:last-child { text-align: right; font-weight: 800; }
table.hours tr.today td { color: var(--cherry-deep); font-weight: 800; }
table.hours tr.closed td { color: var(--muted); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid #fff; outline: 1px solid var(--line);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

.loc-card {
  background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 1.8rem 1.7rem;
}
.loc-card h3 { color: var(--dill-deep); font-size: 1.3rem; margin-bottom: 0.4rem; }

.tip {
  background: var(--dill-soft); border-left: 5px solid var(--dill);
  border-radius: 0 12px 12px 0; padding: 1rem 1.3rem;
  font-size: 0.97rem; margin: 1.6rem 0;
}
.tip strong { color: var(--dill-deep); }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #efe6d2; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding: 3rem 0 2rem;
}
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { font-family: 'Lilita One', sans-serif; color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
footer.site a { color: #efe6d2; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.45rem; font-size: 0.95rem; }
footer.site .brand-foot { font-family: 'Yellowtail', cursive; font-size: 1.8rem; color: var(--butter); }
footer.site p.small { font-size: 0.9rem; color: #cfc2a4; margin-top: 0.6rem; }
.footnote {
  border-top: 1px solid rgba(239,230,210,0.25);
  padding: 1.2rem 0 1.6rem; font-size: 0.85rem; color: #baab8b; text-align: center;
}
.footnote strong { color: #efe6d2; }
.footnote a { color: #f7e09a; }

@media (max-width: 640px) {
  .hero { min-height: 62vh; }
  nav.main { justify-content: center; width: 100%; }
  .nav-row { justify-content: center; }
}
