:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-alt: #ebe6dd;
  --text: #1f2723;
  --muted: #626b65;
  --border: #d6cec1;
  --green: #24473a;
  --green-dark: #183329;
  --blue: #355f7a;
  --tan: #cbbda8;
  --shadow: 0 10px 28px rgba(31, 39, 35, 0.08);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--green-dark);
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  background: #050505;
  border-bottom: 1px solid #1b1b1b;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo-mark {
  display: block;
  width: 260px;
  height: 58px;
  flex: 0 0 auto;
}

.brand-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand > span:not(.brand-logo-mark) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  color: #ffffff;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
}

.page-hero {
  padding: 72px 0 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-grid,
.split,
.two-column,
.contact-grid,
.intro-row {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 56px;
  align-items: start;
}

.page-title {
  padding: 64px 0 36px;
}

.section {
  padding: 56px 0;
}

.soft-section {
  padding: 56px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.18;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: 46px;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: var(--surface);
}

.photo-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  padding: 20px;
  background: #d8d1c5;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.photo-box.small {
  min-height: 260px;
}

.photo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}

.photo-box.hero-photo img {
  object-position: 50% 8%;
}

.photo-box.with-dog-photo img {
  object-position: 50% 42%;
}

.photo-box.public-access-photo img {
  object-position: 52% 50%;
}

.photo-box span {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.feature-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article,
.service-panel,
.contact-card,
.contact-form,
.standards-list div,
.timeline div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.feature-grid article,
.service-panel,
.contact-card,
.standards-list div,
.timeline div {
  padding: 22px;
}

.feature-grid p,
.service-panel p,
.standards-list span,
.timeline span,
.intro-row p,
.split p,
.contact-card p {
  color: var(--muted);
}

.link-card-list {
  display: grid;
  gap: 14px;
}

.link-card-list a {
  display: block;
  padding: 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.link-card-list span,
.standards-list span,
.timeline span {
  display: block;
  margin-top: 5px;
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.standards-list.compact {
  grid-template-columns: 1fr;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.check-list li::marker {
  color: var(--green);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline.tall {
  grid-template-columns: repeat(3, 1fr);
}

.timeline.tall div {
  min-height: 150px;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.next-steps.stacked {
  grid-template-columns: 1fr;
}

.next-steps a {
  display: block;
  padding: 20px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.next-steps span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.image-grid div {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 185px;
  padding: 16px;
  background: #d8d1c5;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.image-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid .has-image img {
  object-position: 50% 10%;
}

.image-grid .public-walk-tile img {
  object-position: 48% 48%;
}

.image-grid .founder-dog-tile img {
  object-position: 50% 42%;
}

.image-grid .coaching-tile img {
  object-position: 48% 50%;
}

.image-grid .group-training-tile img {
  object-position: 50% 48%;
}

.image-grid span {
  position: relative;
  display: inline-block;
  padding: 7px 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-weight: 700;
}

.wide-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.wide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.wide-photo.group-training-photo img {
  object-position: 50% 48%;
}

.wide-photo.training-session-photo {
  max-width: 840px;
  min-height: 0;
  aspect-ratio: 16 / 10;
  margin-right: auto;
  margin-left: auto;
}

.wide-photo.training-session-photo img {
  object-position: 50% 44%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.team-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 28%;
}

.team-card:nth-child(2) img {
  object-position: 52% 48%;
}

.team-card div {
  padding: 22px;
}

.team-card p {
  color: var(--muted);
}

.faq-list,
.resource-list,
.standards-grid,
.policy-grid {
  display: grid;
  gap: 16px;
}

.faq-list article,
.resource-list article,
.standards-grid article,
.policy-grid article,
.privacy-note {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.faq-list h2,
.resource-list h2,
.standards-grid h2,
.policy-grid h2 {
  font-size: 22px;
}

.standards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.policy-grid {
  grid-template-columns: repeat(2, 1fr);
}

.intake-form {
  grid-template-columns: repeat(2, 1fr);
}

.intake-form label:nth-of-type(6),
.intake-form label:nth-of-type(7),
.intake-form label:nth-of-type(8),
.intake-form label:nth-of-type(9),
.intake-form button,
.intake-form .form-status {
  grid-column: 1 / -1;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(53, 95, 122, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.site-footer {
  padding: 24px 0;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1000px) {
  .hero-grid,
  .split,
  .two-column,
  .contact-grid,
  .intro-row {
    grid-template-columns: 1fr;
  }

  .feature-grid.four,
  .standards-grid,
  .standards-list,
  .timeline,
  .timeline.tall,
  .next-steps,
  .image-grid,
  .team-grid,
  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 72px;
    gap: 14px;
  }

  .brand-logo-mark {
    width: 190px;
    height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    color: var(--muted);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    color: var(--text);
    background: var(--surface-alt);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .page-hero,
  .page-title,
  .section,
  .soft-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .lead {
    font-size: 17px;
  }

  .button-row,
  .footer-inner {
    flex-direction: column;
  }

  .feature-grid.four,
  .standards-grid,
  .standards-list,
  .timeline,
  .timeline.tall,
  .next-steps,
  .image-grid,
  .team-grid,
  .policy-grid,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .intake-form label:nth-of-type(6),
  .intake-form label:nth-of-type(7),
  .intake-form label:nth-of-type(8),
  .intake-form label:nth-of-type(9),
  .intake-form button,
  .intake-form .form-status {
    grid-column: auto;
  }
}
