/* Paws and Pathways Pet Sitting — site.css
 * Brand from the logo: teal lettering (#2a95a3, darkened to #1c7884 for white text), the light aqua ring (#71cad2,
 * surfaces and shapes only) and the dark brown of the flyers' lettering for text.
 * Type: Fraunces (warm serif beside the brush-script logo) for headings, DM Sans for text. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1c7884;        /* logo teal, darkened: white on it 5.2:1 */
  --brand-deep: #125560;   /* 8.4:1 on white */
  --brand-ink: #ffffff;
  --accent: #71cad2;       /* the logo's aqua ring: shapes and surfaces, never text on white */
  --accent-soft: #c4ecef;  /* aqua for text on the deep band */
  --accent-ink: #2b1d12;
  --ink: #2b1d12;          /* the flyers' dark brown */
  --muted: #5f5348;        /* 7.4:1 on white */
  --surface: #ffffff;
  --surface-2: #eaf7f7;    /* aqua tint, like the flyers' panels */
  --line: #cfe6e8;
  --focus: #125560;
  --radius: 1rem;
  --radius-small: 0.5rem;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
  --max: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space-section: clamp(3.5rem, 9vw, 6.5rem);
}

body { font-family: var(--font-body); color: var(--ink); background: var(--surface); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 800px) { body { font-size: 1.125rem; } }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem); line-height: 1.12; }
h3 { font-size: 1.3125rem; line-height: 1.25; }
p { max-width: 38rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding-block: var(--space-section); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand-deep); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-small); }
.skip:focus { top: 1rem; }

.eyebrow { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 1rem; }

/* ---- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 600; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--brand-deep); }
.button:active { transform: translateY(1px); }
.button--ghost { background: transparent; color: var(--brand-deep); box-shadow: inset 0 0 0 2px var(--brand); }
.button--ghost:hover { background: #fff; }
.button--small { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.button--light { background: #fff; color: var(--brand-deep); }
.button--light:hover { background: var(--surface-2); }
.button--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.75); }
.button--outline-light:hover { background: rgb(255 255 255 / 0.12); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { display: inline-block; font-weight: 600; text-underline-offset: 0.2em; padding-block: 0.6rem; }

/* ---- header: white, the logo's own background */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 0.5rem; min-height: 4rem; position: relative; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; margin-right: auto; padding-block: 0.4rem; }
/* the logo is shown in a circle, as on their Facebook page; the file itself is untouched */
.brand img, .about-logo, .footer-brand img { clip-path: ellipse(49% 50% at 50.5% 50%); }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--brand-deep); line-height: 1.1; }
.brand-name span { display: none; font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; color: var(--muted); margin-top: 0.15rem; }
@media (min-width: 480px) { .brand-name { font-size: 1.1875rem; } .brand-name span { display: block; } }
.menu-button { order: 3; width: 2.75rem; height: 2.75rem; flex: none; border: 0; background: none; border-radius: var(--radius-small); display: grid; place-items: center; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 1.4rem; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
[data-menu-toggle][aria-expanded="true"] .bars { background: transparent; }
[data-menu-toggle][aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
[data-menu-toggle][aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
#menu a { text-decoration: none; font-weight: 500; }
.header-cta { flex: none; }
@media (max-width: 799px) {
  #menu { position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(43 29 18 / 0.1); padding: 0.5rem var(--gutter) 1rem; }
  #menu a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  #menu a:last-child { border-bottom: 0; }
}
@media (min-width: 800px) {
  .header-row { min-height: 4.5rem; gap: 0.75rem; }
  .brand img { width: 56px; height: 56px; }
  #menu { display: flex; gap: 1.75rem; margin-right: 1rem; }
  #menu a { color: var(--ink); font-size: 1rem; padding-block: 0.6rem; }
  #menu a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 0.3em; }
}

/* ---- hero: aqua tint like her flyers; text, then the walk photo with the badge's ring behind it */
.hero { background: var(--surface-2); padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--brand); white-space: nowrap; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); color: var(--muted); margin-bottom: 1.75rem; max-width: 33rem; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 0.5rem; }
.checks li::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 50%; flex: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat; }
.hero-photo { position: relative; isolation: isolate; max-width: 30rem; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 100%; border-radius: var(--radius); }
.hero-photo::before { content: ""; position: absolute; left: -0.75rem; bottom: -1.5rem; width: 52%; aspect-ratio: 1; border: 0.75rem solid var(--accent); border-radius: 50%; z-index: -1; }
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .hero-photo { justify-self: end; width: 100%; }
  .hero-photo::before { left: -2.25rem; bottom: -2.25rem; border-width: 1rem; }
}

