@charset "utf-8";
/* Super Duper Care
   Colors come from the hand-painted letters and the ink background. */

:root {
	--ink: #1f1f1f;
	--ink-soft: #2e2e2e;
	--paper: #ffffff;
	--cream: #f6f4ef;
	--text: #333333;
	--muted: #5c5c5c;
	--blue: #1f4fc8;
	--red: #d6281f;
	--yellow: #f2b705;
	--green: #2f6b2f;
	--purple: #6b2fa0;
	--orange: #f07c13;
	--radius: 14px;
	--max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

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

a { color: var(--blue); }
a:hover, a:focus { color: var(--red); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 {
	font-size: 2.1rem;
	text-align: center;
}
h2::after {
	content: "";
	display: block;
	width: 120px;
	height: 6px;
	margin: .35em auto 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--blue) 0 16.6%, var(--purple) 0 33.3%, var(--green) 0 50%, var(--orange) 0 66.6%, var(--red) 0 83.3%, var(--yellow) 0);
}

/* Accessibility helpers */
.skip {
	position: absolute; left: -999px; top: 0;
	background: var(--yellow); color: #000; padding: .5em 1em; z-index: 100;
}
.skip:focus { left: 0; }
.srOnly {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.siteHeader {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1em;
	padding: .6em 1.2em;
	background: var(--ink);
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.logo { width: 72px; }
.siteNav ul {
	display: flex; gap: .2em;
	list-style: none; margin: 0; padding: 0;
}
.siteNav li + li::before {
	content: "|"; color: #777; margin: 0 .4em;
}
.siteNav a {
	white-space: nowrap;
	color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 700;
	padding: .3em .2em;
}
.siteNav a:hover, .siteNav a:focus { color: var(--yellow); }

.menuButton { display: none; }

/* Hero: business name stacked beside the framed art (like the business card) */
.hero {
	display: grid;
	grid-template-columns: minmax(150px, 250px) minmax(300px, 640px);
	grid-template-areas: "brand art" "text text";
	justify-content: center; align-items: center;
	gap: 2em 3em;
	padding: 2.5em 1.5em 3em;
	background: var(--ink);
	color: #fff;
}
.brand { grid-area: brand; }
.brand img { width: 100%; }
.heroArt {
	grid-area: art; width: 100%;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.heroText { grid-area: text; max-width: 640px; margin: 0 auto; text-align: center; }
.heroText h1 { font-size: 2.4rem; }
.lead { font-size: 1.2rem; color: #e8e8e8; }
.price { font-size: 1.3rem; color: #fff; }
.price strong { color: var(--yellow); font-size: 1.6em; }

/* Paw buttons */
.pawButton {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .55em 1.3em .55em .7em;
	border: 0; border-radius: 999px;
	background: var(--yellow); color: #1a1a1a;
	font: 700 1.15rem 'Lato', Arial, sans-serif;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 3px 0 #b88a00;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pawButton img { width: 40px; height: 40px; transition: transform .25s ease; }
.pawButton:hover, .pawButton:focus {
	color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 5px 0 #b88a00;
}
.pawButton:hover img, .pawButton:focus img { transform: rotate(-15deg) scale(1.1); }

/* Sections */
.band { padding: 3.5em 1.5em; }
.band.light { background: var(--cream); }
.band > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.cards {
	display: grid; gap: 1.5em;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-top: 1.5em;
}
.card {
	background: var(--paper);
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	padding: 1.4em;
	box-shadow: 6px 6px 0 var(--ink);
}
.card:nth-child(4n+2) { border-color: var(--blue); box-shadow: 6px 6px 0 var(--blue); }
.card:nth-child(4n+3) { border-color: var(--green); box-shadow: 6px 6px 0 var(--green); }
.card:nth-child(4n+4) { border-color: var(--purple); box-shadow: 6px 6px 0 var(--purple); }
.cardPrice { font-size: 1.8rem; font-weight: 700; color: var(--red); margin: 0; }
.perks {
	list-style: none; padding: 0; margin-top: 2em;
	display: flex; flex-wrap: wrap; justify-content: center; gap: .7em 1em;
}
.perks li {
	display: flex; align-items: center; gap: .45em;
	background: var(--cream); border-radius: 999px;
	padding: .4em 1em .4em .5em; font-weight: 700;
}
.perks li::before {
	content: ""; width: 26px; height: 26px; flex: 0 0 auto;
	background: url(../images/paw-48.png) center / contain no-repeat;
}
.note { text-align: center; color: var(--muted); margin-top: 1.5em; }

.aboutWrap {
	display: flex; gap: 1.5em; align-items: flex-start;
	max-width: 760px;
}
.aboutPaw { flex: 0 0 auto; width: 96px; }

.reviews {
	columns: 3 260px;
	column-gap: 1.5em;
}
.review {
	break-inside: avoid;
	margin: 0 0 1.5em; padding: 1.3em 1.5em;
	background: var(--cream); border-radius: var(--radius);
	border-left: 6px solid var(--green);
}
.review blockquote { margin: 0 0 .6em; font-style: italic; }
.stars { color: var(--yellow); letter-spacing: 2px; margin: 0 0 .3em; font-size: 1.1rem; text-shadow: 0 1px 0 #b88a00; }
.ratingSummary { text-align: center; font-weight: 700; margin: -.3em auto 1.5em; }
.review figcaption span { font-family: 'Lato', Arial, sans-serif; font-size: .85rem; }
.review figcaption { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--muted); }

/* Kind words: handwritten card beside its typed words */
.kindWords {
	display: flex; align-items: center; gap: 2em;
	max-width: 820px; margin: 0 auto 2em; padding: 1.5em;
	background: var(--cream); border-radius: var(--radius);
	border-left: 6px solid var(--green);
}
.kindWords img { flex: 0 0 auto; width: 240px; height: auto; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.18); transform: rotate(-2deg); }
.kindWords h3 { margin-top: 0; }
.kindWords blockquote { margin: 0 0 .6em; font-style: italic; font-size: 1.15rem; }
.kindWords figcaption { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: var(--muted); }
.kindWords figcaption span { font-family: 'Lato', Arial, sans-serif; font-size: .85rem; }
@media (max-width: 760px) {
	.kindWords { flex-direction: column; text-align: center; }
	.kindWords img { width: 200px; }
}

/* Contact */
.contactIntro { max-width: 640px; text-align: center; }
.contactForm {
	max-width: 640px;
	display: flex; flex-direction: column;
	background: var(--paper);
	border: 3px solid var(--ink); border-radius: var(--radius);
	padding: 1.5em;
	box-shadow: 6px 6px 0 var(--ink);
}
.contactForm label { font-weight: 700; margin-top: .9em; }
.contactForm label:first-child { margin-top: 0; }
.contactForm input, .contactForm textarea {
	font: 16px/1.5 'Lato', Arial, sans-serif; /* 16px stops iPhones zooming in */
	padding: .6em .7em; margin-top: .3em;
	border: 2px solid #999; border-radius: 8px;
	width: 100%;
}
.contactForm input:focus, .contactForm textarea:focus {
	outline: 3px solid var(--yellow); border-color: var(--ink);
}
.hp { position: absolute; left: -9999px; }
.formButtons {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: 1.3em;
}
.resetButton {
	background: none; border: 0; color: var(--muted);
	font: 1rem 'Lato', Arial, sans-serif; text-decoration: underline; cursor: pointer;
}

.contactWrap {
	display: flex; justify-content: center; align-items: flex-end;
	max-width: 900px;
}
.contactWrap .contactForm { flex: 1 1 auto; margin: 0; }
/* Junie sits beside the form and leans on it. Swap paw-96.png for her photo. */
.junie {
	flex: 0 0 auto;
	width: 210px;
	margin-right: -34px;
	filter: drop-shadow(4px 6px 6px rgba(0,0,0,.25));   /* overlaps the form edge so she looks like she's leaning */
	position: relative; z-index: 2;
	align-self: flex-end;
}

.kitty {
	flex: 0 0 auto;
	width: 150px;
	margin-left: -40px;    /* overlaps the right edge of the form */
	position: relative; z-index: 2;
	align-self: center;
	transform: rotate(6deg);
	filter: drop-shadow(3px 5px 6px rgba(0,0,0,.25));
}

/* Paw Friend Updates */
.posts {
	display: grid; gap: 1.5em;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	margin-top: 1em;
}
.post {
	background: var(--paper); border-radius: var(--radius); overflow: hidden;
	border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--purple);
}
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.postText { padding: 1em 1.2em; }
.post.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.post.featured > img { aspect-ratio: 1 / 1; height: auto; align-self: start; object-fit: contain; }
.gallery {
	display: grid; gap: .6em;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	margin-top: 1em;
}
.subHead {
	margin: 1.6em 0 .6em; padding-top: 1em;
	border-top: 2px dashed var(--yellow);
	font-family: 'Dancing Script', cursive; font-size: 1.6rem; font-weight: 700;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.gallery figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .2em; }
.postDate { font-family: 'Dancing Script', cursive; font-size: 1.2rem; color: var(--muted); margin: 0; }

/* Friends page */
.pageTitle { font-size: 2.4rem; text-align: center; margin-bottom: .3em; }
.teaser {
	display: grid; gap: 2em; align-items: center;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	max-width: 900px;
}
.teaserImg img { border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--purple); }
.teaser h3 a { color: var(--ink); text-decoration: none; }
.teaser h3 a:hover { color: var(--blue); }
.checkLabel {
	display: flex; gap: .6em; align-items: flex-start;
	font-weight: 400 !important; margin-top: 1.2em !important;
}
.checkLabel input { width: 22px; height: 22px; margin-top: .15em; flex: 0 0 auto; }
.contactForm input[type=file] { padding: .5em; background: var(--cream); }

/* Validation */
.error-highlight { border-color: var(--red) !important; background: #fff1f0; }
.error-message { color: var(--red); font-size: .9rem; margin-top: .25em; }
.form-errors {
	background: #fde4e2; border: 1px solid var(--red); color: #7a1410;
	padding: .8em 1em; border-radius: 8px; margin-bottom: 1em;
}

/* Footer */
.siteFooter {
	background: var(--ink); color: #ddd;
	text-align: center; padding: 2em 1em;
	font-size: .95rem;
}
.siteFooter p { margin: .3em 0; }
.siteFooter a { color: #fff; }
.siteFooter a:hover { color: var(--yellow); }
.credit { color: #aaa; }
/* little EveningStar star beside the developer credit */
.credit .starIcon { display: inline-block; width: 2em; height: 2em; vertical-align: middle; margin-right: .4em; }
.backToTop { display: inline-block; margin-top: .8em; }

/* Big screens: give the name more room from the picture */
@media (min-width: 1280px) {
	.hero { column-gap: 6em; }
	.logo { width: 84px; }
}

/* In-between sizes: keep the name a slim stack beside a bigger picture */
@media (min-width: 761px) and (max-width: 1050px) {
	.hero { grid-template-columns: minmax(130px, 190px) minmax(300px, 560px); gap: 1.5em 2em; }
}

/* Phones and small tablets */
@media (max-width: 760px) {
	body { font-size: 17px; }
	.logo { width: 46px; }

	.menuButton {
		display: block; position: relative;
		width: 52px; height: 46px;
		background: var(--yellow); border: 0; border-radius: 8px; cursor: pointer;
	}
	.bars, .bars::before, .bars::after {
		position: absolute; left: 11px; width: 24px; height: 3px;
		background: #1a1a1a; border-radius: 2px; content: "";
	}
	.bars { top: 19px; }
	.bars::before { top: -7px; left: 0; }
	.bars::after { top: 7px; left: 0; }

	.siteNav {
		display: none;
		position: absolute; top: 100%; right: 0; left: 0;
		background: var(--ink-soft);
	}
	.siteNav.open { display: block; }
	.siteNav ul { flex-direction: column; padding: .5em 0; }
	.siteNav li + li::before { content: none; }
	.siteNav a { display: block; padding: .8em 1.5em; font-size: 1.15rem; }

	.hero {
		grid-template-columns: 1fr;
		grid-template-areas: "brand" "art" "text";
		padding: 1.5em 1em 2.5em; gap: 1.5em;
	}
	.brand { max-width: 200px; margin: 0 auto; }
	.heroText { text-align: center; }
	.contactWrap { flex-direction: column; align-items: center; }
	.junie { width: 140px; margin: 0 0 -18px; }
	.kitty { width: 120px; margin: -30px 0 0 auto; align-self: flex-end; }
	.heroText h1 { font-size: 1.9rem; }

	.aboutWrap { flex-direction: column; align-items: center; text-align: center; }
	.contactForm { padding: 1.1em; }
	.post.featured { grid-template-columns: 1fr; }
	.teaser { grid-template-columns: 1fr; text-align: center; }
	.teaserImg img { max-width: 260px; margin: 0 auto; }
}
