/* ===================================================================
   Granny Paw's Dog Desserts — site theme
   Palette drawn from the brand art: flour cream, butterscotch apron,
   cocoa lettering, and the blue gingham of Granny's shirt and the
   market-table cloth the treats are photographed on.
   =================================================================== */

:root {
	--flour: #FAF4E7;
	--card: #FFFDF8;
	--butterscotch: #C87E2F;
	--butterscotch-deep: #9A5C19;
	--cocoa: #452F1B;
	--ink: #523E2A;
	--biscuit: #E7D7BC;
	--gingham-blue: #5D8FC7;
	--gingham-pale: #EDF3FA;
	--cream-text: #F3E8D5;
	--radius-lg: 1.25rem;
	--shadow-soft: 0 2px 10px rgba(69, 47, 27, .08);
	--shadow-lift: 0 12px 28px rgba(69, 47, 27, .16);
}

/* ---------- base ---------- */

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--flour);
	color: var(--ink);
	font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-display {
	font-family: "Bree Serif", Georgia, serif;
	font-weight: 400;
	color: var(--cocoa);
	line-height: 1.2;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); }

a {
	color: var(--butterscotch-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: .15em;
}

a:hover { color: var(--cocoa); }

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

::selection { background: var(--butterscotch); color: #fff; }

:focus-visible {
	outline: 3px solid var(--butterscotch);
	outline-offset: 2px;
	border-radius: .25rem;
}

/* Script accent — the "Dog Desserts" flourish from the logo */
.eyebrow {
	font-family: "Yellowtail", cursive;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	color: var(--butterscotch);
	display: block;
	margin-bottom: .25rem;
}

/* ---------- signature: blue gingham market cloth ---------- */

.gingham {
	background-color: #fff;
	background-image:
		linear-gradient(90deg, rgba(93, 143, 199, .45) 50%, transparent 50%),
		linear-gradient(rgba(93, 143, 199, .45) 50%, transparent 50%);
	background-size: 26px 26px;
}

.gingham-strip {
	height: 12px;
	background-color: #fff;
	background-image:
		linear-gradient(90deg, rgba(93, 143, 199, .45) 50%, transparent 50%),
		linear-gradient(rgba(93, 143, 199, .45) 50%, transparent 50%);
	background-size: 24px 24px;
}

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(250, 244, 231, .92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--biscuit);
}

.site-header .navbar { padding-block: .4rem; }

.brand-paw { border-radius: .55rem; }

.brand-name {
	font-family: "Bree Serif", Georgia, serif;
	font-size: 1.35rem;
	color: var(--cocoa);
}

.navbar-brand { text-decoration: none; }

.site-header .nav-link {
	color: var(--cocoa);
	font-weight: 700;
	padding: .65rem 1rem;
	border-radius: 2rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
	background: rgba(200, 126, 47, .14);
	color: var(--cocoa);
}

.site-header .navbar-toggler {
	border-color: var(--biscuit);
	padding: .5rem .7rem;
}

.site-header .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23452F1B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- buttons ---------- */

.btn-granny,
.btn-granny-outline {
	display: inline-block;
	font-weight: 700;
	border-radius: 2rem;
	padding: .7rem 1.5rem;
	min-height: 44px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	text-align: center;
}

.btn-granny {
	background: var(--butterscotch);
	border: 2px solid var(--butterscotch);
	color: #FFF7EA;
	box-shadow: var(--shadow-soft);
}

.btn-granny:hover {
	background: var(--butterscotch-deep);
	border-color: var(--butterscotch-deep);
	color: #FFF7EA;
	transform: translateY(-1px);
	box-shadow: var(--shadow-lift);
}

.btn-granny-outline {
	background: transparent;
	border: 2px solid var(--butterscotch);
	color: var(--butterscotch-deep);
}

.btn-granny-outline:hover {
	background: rgba(200, 126, 47, .12);
	color: var(--cocoa);
}

/* ---------- home hero ---------- */

.home-hero {
	padding: clamp(1.5rem, 5vw, 3.5rem) 1rem;
}

.hero-sticker {
	background: #fff;
	border-radius: 1.75rem;
	box-shadow: var(--shadow-lift);
	padding: clamp(.75rem, 2.5vw, 1.5rem);
	max-width: 560px;
	margin-inline: auto;
	transform: rotate(-1.2deg);
}

.hero-sticker img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1rem;
}

