/* Independent guide to Dolley’s Dream, Tonbridge */

:root {
  --cocoa: #4a2c2a;
  --cocoa-deep: #321c1a;
  --rose: #b5654a;
  --gold: #d4a574;
  --cream: #faf4ec;
  --paper: #fffdf8;
  --ink: #2b211c;
  --muted: #6b574c;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(74, 44, 42, 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(--rose); }
.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(--cocoa); 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(--cocoa-deep); color: #f4e6d4;
}
.site-disclaimer a { color: var(--gold); }

.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: 600;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  color: var(--cocoa);
  white-space: nowrap;
}
.logo-sub {
  margin-top: 0.18rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.logo:hover .logo-word { color: var(--rose); }
.nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; align-items: center;
}
.nav a {
  color: var(--cocoa); text-decoration: none; font-weight: 600;
  padding: 0.3em 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--rose); border-bottom-color: var(--gold); }
.nav-call, .header-call {
  background: var(--cocoa); color: #f4e6d4 !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(--cocoa); 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.18rem; }
  .logo-sub { letter-spacing: 0.1em; }
}

.hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  padding: 4rem 0; overflow: hidden; color: #faf4ec;
}
.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(50,28,26,0.86), rgba(74,44,42,0.55));
}
.hero-content { position: relative; z-index: 1; max-width: 38rem; }
.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: #f0c48a; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 600; 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; }
.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(--gold); color: var(--cocoa-deep); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

.section { padding: 3.4rem 0; }
.section h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--cocoa); 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(--cocoa); }
@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(74,44,42,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(74,44,42,0.08);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .closed { color: var(--rose); font-weight: 700; }
.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(74,44,42,0.06);
}
.card h3 { margin: 0 0 0.4rem; color: var(--cocoa); 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(--cocoa); 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(--cocoa);
}
.guide-card:hover span { color: var(--rose); }
.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(--cocoa); margin: 0 0 0.8rem; line-height: 1.15;
}
.guides-section h2 {
  font-family: var(--font-display); color: var(--cocoa); font-size: 1.55rem; margin: 2rem 0 1rem;
}
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--cocoa); }
.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(--cocoa); 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 #ead9c8; }

.site-footer {
  background: var(--cocoa-deep); color: #f7f3ea; padding: 1.6rem 0; text-align: center;
}
.site-footer p { margin: 0.25rem 0; font-size: 0.95rem; line-height: 1.55; color: #f7f3ea; }
.site-footer a, .site-footer a:visited {
  color: #f0c48a; 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: #e8dcc8;
  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(--cocoa-deep); color: #fff; font-size: 0.88rem;
}
.cookie-bar a { color: var(--gold); }
.cookie-bar-ok {
  border: 0; background: var(--gold); color: var(--cocoa-deep); font-weight: 700;
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
}

.source-list { font-size: 0.92rem; color: var(--muted); }
.source-list a { color: var(--cocoa); }
