@charset "UTF-8";

/* ==========================================================================
   Listen Up Pup — Canine Training Center
   Single stylesheet. No web fonts, no external requests.
   ========================================================================== */

:root {
  --maroon: #7b1f24;
  --maroon-dark: #5c1618;
  --maroon-soft: #a8434a;
  --gold: #c6922a;
  --gold-soft: #f3e6c9;
  --ink: #33302c;
  --muted: #6b655d;
  --paper: #ffffff;
  --cream: #fbf7f0;
  --cream-dark: #f3ece0;
  --line: #e6ddcf;
  --shadow: 0 1px 2px rgba(51, 48, 44, .06), 0 8px 24px rgba(51, 48, 44, .06);
  --radius: 12px;
  --wrap: 1120px;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Iowan Old Style", serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("../../images/strbkgde.gif");
}

img { max-width: 100%; height: auto; }

/* Grid and flex children default to min-width:auto, which lets a wide image
   push the whole page sideways on a phone. Every multi-column container gets
   its children shrunk properly instead. */
.two-col > *,
.hero-grid > *,
.cards > *,
.gallery > *,
.stats > *,
.directory > *,
.footer-grid > *,
.masthead > * { min-width: 0; }

figure { margin: 0; }

body { overflow-x: hidden; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--maroon-dark); }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.7rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); margin: 2.4rem 0 .7rem; }
h3 { font-size: 1.17rem; margin: 1.8rem 0 .5rem; }
h4 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
p { margin: 0 0 1.05rem; }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: .5rem; font-size: .92rem; font-style: normal; color: var(--ink); }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--maroon); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- header ---------- */

.site-header { background: var(--paper); border-top: 5px solid var(--maroon); box-shadow: 0 1px 0 var(--line); }