/* ---- services and prices: her words as a list, her price list as a panel */
.services-grid { display: grid; gap: 3rem; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { padding-block: 1.5rem; border-top: 2px solid var(--line); }
.service-list li:first-child { border-top-color: var(--accent); }
.service-list li:last-child { padding-bottom: 0; }
.service-list h3 { margin-bottom: 0.4rem; }
.service-list p { color: var(--muted); }

.price-panel { background: var(--surface-2); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 5vw, 2.5rem); align-self: start; }
.price-panel h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); margin-bottom: 1.25rem; }
.price-list { margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.7rem; }
.price-row dt { font-weight: 500; }
.price-row .dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--brand); transform: translateY(-0.3em); opacity: 0.55; }
.price-row dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3125rem; color: var(--brand-deep); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price-row dd small { font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem; color: var(--muted); }
.extras { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.extras li { display: flex; align-items: baseline; gap: 0.5rem; background: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: 0.45rem 1rem; font-weight: 500; }
.extras strong { font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; color: var(--brand-deep); }
.price-note { margin-top: 1.5rem; font-family: var(--font-head); font-weight: 500; font-size: 1.1875rem; color: var(--brand-deep); }
@media (min-width: 800px) {
  .services-grid { grid-template-columns: 1fr 1fr; column-gap: 5rem; align-items: start; }
  .price-panel { position: sticky; top: 6.5rem; }
}

/* ---- the animals: two wide photos, four portraits */
.animals { background: var(--surface-2); }
.faces { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.face { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.face a { display: block; height: 100%; }
.face img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.3s ease; }
.face a:hover img { transform: scale(1.03); }
.face--wide { grid-column: span 2; }
.face--wide img { aspect-ratio: 16 / 10; }
.name-tag { position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 1; padding: 0.2rem 0.75rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.9375rem; font-weight: 600; pointer-events: none; }
@media (min-width: 800px) {
  .faces { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
  .face--wide a { position: relative; }
  .face--wide img { position: absolute; inset: 0; aspect-ratio: auto; }
}

/* ---- the recommendation: one deep band */
.review { background: var(--brand-deep); color: #fff; }
.review .eyebrow { color: var(--accent-soft); }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4375rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.32; max-width: 50rem; letter-spacing: -0.01em; }
.review blockquote footer { margin-top: 1.5rem; font-weight: 600; }
.review .text-link { margin-top: 0.75rem; color: var(--accent-soft); }

/* ---- areas */
.areas-grid { display: grid; gap: 2.5rem; align-items: center; }
.towns { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--brand-deep); max-width: 12em; margin-bottom: 0.75rem; }
.county { font-family: var(--font-head); font-weight: 500; font-size: 1.375rem; margin-bottom: 1.25rem; }
.areas-text p:last-child { color: var(--muted); }
.areas-photo { position: relative; isolation: isolate; }
.areas-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.areas-photo::before { content: ""; position: absolute; right: -0.5rem; top: -1.25rem; width: 34%; aspect-ratio: 1; border: 0.6rem solid var(--accent); border-radius: 50%; z-index: -1; }
@media (min-width: 800px) { .areas-grid { grid-template-columns: 1.15fr 0.85fr; gap: 5rem; } .areas-photo::before { right: -1.5rem; top: -1.5rem; } }

/* ---- about */
.about { background: var(--surface-2); }
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-logo { width: 11rem; height: 11rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.their-words { margin: 0 0 1.5rem; padding-left: 1.25rem; border-left: 4px solid var(--accent); }
.their-words p { font-size: 1.1875rem; line-height: 1.55; }
.their-words p + p { margin-top: 1rem; }
.motto { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--brand-deep); }
@media (min-width: 800px) {
  .about-grid { grid-template-columns: auto 1fr; gap: 5rem; }
  .about-logo { width: 18rem; height: 18rem; }
}

/* ---- contact */
.contact-card { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 6vw, 4rem); }
.contact-card::before { content: ""; position: absolute; right: -5rem; top: -5rem; width: 15rem; aspect-ratio: 1; border: 1.25rem solid rgb(255 255 255 / 0.14); border-radius: 50%; z-index: -1; }
.contact-card h2 { color: #fff; margin-bottom: 0.75rem; max-width: 18em; }
.contact-card > p { margin-bottom: 1.75rem; }
.contact-card .actions { flex-direction: column; align-items: stretch; }
.contact-facts { display: grid; gap: 1rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.35); }
.contact-facts dt { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.contact-facts dd { margin: 0.25rem 0 0; font-size: 1.125rem; }
.sign-off { margin-top: 2rem; font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; line-height: 1.4; max-width: 26rem; }
.sign-off span { display: block; margin-top: 0.4rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
@media (min-width: 800px) {
  .contact-card .actions { flex-direction: row; align-items: center; }
  .contact-facts { grid-template-columns: repeat(2, max-content); column-gap: 4rem; }
}

/* ---- footer */
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.footer-row { display: grid; gap: 0.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.footer-brand img { width: 40px; height: 40px; }
.site-footer a { color: var(--brand-deep); padding-block: 0.7rem; display: inline-block; font-weight: 600; }
.small { font-size: 0.875rem; }
@media (min-width: 800px) { .footer-row { grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; } }