/* highlights strip */
.highlights {
	background: var(--card);
	border-block: 1px solid var(--biscuit);
}

.highlight-item {
	text-align: center;
	padding: 1.1rem .5rem;
}

.highlight-item .h-title {
	font-family: "Bree Serif", Georgia, serif;
	color: var(--cocoa);
	font-size: 1.05rem;
	display: block;
}

.highlight-item .h-sub {
	font-size: .9rem;
	margin: 0;
}

/* ---------- treat cards (menu + home grid) ---------- */

.treat-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--biscuit);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	text-decoration: none;
	color: var(--ink);
	height: 100%;
	transition: transform .18s ease, box-shadow .18s ease;
}

.treat-card:hover,
.treat-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
	color: var(--ink);
}

.treat-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.treat-card .card-label {
	padding: .9rem 1.1rem 1rem;
}

.treat-card .card-label .t-name {
	font-family: "Bree Serif", Georgia, serif;
	color: var(--cocoa);
	font-size: 1.15rem;
	display: block;
	margin-bottom: .15rem;
}

.treat-card .card-label .t-blurb {
	font-size: .92rem;
	margin: 0;
}

/* ---------- treat detail page ---------- */

.treat-hero {
	padding: clamp(1.25rem, 4vw, 3rem) 1rem;
}

.plate-frame {
	background: #fff;
	padding: clamp(.6rem, 2vw, 1rem);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-lift);
	max-width: 520px;
	margin-inline: auto;
}

.plate-frame img {
	display: block;
	width: 100%;
	border-radius: 1rem;
}

.plate-frame .plate-placeholder {
	width: 100%;
	border-radius: 1rem;
	aspect-ratio: 1 / 1;
	background: var(--gingham-pale);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	color: var(--cocoa);
	font-family: "Bree Serif", Georgia, serif;
	font-size: 1.1rem;
	text-align: center;
	padding: 1rem;
}

/* paw-print ingredient list */
.paw-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.paw-list li {
	background: var(--flour);
	border: 1px solid var(--biscuit);
	border-radius: 2rem;
	padding: .4rem .95rem .4rem 2.2rem;
	position: relative;
	font-size: .98rem;
}

