:root {
  --ink: #20362c;
  --paper: #f4f0e8;
  --cream: #faf8f2;
  --sage: #bdd2b0;
  --apricot: #e8a06b;
  --lemon: #ebd773;
  --line: rgba(32, 54, 44, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.announcement { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 6px 20px; background: var(--ink); color: #fffdf6; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.announcement p { margin: 0; }
.announcement span { color: var(--lemon); }

.site-header { height: 88px; padding: 0 clamp(24px, 4vw, 68px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(250, 248, 242, .95); }
.brand { display: flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 40px; height: 40px; border-radius: 50% 48% 44% 53%; display: grid; place-items: center; background: var(--apricot); color: var(--ink); font: italic 700 25px Georgia, serif; transform: rotate(-5deg); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-size: 18px; letter-spacing: .08em; }
.brand-copy small { font-size: 7px; letter-spacing: .18em; font-weight: 700; }
.site-header nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; }
.site-header nav a { padding: 10px 2px; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-color: var(--apricot); }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.header-actions button { border: 0; background: transparent; padding: 10px; cursor: pointer; font-weight: 700; }
.header-actions button:first-child { font-size: 25px; font-weight: 400; }

.hero { min-height: calc(100vh - 122px); display: grid; grid-template-columns: 49% 51%; overflow: hidden; background: var(--paper); }
.hero-copy { align-self: center; padding: 80px clamp(35px, 7vw, 120px) 70px clamp(32px, 6vw, 102px); }
.eyebrow { margin: 0 0 25px; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; margin: 0 12px 3px 0; background: var(--apricot); }
h1 { max-width: 650px; margin: 0; font: 500 clamp(55px, 6vw, 92px)/.94 Georgia, 'Times New Roman', serif; letter-spacing: -.055em; }
h1 em { color: var(--apricot); font-weight: 500; }
.hero-intro { max-width: 530px; margin: 30px 0 34px; font-size: 17px; line-height: 1.7; color: #53645b; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; gap: 28px; padding: 17px 22px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #2c4d3e; transform: translateY(-2px); }
.text-link { padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.hero-proof { display: flex; gap: 38px; margin-top: 58px; }
.hero-proof div { min-width: 120px; padding-left: 15px; border-left: 2px solid var(--sage); display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 8px; align-items: center; }
.hero-proof strong { font: 500 20px Georgia, serif; }
.hero-proof span { color: var(--apricot); letter-spacing: 1px; font-size: 9px; }
.hero-proof small { grid-column: 1 / -1; margin-top: 4px; color: #647168; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.hero-photo { position: relative; min-height: 660px; padding: 34px 45px 34px 18px; }
.hero-photo::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; left: -35px; top: 45px; background: var(--lemon); }
.hero-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; border-radius: 3px 120px 3px 3px; filter: saturate(.82) contrast(.96); }
.photo-note { position: absolute; left: -26px; bottom: 88px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: #fffdf8; box-shadow: 0 14px 35px rgba(32, 54, 44, .16); transform: rotate(-2deg); }
.photo-note .paw { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--ink); }
.photo-note p { display: flex; flex-direction: column; margin: 0; }
.photo-note strong { font: 600 16px Georgia, serif; }
.photo-note small { margin-top: 3px; color: #68756d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.scribble { position: absolute; top: 50px; right: 58px; padding: 8px 13px; border-radius: 50%; background: var(--apricot); font: italic 600 15px Georgia, serif; transform: rotate(8deg); }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.perks p { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 22px; border-right: 1px solid var(--line); color: #68756d; font-size: 11px; }
.perks p:last-child { border: 0; }
.perks span { margin-right: 5px; color: var(--apricot); font-size: 19px; }
.perks strong { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.section { padding: 110px clamp(24px, 5vw, 80px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2, .story h2 { margin: 0; font: 500 clamp(43px, 5vw, 72px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.section-heading > p { max-width: 270px; margin: 0 0 6px; color: #68756d; line-height: 1.6; }
.pet-shop { background: var(--cream); }
.pet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pet-card { position: relative; min-height: 430px; overflow: hidden; background: var(--sage); }
.pet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; filter: saturate(.78); }
.pet-card:hover img { transform: scale(1.04); }
.pet-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(17, 36, 27, .76)); }
.pet-card > div { position: absolute; z-index: 2; left: 24px; bottom: 25px; color: white; }
.pet-card h3 { margin: 0; font: 500 36px Georgia, serif; }
.pet-card p { margin: 5px 0 0; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.pet-number { position: absolute; z-index: 2; top: 18px; left: 18px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(250, 248, 242, .9); font-size: 10px; font-weight: 800; }
.round-arrow { position: absolute; z-index: 2; right: 18px; bottom: 20px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; }
.cats img { object-position: 48% center; }
.birds img { object-position: 56% center; }

.favorites { background: #eef0e8; }
.favorites-heading h2 { max-width: 720px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-image { position: relative; aspect-ratio: .86; overflow: hidden; background: #e7e1d5; }
.product-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .4s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-badge { position: absolute; top: 13px; left: 13px; padding: 7px 9px; background: var(--cream); font-size: 8px; letter-spacing: .12em; font-weight: 800; }
.product-copy { position: relative; padding: 18px 2px 0; }
.product-copy p { margin: 0 0 7px; color: #7b857e; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.product-copy h3 { margin: 0; font: 500 21px Georgia, serif; }
.product-copy span { position: absolute; right: 2px; top: 29px; font-size: 12px; font-weight: 700; }

.story { display: grid; grid-template-columns: 55% 45%; min-height: 760px; background: var(--ink); color: white; }
.story-image { position: relative; min-height: 680px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(.92); }
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(32,54,44,.25)); }
.story-image > span { position: absolute; z-index: 2; right: -27px; bottom: 22px; color: var(--lemon); font: italic 700 clamp(62px, 8vw, 122px)/.72 Georgia, serif; transform: rotate(-7deg); }
.story-copy { align-self: center; padding: 80px clamp(35px, 7vw, 120px); }
.story-copy .eyebrow { color: var(--lemon); }
.story-copy .eyebrow::before { background: var(--lemon); }
.story-copy h2 { max-width: 520px; margin-bottom: 34px; }
.story-copy h2 em { color: var(--apricot); font-weight: 500; }
.story-copy > p:not(.eyebrow) { max-width: 520px; color: #c9d1ca; font-size: 15px; line-height: 1.75; }
.button-light { margin-top: 18px; background: var(--cream); color: var(--ink); }
.button-light:hover { background: var(--lemon); }

.standards { background: var(--paper); }
.centered { justify-content: center; text-align: center; }
.centered .eyebrow::before { display: none; }
.centered h2 { max-width: 780px; }
.standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.standard-grid article { position: relative; padding: 52px 42px; border-right: 1px solid var(--line); text-align: center; transition: background-color .28s ease, transform .28s ease; }
.standard-grid article:last-child { border: 0; }
.standard-grid article > span { position: absolute; top: 18px; left: 18px; color: #8c978f; font-size: 9px; }
.standard-icon { width: 64px; height: 64px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font: 26px Georgia, serif; transition: background-color .28s ease, transform .28s ease; }
.standard-grid article:nth-child(2) .standard-icon { background: var(--apricot); }
.standard-grid article:nth-child(3) .standard-icon { background: var(--lemon); }
.standard-grid article:nth-child(1):hover { background: var(--sage); }
.standard-grid article:nth-child(2):hover { background: var(--apricot); }
.standard-grid article:nth-child(3):hover { background: var(--lemon); }
.standard-grid article:hover .standard-icon { background: var(--cream); transform: rotate(7deg) scale(1.06); }
.standard-grid h3 { margin: 0 0 12px; font: 500 25px Georgia, serif; }
.standard-grid p { max-width: 330px; margin: auto; color: #69766e; font-size: 13px; line-height: 1.7; }

.testimonial { padding: 90px 24px; text-align: center; background: var(--apricot); }
.quote-mark { height: 48px; margin: 0; font: 100px/.8 Georgia, serif; color: var(--ink); }
.testimonial blockquote { max-width: 850px; margin: 20px auto 28px; font: italic 500 clamp(34px, 4.2vw, 61px)/1.1 Georgia, serif; letter-spacing: -.035em; }
.testimonial > div { display: grid; justify-items: center; gap: 5px; }
.testimonial div span { color: var(--cream); font-size: 11px; letter-spacing: 3px; }
.testimonial div strong { margin-top: 5px; font-size: 10px; letter-spacing: .14em; }
.testimonial div small { color: #5d4b3d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding: 70px clamp(24px, 5vw, 80px) 40px; background: var(--ink); color: white; }
.footer-brand { align-self: start; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 7px; color: var(--sage); font-size: 9px; letter-spacing: .15em; }
.footer-links a { color: #d4dbd5; font-size: 12px; }
.footer-note { align-self: end; text-align: right; }
.footer-note p { font: italic 19px Georgia, serif; color: var(--apricot); }
.footer-note span { color: #97a49a; font-size: 8px; letter-spacing: .12em; }

.search-overlay { position: fixed; z-index: 20; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; background: rgba(32,54,44,.97); color: white; }
.search-overlay[hidden] { display: none !important; }
.search-overlay p { margin: 0 0 30px; font: italic 500 clamp(44px, 7vw, 80px) Georgia, serif; color: var(--apricot); }
.search-overlay input { width: min(720px, 100%); padding: 20px 3px; border: 0; border-bottom: 2px solid white; outline: none; background: transparent; color: white; font: 30px Georgia, serif; text-align: center; }
.search-overlay input::placeholder { color: #9eaaa1; }
.search-overlay small { margin-top: 17px; color: var(--sage); letter-spacing: .08em; text-transform: uppercase; }
.search-close { position: absolute; top: 25px; right: 35px; border: 0; background: transparent; color: white; font-size: 44px; cursor: pointer; }
.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; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 68px 28px 56px; }
  .hero-photo { min-height: 580px; padding: 0; }
  .hero-photo img { border-radius: 0; }
  .photo-note { left: 20px; bottom: 24px; }
  .perks { grid-template-columns: 1fr; }
  .perks p { border-right: 0; border-bottom: 1px solid var(--line); }
  .pet-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 600px; }
  .story-copy { padding: 75px 32px; }
  .standard-grid { grid-template-columns: 1fr; }
  .standard-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; padding: 0 18px; }
  .brand-copy small { display: none; }
  h1 { font-size: 52px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-proof { gap: 18px; margin-top: 45px; }
  .hero-photo { min-height: 450px; }
  .section { padding: 75px 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 35px; }
  .section-heading > p { display: none; }
  .pet-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pet-card { min-height: 300px; }
  .pet-card h3 { font-size: 27px; }
  .pet-card p, .round-arrow { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-image { aspect-ratio: 1; }
  .story-image { min-height: 440px; }
  .story-image > span { right: 4px; font-size: 65px; }
  footer { grid-template-columns: 1fr; gap: 45px; }
  .footer-links { max-width: 400px; }
}
