@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --green: #263827;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --gold: #b08a4a;
  --brown: #604a35;
  --ink: #29251f;
  --header-height: 104px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
header,
footer,
nav,
div,
article,
form {
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

button,
input,
textarea {
  border-radius: 0;
  font: inherit;
}

header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(5%, env(safe-area-inset-right)) 10px max(5%, env(safe-area-inset-left));
  background: var(--paper);
  border-bottom: 1px solid #e6ddcd;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 25px;
  flex-wrap: wrap;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 1px solid #d8cdbb;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  min-height: 650px;
  min-height: min(650px, calc(100svh - var(--header-height)));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  color: white;
}

.hero > div {
  width: 100%;
  max-width: 700px;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
}

.hero .eyebrow {
  color: #f8ead0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.35rem, 7vw, 5.75rem);
  margin: 15px 0;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin: 10px 0 20px;
}

h3 {
  font-size: clamp(1.55rem, 3vw, 1.75rem);
  margin: 15px 0 4px;
}

.hero p:not(.eyebrow) {
  font-size: 18px;
  max-width: 620px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 24px;
  background: var(--gold);
  color: white;
  text-decoration: none;
  border: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.btn.dark {
  background: var(--green);
}

.intro,
.storytext {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 100px 6%;
}

.intro p:not(.eyebrow) {
  font-size: 17px;
}

.split,
.parent,
.before,
.contact {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.split {
  background: var(--cream);
}

.split img,
.parent img,
.before img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.textlink {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--brown);
  font-weight: 600;
}

.cream {
  background: var(--cream);
  padding: 95px 5%;
  text-align: center;
}

.cards {
  width: 100%;
  max-width: 1180px;
  margin: 35px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cards article {
  background: #fff;
  padding-bottom: 20px;
}

.cards img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cards p {
  font-size: 12px;
  padding-inline: 12px;
}

.quote {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 85px 5%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.375rem);
  line-height: 1.2;
}

.quote p {
  margin: 0;
}

.pagehero {
  padding: 110px 7%;
  text-align: center;
  background: var(--cream);
}

.pagehero h1 {
  font-size: clamp(3.25rem, 8vw, 4.375rem);
}

.pupgrid {
  width: 100%;
  max-width: 1180px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 0 5%;
}

.pup {
  background: white;
  border: 1px solid #e8dfd0;
}

.pup img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.pup div {
  padding: 24px;
  text-align: center;
}

.label {
  color: var(--brown);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.center {
  text-align: center;
  padding: 0 5% 90px;
}

.parent.reverse {
  background: var(--cream);
}

.parent.reverse img {
  order: 2;
}

.before {
  background: #f0e9db;
}

.before img {
  height: 420px;
}

.storyhero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--cream);
  align-items: stretch;
}

.storyhero img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.storyhero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
}

.lead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.storytext {
  text-align: left;
}

.storytext img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  margin: 35px 0;
}

.steps {
  width: 100%;
  max-width: 1100px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  padding: 0 5%;
}

.steps > div {
  padding: 30px;
  border-top: 2px solid var(--gold);
  background: var(--cream);
}

.steps b {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  color: var(--gold);
}

.package {
  width: auto;
  max-width: 900px;
  margin: 0 auto 80px;
  background: var(--green);
  color: white;
  padding: 55px 70px;
}

.package li {
  margin: 10px 0;
}

.contact {
  align-items: start;
}

.contact form {
  background: var(--cream);
  padding: 40px;
}

label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 17px;
}

input,
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 7px;
  border: 1px solid #d8cdbb;
  padding: 12px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
}

footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 60px max(5%, env(safe-area-inset-right)) max(60px, env(safe-area-inset-bottom)) max(5%, env(safe-area-inset-left));
  margin-top: 40px;
}

footer img {
  width: 110px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

footer p {
  font-size: 12px;
}

footer small {
  color: #d9c59e;
}

@media (hover: hover) {
  nav a,
  .textlink,
  .btn {
    transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease;
  }

  nav a:hover,
  .textlink:hover {
    color: var(--gold);
  }

  .btn:hover {
    opacity: 0.88;
  }
}

:focus-visible {
  outline: 3px solid #d6ad68;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  :root {
    --header-height: 84px;
  }

  header {
    min-height: var(--header-height);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .js-ready .menu-toggle {
    display: inline-flex;
  }

  .js-ready nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    display: block;
    padding: 0 max(5%, env(safe-area-inset-right)) 0 max(5%, env(safe-area-inset-left));
    overflow: hidden;
    visibility: hidden;
    background: var(--paper);
    border-bottom: 1px solid #e6ddcd;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 240ms ease, padding 240ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s linear 240ms;
  }

  .js-ready nav.is-open {
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    padding-top: 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .js-ready nav a {
    width: 100%;
    min-height: 50px;
    padding: 8px 0;
    border-bottom: 1px solid #eee5d5;
    font-size: 12px;
  }

  .js-ready nav a:last-child {
    border-bottom: 0;
  }

  .split,
  .parent,
  .before,
  .contact,
  .storyhero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .parent.reverse img {
    order: 0;
  }

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

  .pupgrid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .storyhero img {
    height: 400px;
  }

  .storyhero > div {
    padding: 55px 7%;
  }

  .package {
    margin: 0 5% 70px;
    padding: 40px 30px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: 52px 7%;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 3.5rem);
  }

  .hero h1 br,
  .quote br {
    display: none;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .pagehero h1 {
    font-size: clamp(2.75rem, 13vw, 3.25rem);
  }

  .split img,
  .parent img,
  .before img,
  .pup img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .storyhero img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .contact form {
    padding: 28px 22px;
  }

  .package {
    padding: 34px 24px;
  }
}

/* Consistent section rhythm across desktop and mobile. */
.intro,
.storytext {
  padding-top: clamp(64px, 7vw, 82px);
  padding-bottom: clamp(64px, 7vw, 82px);
}

.split,
.parent,
.before,
.contact {
  padding-top: clamp(58px, 6.5vw, 76px);
  padding-bottom: clamp(58px, 6.5vw, 76px);
}

.cream,
.pagehero {
  padding-top: clamp(64px, 7vw, 82px);
  padding-bottom: clamp(64px, 7vw, 82px);
}

.quote {
  padding-top: clamp(52px, 6vw, 68px);
  padding-bottom: clamp(52px, 6vw, 68px);
}

.pupgrid,
.steps {
  margin-top: clamp(48px, 6vw, 64px);
  margin-bottom: clamp(48px, 6vw, 64px);
}

.center {
  padding-bottom: clamp(56px, 7vw, 72px);
}

.package {
  margin-bottom: clamp(56px, 7vw, 72px);
}

footer {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 58px);
  padding-bottom: max(clamp(48px, 6vw, 58px), env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
  .intro,
  .storytext,
  .split,
  .parent,
  .before,
  .contact,
  .cream,
  .pagehero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .pupgrid,
  .steps {
    margin-top: 44px;
    margin-bottom: 44px;
  }

  .steps {
    gap: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