.paw-list li::before {
	content: "";
	position: absolute;
	left: .7rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.05rem;
	height: 1.05rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23C87E2F'%3E%3Cellipse cx='20' cy='26' rx='6' ry='7.5' transform='rotate(-14 20 26)'/%3E%3Cellipse cx='44' cy='26' rx='6' ry='7.5' transform='rotate(14 44 26)'/%3E%3Cellipse cx='10.5' cy='37' rx='4.6' ry='6' transform='rotate(-28 10.5 37)'/%3E%3Cellipse cx='53.5' cy='37' rx='4.6' ry='6' transform='rotate(28 53.5 37)'/%3E%3Cpath d='M32 34c7.5 0 13.5 5.6 13.5 12 0 4.4-3.1 7-7.2 7-2.4 0-4.3-1-6.3-1s-3.9 1-6.3 1c-4.1 0-7.2-2.6-7.2-7 0-6.4 6-12 13.5-12z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* pills linking to other treats */
.treat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.treat-pills a {
	display: inline-block;
	background: var(--card);
	border: 1.5px solid var(--biscuit);
	border-radius: 2rem;
	padding: .5rem 1.1rem;
	text-decoration: none;
	color: var(--cocoa);
	font-weight: 700;
	font-size: .95rem;
	transition: background-color .15s ease, border-color .15s ease;
}

.treat-pills a:hover,
.treat-pills a:focus-visible {
	background: rgba(200, 126, 47, .12);
	border-color: var(--butterscotch);
}

/* info panel next to / below the photo */
.info-card {
	background: var(--card);
	border: 1px solid var(--biscuit);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	padding: clamp(1.25rem, 4vw, 2rem);
}

.note-tag {
	display: inline-block;
	background: var(--gingham-pale);
	border: 1px solid rgba(93, 143, 199, .4);
	color: #2F5482;
	border-radius: .6rem;
	padding: .35rem .8rem;
	font-size: .9rem;
	font-weight: 700;
}

/* ---------- generic content sections ---------- */

.section-pad { padding-block: clamp(2rem, 6vw, 3.75rem); }

.content-card {
	background: var(--card);
	border: 1px solid var(--biscuit);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	padding: clamp(1.25rem, 4vw, 2.25rem);
}

/* checklist with paw bullets (party planner, aprons steps) */
.check-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.check-list li {
	position: relative;
	padding: .5rem 0 .5rem 2.1rem;
	border-bottom: 1px dashed var(--biscuit);
}

.check-list li:last-child { border-bottom: 0; }

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .78rem;
	width: 1.15rem;
	height: 1.15rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23C87E2F'%3E%3Cellipse cx='20' cy='26' rx='6' ry='7.5' transform='rotate(-14 20 26)'/%3E%3Cellipse cx='44' cy='26' rx='6' ry='7.5' transform='rotate(14 44 26)'/%3E%3Cellipse cx='10.5' cy='37' rx='4.6' ry='6' transform='rotate(-28 10.5 37)'/%3E%3Cellipse cx='53.5' cy='37' rx='4.6' ry='6' transform='rotate(28 53.5 37)'/%3E%3Cpath d='M32 34c7.5 0 13.5 5.6 13.5 12 0 4.4-3.1 7-7.2 7-2.4 0-4.3-1-6.3-1s-3.9 1-6.3 1c-4.1 0-7.2-2.6-7.2-7 0-6.4 6-12 13.5-12z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* numbered steps (aprons ordering) */
.step-list {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 0;
}

.step-list li {
	counter-increment: step;
	position: relative;
	padding: .65rem 0 .65rem 3rem;
}

.step-list li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: .55rem;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--butterscotch);
	color: #FFF7EA;
	font-family: "Bree Serif", Georgia, serif;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* food color swatches */
.swatch-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.swatch-list li {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: .6rem 0;
	border-bottom: 1px dashed var(--biscuit);
}

.swatch-list li:last-child { border-bottom: 0; }

.swatch {
	flex: 0 0 auto;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	border: 2px solid rgba(69, 47, 27, .15);
	box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .08);
}

.swatch-name {
	font-family: "Bree Serif", Georgia, serif;
	color: var(--cocoa);
	min-width: 5.2rem;
}

/* big tappable contact rows */
.contact-tile {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--card);
	border: 1px solid var(--biscuit);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	padding: 1.1rem 1.25rem;
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease;
}

.contact-tile:hover,
.contact-tile:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lift);
	color: var(--ink);
}

.contact-tile .c-icon {
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(200, 126, 47, .15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}

.contact-tile .c-label {
	font-family: "Bree Serif", Georgia, serif;
	color: var(--cocoa);
	display: block;
	font-size: 1.05rem;
}

.contact-tile .c-value {
	margin: 0;
	font-size: .95rem;
	word-break: break-word;
}

/* ---------- footer ---------- */

.site-footer {
	background: var(--cocoa);
	color: var(--cream-text);
}

.site-footer a {
	color: #F7C98B;
}

.site-footer a:hover { color: #fff; }

.footer-brand {
	font-family: "Bree Serif", Georgia, serif;
	font-size: 1.2rem;
	color: #fff;
}

.footer-heading {
	font-family: "Bree Serif", Georgia, serif;
	color: #fff;
	margin-bottom: .35rem;
}

.footer-fine {
	font-size: .85rem;
	opacity: .75;
}

/* ---------- motion ---------- */

@keyframes rise-in {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.rise-in { animation: rise-in .5s ease both; }
.rise-in-delay { animation: rise-in .5s ease .15s both; }

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

	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
