@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

:root {
  --cream: #f7f1e6;
  --cream-deep: #eee4d3;
  --green: #173c32;
  --green-light: #2b594c;
  --coral: #e97962;
  --gold: #e7b84f;
  --ink: #24322d;
  --muted: #68706c;
  --white: #fffdf8;
  --border: rgba(23, 60, 50, .16);
  --shadow: 0 22px 60px rgba(31, 45, 39, .10);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 130px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 18px; background: var(--white); color: var(--green); border-radius: 8px; }
.skip-link:focus { top: 16px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--green); line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(3.2rem, 5.5vw, 5.5rem); letter-spacing: -.045em; margin-bottom: 32px; }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); letter-spacing: -.035em; margin-bottom: 26px; }
h3 { font-size: 1.65rem; }
.eyebrow { margin-bottom: 18px; color: var(--coral); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold); }

.announcement { min-height: 34px; padding: 5px 20px; background: var(--green); color: rgba(255,255,255,.88); text-align: center; font-size: .78rem; letter-spacing: .02em; }
.announcement__sprig { color: var(--gold); margin-right: 8px; }
.site-header { position: relative; z-index: 30; background: rgba(247, 241, 230, .94); border-bottom: 1px solid rgba(23,60,50,.08); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 10px 30px rgba(23,60,50,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand__mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; color: var(--green); }
.brand__mark svg { width: 45px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font: 600 1.4rem/.88 var(--serif); color: var(--green); }
.brand small { display: block; margin-top: 7px; color: var(--muted); font-size: .58rem; letter-spacing: .01em; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); font-size: .84rem; font-weight: 600; }
.primary-nav > a:not(.button) { position: relative; padding: 14px 0; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: 7px; width: 100%; height: 2px; background: var(--coral); transform: scaleX(0); transition: transform .25s ease; }
.primary-nav > a:hover::after, .primary-nav > a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--green); transition: .25s ease; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; font-size: .86rem; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(23,60,50,.14); }
.button--green { background: var(--green); color: white; }
.button--coral { background: var(--coral); color: white; }
.button--outline { border-color: var(--green); color: var(--green); }
.button--outline:hover { background: var(--green); color: white; }
.nav-cta { min-height: 46px; padding-inline: 21px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--cream); }
.hero__grid { min-height: 720px; display: grid; grid-template-columns: .95fr 1.25fr; align-items: stretch; }
.hero__copy { align-self: center; padding: 78px 70px 100px 0; position: relative; z-index: 2; }
.hero__lead { max-width: 580px; margin-bottom: 36px; color: #4f5d57; font-size: 1.12rem; line-height: 1.75; }
.hero__image { width: calc(100% + ((100vw - min(1180px, calc(100vw - 48px))) / 2)); min-height: 650px; background: linear-gradient(90deg, var(--cream) 0%, rgba(247,241,230,.18) 22%, transparent 48%), url("assets/hero-dog-trainer.webp") center/cover no-repeat; }
.trust-note { margin-top: 45px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #516059; font-size: .8rem; }
.trust-note__paw { width: 35px; height: 35px; display: grid; place-items: center; color: var(--coral); border: 1px solid var(--coral); border-radius: 50%; font-size: .6rem; }
.trust-note i { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.section-wave { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--cream); }

.booking-strip { padding: 28px 0; background: var(--cream-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.booking-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.booking-strip__inner > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; }
.booking-strip__inner > div + div { border-left: 1px solid var(--border); padding-left: 34px; }
.booking-strip span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-weight: 700; font-size: .78rem; }
.booking-strip p { margin: 0; line-height: 1.35; }
.booking-strip strong { display: block; color: var(--green); font-family: var(--serif); font-size: 1rem; }
.booking-strip small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; }

.section-heading { max-width: 760px; margin: 0 auto 68px; text-align: center; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { position: relative; min-height: 470px; padding: 34px 34px 38px; background: rgba(255,253,248,.68); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.service-card:hover { transform: translateY(-7px); background: var(--white); box-shadow: var(--shadow); }
.service-card__icon { height: 150px; margin-bottom: 35px; border-radius: 10px; display: grid; place-items: center; }
.service-card__icon--gold { background: #eddbad; }
.service-card__icon--sage { background: #d4dfd3; }
.service-card__icon--coral { background: #efd0c7; }
.service-card__icon svg { width: 78px; fill: none; stroke: var(--green); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card-number { position: absolute; right: 30px; top: 200px; color: rgba(23,60,50,.4); font-size: .74rem; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 18px; }
.service-card > p:not(.card-number) { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.text-link { margin-top: auto; color: var(--coral); font-size: .86rem; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.method { padding: 135px 0; background: var(--green); color: rgba(255,255,255,.76); overflow: hidden; }
.method__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.method__portrait { position: relative; min-height: 610px; }
.method__portrait::before { content: ""; position: absolute; inset: 7% -7% -4% 8%; border: 1px solid rgba(231,184,79,.42); border-radius: 49% 51% 54% 46% / 42% 45% 55% 58%; }
.method__portrait-image { position: absolute; inset: 0; background: url("assets/hero-dog-trainer.webp") 74% center/cover no-repeat; border-radius: 47% 53% 44% 56% / 55% 44% 56% 45%; filter: saturate(.82); }
.method__doodle { position: absolute; right: -35px; bottom: 20px; color: var(--gold); font-size: 7rem; font-weight: 100; opacity: .55; }
.method h2, .method h3 { color: var(--cream); }
.method__intro { max-width: 620px; margin-bottom: 42px; font-size: 1.03rem; }
.method-list { margin-bottom: 45px; display: grid; gap: 30px; }
.method-item { display: grid; grid-template-columns: 45px 1fr; gap: 18px; }
.method-item > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.method-item h3 { margin: 1px 0 7px; font-size: 1.23rem; }
.method-item p { margin: 0; font-size: .87rem; line-height: 1.65; }

.story { background: #fbf6ed; }
.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.story__copy { position: relative; padding-left: 40px; }
.quote-mark { position: absolute; left: -20px; top: -40px; color: var(--coral); font: 600 7rem/1 var(--serif); opacity: .92; }
.story blockquote { margin: 32px 0; color: #4e5b55; font-size: 1.05rem; font-style: italic; line-height: 1.8; }
.client { display: flex; align-items: center; gap: 14px; }
.client__avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: var(--serif); }
.client p { margin: 0; line-height: 1.35; }
.client small { color: var(--muted); }
.story__visual { position: relative; padding: 16px 16px 24px; background: white; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.story__photo { aspect-ratio: 4 / 2.55; background: linear-gradient(rgba(23,60,50,.06), rgba(23,60,50,.2)), url("assets/hero-dog-trainer.webp") 42% 76%/180% auto no-repeat; }
.story__visual p { margin: 17px 8px 0; color: var(--muted); font: italic 1rem var(--serif); }
.story__tape { position: absolute; z-index: 2; width: 105px; height: 34px; right: 5%; top: -15px; background: rgba(233,121,98,.82); transform: rotate(9deg); clip-path: polygon(5% 0,100% 8%,95% 100%,0 91%,8% 55%,0 30%); }

.cta { position: relative; padding: 78px 0; overflow: hidden; background: var(--gold); }
.cta::after { content: "○  ·  ○  ·  ○"; position: absolute; right: 3%; bottom: -15px; color: rgba(255,255,255,.32); font-size: 5rem; letter-spacing: .2em; transform: rotate(-7deg); }
.cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.cta__inner > div { max-width: 760px; }
.cta .eyebrow { color: var(--green); }
.cta h2 { margin-bottom: 0; font-size: clamp(2.2rem, 3.4vw, 3.45rem); }
.cta__inner > div > p:last-child { margin: 18px 0 0; color: rgba(23,60,50,.76); }
.cta .button { flex: 0 0 auto; }

.footer { padding: 85px 0 25px; background: #123229; color: rgba(255,255,255,.68); font-size: .85rem; }
.footer__grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 70px; padding-bottom: 70px; }
.brand--footer { color: var(--cream); margin-bottom: 25px; }
.brand--footer .brand__mark, .brand--footer strong { color: var(--cream); }
.brand--footer small { color: rgba(255,255,255,.55); }
.footer__brand > p { max-width: 290px; }
.footer h3 { margin-bottom: 22px; color: var(--gold); font: 600 1rem var(--sans); }
.footer__grid > div:not(.footer__brand) a { display: block; margin: 8px 0; transition: color .2s ease; }
.footer__grid a:hover { color: white; }
.footer__grid p { line-height: 1.65; }
.footer__bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-wrap { min-height: 90px; }
  .menu-toggle { display: block; position: relative; z-index: 42; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 40; inset: 34px 0 0; padding: 125px 32px 45px; background: var(--cream); flex-direction: column; align-items: stretch; gap: 8px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav > a { padding: 13px 0 !important; font-size: 1.08rem; }
  .primary-nav > a:not(.button)::after { bottom: 8px; transform-origin: left; }
  .nav-cta { margin-top: 15px; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; }
  .hero__copy { padding: 75px 0 60px; }
  .hero__image { width: 100%; min-height: 520px; border-radius: 18px 18px 0 0; background-image: linear-gradient(0deg, rgba(23,60,50,.12), transparent 45%), url("assets/hero-dog-trainer.webp"); }
  .booking-strip__inner { grid-template-columns: 1fr; gap: 18px; }
  .booking-strip__inner > div + div { border-left: 0; border-top: 1px solid var(--border); padding: 18px 0 0; }
  .service-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .service-card { min-height: auto; }
  .method__grid, .story__grid { grid-template-columns: 1fr; gap: 75px; }
  .method__portrait { min-height: 620px; max-width: 650px; width: 90%; margin-inline: auto; }
  .method__content { max-width: 680px; }
  .story__copy { padding-left: 30px; }
  .story__visual { max-width: 680px; }
  .cta__inner { align-items: flex-start; flex-direction: column; gap: 32px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 92px 0; }
  .announcement { padding-inline: 12px; font-size: .7rem; }
  .nav-wrap { min-height: 82px; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__mark svg { width: 37px; }
  .brand strong { font-size: 1.16rem; }
  .brand small { display: none; }
  h1 { font-size: clamp(2.85rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .hero__copy { padding: 68px 0 48px; }
  .hero__lead { font-size: 1rem; }
  .button-row .button { width: 100%; }
  .trust-note { margin-top: 34px; gap: 9px; }
  .hero__image { min-height: 440px; background-position: 64% center; }
  .section-heading { margin-bottom: 48px; text-align: left; }
  .section-heading > p:last-child { margin-left: 0; }
  .service-grid { gap: 18px; }
  .service-card { padding: 24px 24px 30px; }
  .service-card__icon { height: 140px; margin-bottom: 30px; }
  .card-number { top: 180px; }
  .method { padding: 95px 0; }
  .method__grid { gap: 65px; }
  .method__portrait { width: 100%; min-height: 440px; }
  .method__doodle { right: -10px; font-size: 5rem; }
  .method__intro { font-size: .96rem; }
  .method-item { grid-template-columns: 38px 1fr; gap: 14px; }
  .method-item > span { width: 36px; height: 36px; }
  .story__grid { gap: 55px; }
  .story__copy { padding-left: 12px; }
  .quote-mark { left: -3px; top: -55px; font-size: 5rem; }
  .story__photo { aspect-ratio: 1.2; background-size: auto 150%; background-position: 40% 70%; }
  .story__visual p { font-size: .9rem; }
  .cta { padding: 68px 0; }
  .cta .button { width: 100%; }
  .footer { padding-top: 70px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
