@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --teal: #147c7a;
  --teal-dark: #0b4f50;
  --teal-soft: #e3f2f0;
  --cream: #fff8e9;
  --yellow: #f5c63b;
  --brown: #503321;
  --ink: #173334;
  --white: #fffefb;
  --line: rgba(23, 51, 52, .15);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .75rem 1rem; color: white; background: var(--teal-dark); }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: .5rem clamp(1.25rem, 4vw, 5rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.header-logo { display: flex; align-items: center; width: clamp(190px, 22vw, 280px); }
.header-logo img { width: 100%; height: auto; }
nav { display: flex; justify-content: center; gap: clamp(1.4rem, 3vw, 3rem); }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--teal); }
.header-call { padding: .8rem 1.15rem; border: 2px solid var(--teal); border-radius: 99px; text-decoration: none; color: var(--teal-dark); font-weight: 700; }
.header-call:hover, .header-call:focus-visible { color: white; background: var(--teal); }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(42%, 1.1fr); background: var(--cream); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem); position: relative; }
.hero-logo { width: clamp(175px, 16vw, 220px); height: auto; margin: -1.25rem 0 1rem; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--teal); font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin-top: 0; color: var(--teal-dark); }
h1 { font-size: clamp(3rem, 6vw, 6.7rem); letter-spacing: -.045em; margin-bottom: 1.5rem; max-width: 11ch; }
h2 { font-size: clamp(2.4rem, 4.3vw, 4.8rem); letter-spacing: -.035em; }
h3 { font-size: 1.65rem; }
.hero-intro { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 37rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: .8rem 1.4rem; border-radius: 99px; text-decoration: none; font-weight: 700; transition: .2s ease; }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover, .button-primary:focus-visible { background: var(--teal-dark); transform: translateY(-2px); }
.button-secondary { border: 2px solid var(--teal); color: var(--teal-dark); }
.button-secondary:hover, .button-secondary:focus-visible { background: white; transform: translateY(-2px); }
.microcopy { margin: 1.2rem 0 0; font-size: .9rem; color: #496161; }
.hero-image { min-height: 520px; background: url("assets/home-dog-boarding.png") 78% center / cover no-repeat; clip-path: ellipse(89% 92% at 100% 50%); }

.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.5rem clamp(1.25rem, 4vw, 5rem); color: white; background: var(--teal); }
.trust-bar div { padding: .4rem 1.5rem; border-left: 1px solid rgba(255,255,255,.3); }
.trust-bar div:first-child { border-left: 0; }
.trust-bar strong, .trust-bar span { display: block; }
.trust-bar strong { font-family: var(--serif); font-size: 1.28rem; }
.trust-bar span { font-size: .86rem; opacity: .86; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.story { overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.story-grid h2 { max-width: 9ch; margin-bottom: 0; }
.story-copy { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 42rem; }
.story-copy p:first-child { margin-top: .3rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(4rem, 8vw, 7rem); }
.feature-grid article { min-height: 275px; padding: 2rem; background: var(--teal-soft); border-top: 5px solid var(--teal); border-radius: 0 0 1.25rem 1.25rem; }
.feature-grid article:nth-child(2) { background: var(--cream); border-top-color: var(--yellow); }
.feature-grid article:nth-child(3) { color: white; background: var(--teal-dark); border-top-color: #6bc6c1; }
.feature-grid article:nth-child(3) h3 { color: white; }
.feature-number { display: block; margin-bottom: 2.5rem; color: var(--teal); font-weight: 700; letter-spacing: .1em; }
.feature-grid article:nth-child(3) .feature-number { color: #78d3ce; }
.feature-grid p { margin-bottom: 0; }

.licence-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; background: var(--cream); }
.licence-image-wrap { align-self: stretch; min-height: 600px; overflow: hidden; }
.licence-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.licence-copy { padding: clamp(4rem, 8vw, 8rem); }
.licence-copy h2 { max-width: 10ch; }
.licence-copy > p:not(.eyebrow) { max-width: 36rem; font-size: 1.12rem; }
dl { margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
dl div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 600; color: #526768; }
dd { margin: 0; font-weight: 700; color: var(--teal-dark); }

.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 10rem); padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); color: white; background: var(--teal-dark); }
.contact-section h2 { color: white; max-width: 11ch; margin-bottom: 1.5rem; }
.contact-section .eyebrow { color: var(--yellow); }
.contact-section > div > p:last-child { max-width: 31rem; font-size: 1.1rem; opacity: .85; }
.contact-links { display: flex; flex-direction: column; justify-content: center; }
.contact-links a { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.25); text-decoration: none; }
.contact-links a:hover strong, .contact-links a:focus-visible strong { color: var(--yellow); }
.contact-links span { color: #88d3d0; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; }
.contact-links strong { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.8rem); overflow-wrap: anywhere; }

footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 4vw, 5rem); background: #062f30; color: rgba(255,255,255,.78); font-size: .85rem; }
footer img { width: 90px; height: 90px; object-fit: contain; background: white; border-radius: 50%; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { min-height: 70px; display: flex; justify-content: space-between; }
  .header-logo { width: clamp(180px, 52vw, 245px); }
  nav, .header-call { display: none; }
  .menu-button { justify-self: end; display: flex; flex-direction: column; gap: 5px; width: 45px; height: 45px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--teal-soft); }
  .menu-button span { width: 20px; height: 2px; background: var(--teal-dark); }
  .mobile-menu { position: absolute; inset: 70px 0 auto; padding: 1rem 1.25rem 1.5rem; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
  .mobile-menu:not([hidden]) { display: flex; }
  .mobile-menu a { padding: .7rem 0; text-decoration: none; font-weight: 700; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 2.5rem; padding-bottom: 4.5rem; }
  .hero-logo { width: 160px; margin: 0 0 .9rem; }
  .hero-image { min-height: 55vw; background-position: center center; clip-path: none; }
  .trust-bar { grid-template-columns: 1fr 1fr; gap: 1rem 0; }
  .trust-bar div:nth-child(3) { border-left: 0; }
  .story-grid, .licence-section, .contact-section { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .feature-number { margin-bottom: 1.5rem; }
  .licence-image-wrap { min-height: 70vw; }
  footer { grid-template-columns: auto 1fr; }
  footer p:nth-child(3), footer p:last-child { grid-column: 2; margin: 0; text-align: left; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar div { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .trust-bar div:first-child { border-top: 0; }
  .licence-copy { padding: 4rem 1.25rem; }
  dl div { grid-template-columns: 1fr; gap: 0; }
  .contact-links a { grid-template-columns: 1fr; gap: .2rem; }
  footer { gap: 1rem; }
  footer img { width: 70px; height: 70px; }
}

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