/* Independent guide to Jel’s Cafe, Tonbridge */

:root {
  --pine: #1e3d32;
  --pine-deep: #142821;
  --leaf: #3f6b54;
  --mustard: #c9a14a;
  --cream: #f3efe4;
  --paper: #fffcf6;
  --ink: #1c241f;
  --muted: #5c6b63;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(30, 61, 50, 0.1);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; }
a { color: var(--leaf); }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.2rem; }

.skip-link {
  position: absolute; top: -3rem; left: 1rem; z-index: 100;
  padding: 0.5rem 1rem; background: var(--pine); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.site-disclaimer {
  margin: 0; padding: 0.45rem 1rem; text-align: center;
  font-size: 0.84rem; line-height: 1.4;
  background: var(--pine-deep); color: #e8efe9;
}
.site-disclaimer a { color: var(--mustard); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem;
}
.logo {
  display: flex; flex-direction: column; justify-content: center;
  text-decoration: none; line-height: 1.05; min-width: 0;
}
.logo-word {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.55rem; letter-spacing: -0.03em; color: var(--pine); white-space: nowrap;
}
.logo-sub {
  margin-top: 0.12rem; font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; color: var(--muted);
}
.logo:hover .logo-word { color: var(--leaf); }
.nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; align-items: center;
}
.nav a {
  color: var(--pine); text-decoration: none; font-weight: 600;
  padding: 0.3em 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--leaf); border-bottom-color: var(--mustard); }
.nav-call, .header-call {
  background: var(--pine); color: #e8efe9 !important; border-radius: 999px;
  padding: 0.42rem 0.9rem !important; border-bottom: 0 !important; text-decoration: none; font-weight: 700;
}
.header-call { display: none; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--pine); width: 22px; }

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); box-shadow: var(--shadow); padding: 0.75rem 1.2rem 1rem;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .menu-toggle { display: flex; }
  .header-call { display: inline-block; font-size: 0.85rem; }
  .logo-word { font-size: 1.28rem; }
}

.hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  padding: 4rem 0; overflow: hidden; color: #f3efe4;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,40,33,0.88), rgba(30,61,50,0.52));
}
.hero-content { position: relative; z-index: 1; max-width: 38rem; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400; line-height: 1.15; margin: 0 0 0.8rem;
}
.hero-tagline { margin: 0 0 1.4rem; font-size: 1.12rem; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-credit {
  position: absolute; right: 1rem; bottom: 0.55rem; z-index: 2; margin: 0;
  max-width: min(32rem, calc(100% - 2rem)); font-size: 0.72rem; line-height: 1.35;
  color: rgba(255,253,248,0.9); text-align: right; text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.hero-credit a { color: var(--mustard); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 0.7rem 1.15rem; border: 2px solid transparent;
}
.btn-primary { background: var(--mustard); color: var(--pine-deep); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }

.section { padding: 3.4rem 0; }
.section h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--pine); margin: 0 0 0.85rem;
}
.section-intro { color: var(--muted); margin: 0 0 1.4rem; max-width: 42rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.img-attribution { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.img-attribution a { color: var(--pine); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.hours-card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem; border: 1px solid rgba(30,61,50,0.08);
}
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid rgba(30,61,50,0.08);
}
.hours-list li:last-child { border-bottom: 0; }
.note { font-size: 0.92rem; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow); border: 1px solid rgba(30,61,50,0.06);
}
.card h3 { margin: 0 0 0.4rem; color: var(--pine); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.faq-item { margin: 0 0 1rem; }
.faq-q { margin: 0 0 0.3rem; color: var(--pine); font-size: 1.08rem; }
.faq-a { margin: 0; }

.find-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.4rem; align-items: start; }
.map-wrap iframe { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); }
@media (max-width: 760px) { .find-grid { grid-template-columns: 1fr; } }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.15rem; }
.guide-card {
  display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  color: inherit; box-shadow: var(--shadow);
}
.guide-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.guide-card span { display: block; padding: 0.95rem 1.05rem 1.1rem; font-weight: 700; color: var(--pine); }
.guide-card:hover span { color: var(--leaf); }
.guide-card-text { min-height: 150px; align-items: center; justify-content: center; }

.guides-section { background: var(--paper); }
.guides-section h1, .article-page h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--pine); margin: 0 0 0.8rem; line-height: 1.15;
}
.guides-section h2 {
  font-family: var(--font-display); color: var(--pine); font-size: 1.55rem; margin: 2rem 0 1rem;
}
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--pine); }
.article-page { background: var(--paper); }
.article-page .lead { font-size: 1.15rem; }
.article-figure { margin: 1.2rem 0 1.5rem; max-width: 48rem; }
.article-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.article-body h2 {
  font-family: var(--font-display); color: var(--pine); font-size: 1.55rem; margin: 1.8rem 0 0.7rem;
}
.article-body p, .article-body li { max-width: 68ch; }
.related { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d7e0d8; }

.site-footer {
  background: var(--pine-deep); color: #eef3ef; padding: 1.6rem 0; text-align: center;
}
.site-footer p { margin: 0.25rem 0; font-size: 0.95rem; line-height: 1.55; color: #eef3ef; }
.site-footer a, .site-footer a:visited {
  color: #e3c56a; font-weight: 600; text-underline-offset: 0.15em;
}
.site-footer a:hover { color: #fff8dc; }
.site-footer .photo-credits {
  margin-top: 0.85rem; font-size: 0.8rem; line-height: 1.5; color: #d5e0d8;
  max-width: 46rem; margin-left: auto; margin-right: auto;
}

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.1rem; background: var(--pine-deep); color: #fff; font-size: 0.88rem;
}
.cookie-bar a { color: var(--mustard); }
.cookie-bar-ok {
  border: 0; background: var(--mustard); color: var(--pine-deep); font-weight: 700;
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
}
