:root {
  --ink: #27231f;
  --muted: #726a60;
  --paper: #f6efe3;
  --paper-2: #fffaf2;
  --card: #fffdf9;
  --line: #ded3c4;
  --accent: #d85f32;
  --accent-dark: #9f3f1d;
  --sage: #7d8f6a;
  --blue: #487a88;
  --shadow: 0 18px 50px rgba(67, 47, 31, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 9vw, 7.7rem); }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { margin-bottom: 8px; font-size: 1.15rem; line-height: 1.25; }
p { margin-bottom: 0; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(39, 35, 31, 0.12);
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-block: 72px;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-lead { max-width: 620px; color: #4d463e; font-size: clamp(1.15rem, 2.2vw, 1.55rem); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0; }
.quick-facts span, .command-list span {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
  font-size: 0.9rem;
  font-weight: 750;
}
.primary-button {
  display: inline-block;
  padding: 15px 21px;
  border-radius: 13px;
  color: white;
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.hero-photo { position: relative; margin: 0; }
.hero-photo::before {
  position: absolute;
  z-index: -1;
  inset: 8% -8% -5% 9%;
  border-radius: 44% 56% 49% 51%;
  background: #e1bb86;
  content: "";
  transform: rotate(4deg);
}
.hero-photo img { aspect-ratio: auto; border-radius: 47% 47% 28px 28px; box-shadow: var(--shadow); object-fit: contain; object-position: center; }
.hero-photo figcaption {
  position: absolute;
  right: -12px;
  bottom: 24px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  background: rgba(255,253,249,0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 8px; }
#must-know, #walk, .after-walk, .route-section { padding-block: 110px; }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule-card { min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 8px 24px rgba(67,47,31,0.05); }
.rule-card.critical { color: white; border-color: var(--accent); background: var(--accent); }
.rule-number { display: block; margin-bottom: 86px; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.1em; }
.rule-card h3 { font-family: Georgia, serif; font-size: 1.65rem; }

.walk-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.instruction-list { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-weight: 850; }
.step p, .info-card p, .finish-list p, .guide-steps p, .water-guide p, .quiet-note p, .route-placeholder p { color: var(--muted); }
.sketch-pair { display: grid; gap: 14px; }
.sketch-card { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.sketch-card img {
  height: clamp(240px, 24vw, 360px);
  aspect-ratio: auto;
  background: #f4ede0;
  object-fit: contain;
}
.sketch-card.treats-card img { aspect-ratio: auto; object-position: center; }
.sketch-card figcaption { display: grid; padding: 16px 18px; }
.sketch-card figcaption span { color: var(--muted); font-size: 0.85rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 62px; }
.info-card { min-height: 230px; padding: 25px; border-radius: 19px; background: #dedac9; }
.info-card.warm { background: #edc49c; }
.info-card.rain { background: #bad0d6; }
.info-label { display: inline-block; margin-bottom: 48px; font-size: 0.74rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.walk-guidance { margin-top: 82px; padding-top: 54px; border-top: 1px solid var(--line); }
.compact-heading { display: block; margin-bottom: 30px; }
.guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guidance-card { padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); }
.guidance-mark { display: grid; width: 42px; height: 42px; margin-bottom: 34px; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-size: 1.2rem; font-weight: 900; }
.guidance-card h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.35rem; }
.guidance-card p { color: var(--muted); }

.dark-section { color: white; background: var(--ink); }
.dark-inner { padding-block: 110px; }
.section-heading.light .eyebrow { color: #f2a67d; }
.dog-behaviour { display: grid; grid-template-columns: 1fr 0.75fr; gap: 70px; align-items: end; }
.large-copy { max-width: 650px; font-family: Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 3.2rem); line-height: 1.12; }
.check-list { display: grid; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li::before { margin-right: 12px; color: #f2a67d; content: "✓"; font-weight: 900; }
.dog-warning-column { display: grid; gap: 16px; min-width: 0; }
.dog-warning-sketch { overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,0.19); border-radius: 20px; background: #f4ede0; }
.dog-warning-sketch img { width: 100%; height: auto; max-height: 410px; object-fit: contain; }
.dog-warning-sketch figcaption { padding: 14px 16px; color: #f4ede0; background: rgba(39,35,31,0.96); font-size: 0.82rem; font-weight: 750; line-height: 1.35; }
.never-card { padding: 28px; border: 1px solid rgba(255,255,255,0.19); border-radius: 20px; background: rgba(255,255,255,0.06); }
.never-card > span { display: grid; width: 44px; height: 44px; margin-bottom: 26px; place-items: center; border-radius: 50%; color: var(--ink); background: #f2a67d; font-weight: 900; }

.section-shell:has(.command-list) { padding-block: 110px; }
.command-list { display: flex; flex-wrap: wrap; gap: 11px; }
.command-list span { padding: 13px 20px; color: white; border: 0; background: var(--sage); font-size: 1rem; }
.note { max-width: 670px; margin-top: 24px; color: var(--muted); }
.finish-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.finish-list li { display: grid; grid-template-columns: 60px 1fr; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.finish-list li > span { color: var(--accent); font-family: Georgia, serif; font-size: 1.5rem; }

.home-section { padding-block: 110px; background: var(--paper-2); }
.photo-badge { display: inline-block; margin-bottom: 18px; padding: 7px 10px; border-radius: 999px; color: white; background: var(--blue); font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }
.feeder-guide { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.guide-visual { margin: 0; padding: 18px 18px 0; background: #f4ede0; }
.guide-visual img { aspect-ratio: auto; border-radius: 15px; object-fit: contain; }
.guide-visual figcaption { padding: 13px 4px 17px; color: var(--muted); font-size: 0.82rem; font-weight: 750; text-align: center; }
.guide-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-steps li { min-width: 0; padding: 24px 20px 28px; }
.guide-steps li + li { border-left: 1px solid var(--line); }
.guide-steps li > span { display: grid; width: 36px; height: 36px; margin-bottom: 36px; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-family: Georgia, serif; font-weight: 800; }
.guide-steps h3 { min-height: 2.5em; font-family: Georgia, serif; font-size: 1.25rem; }
.guide-steps p { font-size: 0.9rem; }
.water-guide { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 38px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.water-guide img { aspect-ratio: auto; border-radius: 15px; object-fit: contain; }
.water-guide > div { padding: 22px 30px 22px 0; }
.water-guide h3 { font-family: Georgia, serif; font-size: 1.75rem; }
.quiet-note { display: grid; grid-template-columns: 56px 1fr; gap: 18px; max-width: 800px; margin-top: 42px; padding: 25px; border: 1px solid var(--line); border-radius: 19px; }
.quiet-note > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-size: 1.7rem; }

.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.route-card { overflow: hidden; margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.route-card img { width: 100%; height: clamp(250px, 32vw, 430px); background: #f4f1ec; object-fit: contain; }
.route-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.route-card figcaption strong { font-family: Georgia, serif; font-size: 1.05rem; }
.route-card figcaption span { flex: none; color: var(--muted); font-size: 0.88rem; font-weight: 800; }

.contact-section { padding-block: 100px; color: white; background: var(--accent); }
.contact-section .eyebrow { color: #582514; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.contact-inner h2 { margin-bottom: 25px; }
.contact-actions { display: grid; gap: 10px; }
.contact-button { padding: 18px 20px; border: 1px solid rgba(255,255,255,0.42); border-radius: 15px; font-weight: 850; text-decoration: none; }
.contact-button.primary { color: var(--ink); border-color: white; background: white; }
.contact-button.muted { color: #fff1e9; }
.contact-button small { font-weight: 550; opacity: 0.76; }

footer { display: flex; justify-content: space-between; padding: 30px max(20px, calc((100vw - 1180px) / 2)); color: #aaa198; background: var(--ink); font-size: 0.85rem; }
footer p { margin: 0; }
.mobile-actions { display: none; }

@media (max-width: 860px) {
  .section-shell { width: min(100% - 28px, 680px); }
  nav { display: none; }
  .topbar { min-height: 62px; padding-inline: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 46px 80px; }
  .hero-copy { order: 2; }
  .hero-photo { order: 1; width: min(100%, 470px); margin-inline: auto; }
  .hero-photo::before { inset: 8% 0 -5% 9%; transform: none; }
  .hero-photo img { aspect-ratio: auto; object-position: center; }
  h1 { font-size: clamp(3.7rem, 18vw, 6.4rem); }
  .section-heading { display: block; }
  #must-know, #walk, .after-walk, .route-section, .dark-inner, .home-section, .section-shell:has(.command-list) { padding-block: 78px; }
  .rule-grid, .info-grid, .guidance-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 235px; }
  .rule-number { margin-bottom: 48px; }
  .walk-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-steps { grid-template-columns: 1fr; }
  .guide-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 21px; }
  .guide-steps li + li { border-top: 1px solid var(--line); border-left: 0; }
  .guide-steps li > span { margin-bottom: 0; }
  .guide-steps h3 { min-height: 0; }
  .water-guide { grid-template-columns: 1fr; gap: 0; }
  .water-guide > div { padding: 24px 8px 12px; }
  .dog-behaviour, .contact-inner { grid-template-columns: 1fr; gap: 42px; }
  .contact-section { padding-block: 75px 110px; }
  footer { padding-bottom: 94px; }
  .mobile-actions {
    position: fixed;
    z-index: 30;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
    background: rgba(39,35,31,0.94);
    box-shadow: 0 14px 40px rgba(0,0,0,0.26);
    backdrop-filter: blur(16px);
  }
  .mobile-actions a { padding: 11px 6px; color: white; font-size: 0.78rem; font-weight: 800; text-align: center; text-decoration: none; }
  .mobile-actions a + a { border-left: 1px solid rgba(255,255,255,0.16); }
}

@media (max-width: 520px) {
  .hero { gap: 36px; }
  .hero-photo figcaption { right: 8px; bottom: 12px; }
  .sketch-card figcaption { padding: 13px; }
  .guide-visual { padding: 8px 8px 0; }
  .guide-visual img { aspect-ratio: auto; object-fit: contain; }
  .section-heading { margin-bottom: 32px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card img { height: auto; max-height: 430px; }
  .finish-list li { grid-template-columns: 42px 1fr; }
  .quiet-note { grid-template-columns: 1fr; }
  footer { display: grid; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