.masthead { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; padding: 1rem 0 .9rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand img { width: 288px; max-width: 62vw; height: auto; }
.brand-text { display: none; }
.masthead-contact { margin-left: auto; text-align: right; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.masthead-contact a { font-weight: 600; text-decoration: none; }
.masthead-contact .phone { display: block; font-size: 1.12rem; color: var(--maroon-dark); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .5rem;
  background: var(--maroon); color: #fff; border: 0; border-radius: 999px;
  padding: .55rem 1rem; font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle:hover { background: var(--maroon-dark); }

.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .15rem .35rem; list-style: none; margin: 0; padding: .35rem 0; }
.site-nav a {
  display: block; padding: .45rem .7rem; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: .96rem; font-weight: 600;
}
.site-nav a:hover { background: var(--cream-dark); color: var(--maroon-dark); }
.site-nav a[aria-current="page"] { background: var(--maroon); color: #fff; }

.subnav { background: var(--cream-dark); border-top: 1px solid var(--line); }
.subnav ul { display: flex; flex-wrap: wrap; gap: .1rem .3rem; list-style: none; margin: 0; padding: .3rem 0; }
.subnav li { margin: 0; }
.subnav .subnav-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); align-self: center; padding: .3rem .5rem .3rem 0;
}
.subnav a { display: block; padding: .3rem .6rem; border-radius: 6px; font-size: .89rem; text-decoration: none; color: var(--maroon-dark); }
.subnav a:hover { background: var(--paper); }
.subnav a[aria-current="page"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- hero & bands ---------- */

.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.6rem 0 2.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: center; }
.hero .lead { font-size: 1.14rem; color: var(--muted); max-width: 46ch; }
.hero-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.hero-media img {
  border-radius: var(--radius); box-shadow: var(--shadow); display: block;
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
}
.hero-media .wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

.band { padding: 2.6rem 0; }
.band-cream { background: var(--cream-dark); }
.band-maroon { background: var(--maroon-dark); color: #f7efe6; }
.band-maroon h2, .band-maroon h3 { color: #fff; }
.band-maroon a { color: #ffdca8; }

.section-intro { max-width: 68ch; color: var(--muted); }

/* ---------- components ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--maroon); color: #fff; text-decoration: none;
  padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid var(--maroon);
}
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }

.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { font-weight: 600; text-decoration: none; }
.card .more::after { content: " →"; }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--maroon); }
.stats span { font-size: .93rem; color: var(--muted); }

.notice {
  background: var(--gold-soft); border: 1px solid #e3cf9d; border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.notice p:last-child { margin-bottom: 0; }
.notice h2, .notice h3 { margin-top: 0; }

.paw-list { list-style: none; padding-left: 0; }
.paw-list li {
  position: relative; padding-left: 1.6rem;
}
.paw-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: .95em; height: .85em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cg fill='%237b1f24'%3E%3Cellipse cx='16' cy='19' rx='8' ry='7'/%3E%3Cellipse cx='5.5' cy='11.5' rx='3.4' ry='4'/%3E%3Cellipse cx='12' cy='6' rx='3.4' ry='4'/%3E%3Cellipse cx='20' cy='6' rx='3.4' ry='4'/%3E%3Cellipse cx='26.5' cy='11.5' rx='3.4' ry='4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.facts { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts caption { text-align: left; font-size: .92rem; color: var(--muted); padding-bottom: .5rem; }
.facts th, .facts td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { background: var(--cream-dark); font-family: var(--font-display); color: var(--maroon-dark); white-space: nowrap; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

/* Photograph galleries. The photographs were taken in both landscape and
   portrait, so every thumbnail is cropped to a square — the cards line up and
   each caption sits directly under its picture. Wide banner photographs opt out
   with .banner and keep their own proportions. */
.gallery { display: grid; gap: 1.1rem; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; }
.gallery figure {
  margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem; box-shadow: var(--shadow);
}
.gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.gallery .banner { grid-column: 1 / -1; }
.gallery .banner img { aspect-ratio: auto; }
.gallery figcaption { font-size: .92rem; color: var(--muted); padding: .6rem .2rem .1rem; }

.breadcrumbs { font-size: .88rem; color: var(--muted); padding: 1.1rem 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumbs a { text-decoration: none; }

.page-head { padding: 1.2rem 0 .4rem; }
.page-head .lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

.prose { max-width: 74ch; }
.prose h2 { padding-top: .4rem; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
.figure-inline { margin: 1.4rem 0; }
.figure-inline img { border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.figure-inline figcaption { font-size: .92rem; color: var(--muted); padding-top: .5rem; }
.portrait { max-width: 390px; }
.rounded-frame { border-radius: var(--radius); box-shadow: var(--shadow); }

.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.1rem; margin-bottom: .7rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--maroon-dark); font-family: var(--font-display); font-size: 1.05rem; }
.faq details[open] summary { margin-bottom: .6rem; }
.faq p:last-child { margin-bottom: 0; }

.cta {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--maroon);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 2.2rem 0 0;
  box-shadow: var(--shadow);
}
.cta h2 { margin-top: 0; }

.directory { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); list-style: none; margin: 0; padding: 0; }
.directory li { margin: 0; }
.directory a {
  display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; text-decoration: none; font-weight: 600; color: var(--maroon-dark);
}
.directory a:hover { border-color: var(--maroon-soft); }
.directory span { display: block; font-weight: 400; font-size: .89rem; color: var(--muted); }

/* ---------- footer ---------- */

.site-footer { background: var(--maroon-dark); color: #f0e4d8; margin-top: 3rem; padding: 2.6rem 0 1.6rem; }
.site-footer h2 { color: #fff; font-size: 1.12rem; margin: 0 0 .7rem; }
.site-footer a { color: #ffdca8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .35rem; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.6; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2rem; padding-top: 1rem;
  font-size: .86rem; color: #e2cfc0;
}
.footer-note p { margin-bottom: .4rem; }

.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  background: var(--maroon); color: #fff; border: 0; border-radius: 999px;
  padding: .65rem .95rem; font: inherit; font-size: .9rem; cursor: pointer; box-shadow: var(--shadow);
}
.to-top[hidden] { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .gallery, .gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead { padding: .8rem 0; }
  .brand img { width: 230px; }
  .masthead-contact { text-align: left; margin-left: 0; width: 100%; }
  .nav-toggle { display: inline-flex; }
  .site-nav { border-top: 0; }
  .site-nav[data-collapsed="true"] ul,
  .subnav[data-collapsed="true"] ul { display: none; }
  .site-nav ul { flex-direction: column; padding: .4rem 0 .6rem; }
  .site-nav a { padding: .6rem .7rem; }
  .site-nav { border-top: 1px solid var(--line); }
  .subnav ul { flex-direction: column; padding: .3rem 0 .6rem; }
  .subnav .subnav-label { padding: .4rem 0 .2rem; }
  .hero { padding: 1.8rem 0; }
  .band { padding: 1.9rem 0; }
  .facts th, .facts td { padding: .6rem .7rem; }
}

@media (max-width: 480px) {
  .gallery, .gallery-2 { grid-template-columns: 1fr; }
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: 100%; }
  .facts th { border-bottom: 0; }
  .facts tr { border-bottom: 1px solid var(--line); padding: .3rem 0; }
  .facts tr:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .to-top, .breadcrumbs, .btn-row, .nav-toggle { display: none !important; }
  a { color: #000; }
  .card, .notice, .cta { box-shadow: none; }
}
