/* Sit & Stay Pet Co. — Salem, Oregon.
 *
 * STRUCTURE: a classic stack, on purpose. The content is four services with prices, a
 * three-step start, and contact. There are no photographs yet, so the page takes its
 * character from the logo instead: a high-contrast Didone display face, a spaced geometric
 * sans (the "PET CO." line), warm cream and charcoal. The one strong device is the price
 * MENU: services set like a printed menu with dotted leaders, which suits the logo's
 * register and is the most-read part of a sitter's site.
 *
 * TYPE (2026-10-08): Fraunces = display (h1, h2) at 500; Fraunces ITALIC = h3 and nothing
 *       else. Fraunces replaced Bodoni Moda, whose hairlines looked stark at large sizes.
 *       Jost = everything else, including nav and buttons.
 *
 * COLOUR, sampled from the logo file (logo w back.png):
 *   cream #faf7f3 (the logo's own ground), charcoal #3a3a3a, grey #737373.
 * CONTRAST RULE. Do not "brighten it back to brand":
 *   #737373 on cream measures 4.4:1, which FAILS body text. It is only for rules, dots and
 *   large display. Readable grey text is --grey-deep #5e5e5e (6.1:1 on cream, 5.6:1 on linen).
 *   On the charcoal band, body text is cream (10.6:1) and muted text is #c4bfb8 (6.4:1).
 *   Button hover keeps its fill and only darkens it. No ghost inversion.
 * ACCENTS (2026-10-08), soft and secondary to cream + charcoal. Each has a -wash (card
 *   backgrounds), a mid tone (decoration only: silhouettes, rules) and a -deep for anything
 *   that is text or carries text. -deep values measure >= 4.5:1 on cream, linen and their own
 *   wash; cream text on --sage-deep (the meet & greet button) measures >= 4.5:1. Never put text
 *   in the mid tones.
 */
:root {
  --cream: #faf7f3;
  --linen: #f2ede6;
  --paper: #fffdfa;
  --ink: #2b2b2b;
  --charcoal: #3a3a3a;
  --black: #1f1f1f;
  --grey: #737373;
  --grey-deep: #5e5e5e;
  --hair: #d9d2c8;
  --on-dark: #faf7f3;
  --on-dark-muted: #c4bfb8;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sage: #8fa68a; --sage-deep: #4a6650; --sage-wash: #e7eee3; --sage-dark: #3b5240;
  --terra: #d39a7c; --terra-deep: #95482c; --terra-wash: #f7e7dd;
  --dusty: #93a8bd; --dusty-deep: #435d76; --dusty-wash: #e2e9f0;
  --honey: #d8b56a; --honey-deep: #765615; --honey-wash: #f5ecd6;
  --text: 'Jost', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 118px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--text);
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.35rem, 9vw, 4.4rem); }
h2 { font-size: clamp(2rem, 7vw, 3rem); }
h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.25; margin: 0 0 .35em; }
h1 em { font-style: italic; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: var(--on-dark); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--text); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid var(--charcoal);
  transition: background-color .2s, transform .2s;
}
.btn-solid, a.btn-solid { background: var(--charcoal); color: var(--on-dark); }
.btn-line, a.btn-line { background: transparent; color: var(--ink); }
.btn-accent, a.btn-accent { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--black); transform: translateY(-1px); }
  .btn-line:hover { background: var(--linen); }
  .btn-accent:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
}

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; }
/* Frost on ::before, never on the header itself (backdrop-filter makes it the containing
   block for fixed descendants). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 247, 243, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 36px; width: auto; transition: height .2s; }
.bar-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }

.tabs {
  display: flex; gap: 4px; overflow-x: auto; padding: 0 var(--gutter) 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--grey-deep);
  white-space: nowrap;
}
.tabs a.on, .tabs a[aria-current="page"] { background: var(--charcoal); color: var(--on-dark); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 0; }
.hero-inner { padding: 28px var(--gutter) 8px; display: grid; gap: 8px; }
.place {
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey-deep); margin-bottom: .9em;
}
.lede { font-size: 1.1rem; color: var(--grey-deep); max-width: 34em; }
.hero-actions { display: grid; gap: 12px; margin-top: 22px; }
.hero-mark { margin: 12px auto 0; width: min(100%, 420px); order: -1; }
.hero-mark img { width: 100%; }

.facts {
  list-style: none; margin: 28px var(--gutter) 0; padding: 18px 0;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center;
  font-size: 14px; color: var(--grey-deep); line-height: 1.35;
}
.facts strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
.facts svg { display: block; width: 22px; height: 22px; margin: 0 auto 6px; }
.f-sage, .f-sage strong { color: var(--sage-deep); }
.f-terra, .f-terra strong { color: var(--terra-deep); }
.f-dusty, .f-dusty strong { color: var(--dusty-deep); }

/* ── Bands ───────────────────────────────────────────────── */
/* Cap the CHILDREN, never the band, so tinted bands can run full-bleed. */
.band { padding: 64px var(--gutter); }
.band > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.band.tint { background: var(--linen); }
.band > h2 { text-align: center; }
/* Inner pages: the section's heading is the page's one h1, sized like a section heading. */
.band > h1.page-title { font-size: clamp(2rem, 7vw, 3rem); text-align: center; }
/* Home: one card per inner page. */
.links { display: grid; gap: 16px; }
@media (min-width: 640px) { .links { grid-template-columns: 1fr 1fr; } }
.link-card { display: block; padding: 24px; border: 1px solid var(--hair); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.link-card h3 { margin: 0 0 6px; }
.link-card p { margin: 0; color: var(--grey-deep); }
.link-card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--charcoal); }
@media (hover: hover) and (pointer: fine) { .link-card:hover { border-color: var(--charcoal); } }
.link-card .ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); margin-bottom: 12px; }
.link-card .ico svg { width: 22px; height: 22px; }
.wash-sage { background: var(--sage-wash); border-color: var(--sage-wash); } .wash-sage .ico, .wash-sage .more { color: var(--sage-deep); border-color: var(--sage-deep); }
.wash-dusty { background: var(--dusty-wash); border-color: var(--dusty-wash); } .wash-dusty .ico, .wash-dusty .more { color: var(--dusty-deep); border-color: var(--dusty-deep); }
.wash-honey { background: var(--honey-wash); border-color: var(--honey-wash); } .wash-honey .ico, .wash-honey .more { color: var(--honey-deep); border-color: var(--honey-deep); }
.wash-terra { background: var(--terra-wash); border-color: var(--terra-wash); } .wash-terra .ico, .wash-terra .more { color: var(--terra-deep); border-color: var(--terra-deep); }
@media (hover: hover) and (pointer: fine) {
  .wash-sage:hover { border-color: var(--sage); } .wash-dusty:hover { border-color: var(--dusty); }
  .wash-honey:hover { border-color: var(--honey); } .wash-terra:hover { border-color: var(--terra); }
}
.intro { text-align: center; color: var(--grey-deep); max-width: 36em; margin-bottom: 36px; }
.center { text-align: center; margin-top: 36px; }

/* ── The menu ────────────────────────────────────────────── */
.menu {
  background: var(--paper); border: 1px solid var(--hair);
  padding: 8px 20px; display: grid;
}
.menu-group { padding: 26px 0; border-bottom: 1px solid var(--hair); }
.menu-group:last-child { border-bottom: 0; }
.group-note { font-size: 15px; color: var(--grey-deep); margin-bottom: 14px; }
.row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.item { font-weight: 500; }
.dots { flex: 1; border-bottom: 1.5px dotted var(--grey); transform: translateY(-4px); min-width: 16px; }
.price { font-family: var(--display); font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.row-note { font-size: 14px; color: var(--grey-deep); margin: 2px 0 0; }
.row-note a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }

/* ── Visit lists ─────────────────────────────────────────── */
.lists { display: grid; gap: 32px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--hair); }
.ticks li::before {
  content: ""; content: "" / ""; position: absolute; left: 2px; top: 50%;
  width: 7px; height: 7px; background: var(--charcoal); transform: translateY(-50%) rotate(45deg);
}
.add { float: right; font-size: 14px; font-weight: 500; color: var(--ink); }
.add.inc { color: var(--grey-deep); font-weight: 400; }

/* ── Overnights (the one dark band) ──────────────────────── */
.band.dark { background: var(--charcoal); color: var(--on-dark); }
.overnight { display: grid; gap: 28px; }
.prose p { color: var(--on-dark-muted); font-size: 1.05rem; }
.prose p:first-child { color: var(--on-dark); font-family: var(--display); font-size: 1.18rem; line-height: 1.5; }
@media (min-width: 900px) { .prose p:first-child { font-size: 1.4rem; } }
.overnight-card { border: 1px solid rgba(250, 247, 243, .3); padding: 26px 24px; text-align: center; }
.overnight-card .big { font-family: var(--display); font-size: 3.6rem; line-height: 1; margin: 0; }
.overnight-card .per { letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--on-dark-muted); margin: 6px 0 18px; }
.overnight-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.overnight-card li { padding: 8px 0; border-top: 1px solid rgba(250, 247, 243, .18); }
.overnight-card .small { font-size: 14px; color: var(--on-dark-muted); margin: 0; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 12px auto 0; counter-reset: s; display: grid; gap: 30px; }
.steps li { counter-increment: s; position: relative; padding-left: 62px; }
.steps li::before {
  content: counter(s); content: counter(s) / ""; position: absolute; left: 0; top: -6px;
  font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--sage-deep);
}
.steps p { color: var(--grey-deep); margin: 0; }

/* ── Good to know ────────────────────────────────────────── */
.know { margin: 0 auto; display: grid; gap: 0; }
.know > div { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.know > div:first-child { border-top: 1px solid var(--hair); }
.know dt { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.know dd { margin: 0; color: var(--grey-deep); }

/* ── Book / contact ──────────────────────────────────────── */
.book { display: grid; gap: 28px; }
.contact > p { color: var(--grey-deep); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: grid; padding: 12px 0; border-bottom: 1px solid var(--hair); font-weight: 500; }
.contact-list span { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-deep); }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; display: flex; align-items: center; min-height: 44px; }
.contact-actions { display: grid; gap: 12px; }
.embed iframe { width: 100%; height: 920px; border: 1px solid var(--hair); background: #fff; display: block; }

/* Contact form (sent through Book'n Buddy, see assets/site.js). Inputs are 16px so phones
   do not zoom in; labels use the same small-caps voice as the contact list. */
.contact-form { max-width: 720px; }
.cf-lead { color: var(--grey-deep); margin: 0 0 20px; }
/* Topic chips: real radio buttons (keyboard + screen readers), styled as 48px tap targets. */
.cf-topics { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.cf-topics legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-deep); }
.cf-topics label { position: relative; }
.cf-topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-topics span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--hair); background: var(--paper); color: var(--ink); font-size: 15px; cursor: pointer;
}
.cf-topics input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.cf-topics input:focus-visible + span { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.cf-grid { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 640px) { .cf-grid { grid-template-columns: 1fr 1fr; } .cf-wide { grid-column: 1 / -1; } }
.cf-grid label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-deep); }
.cf-opt { letter-spacing: 0; text-transform: none; font-weight: 400; }
.cf-grid input, .cf-grid textarea {
  font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--paper);
  border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  letter-spacing: 0; text-transform: none; width: 100%; box-sizing: border-box;
}
.cf-grid textarea { resize: vertical; min-height: 120px; }
.cf-grid input:focus, .cf-grid textarea:focus { outline: 2px solid var(--charcoal); outline-offset: 1px; border-color: var(--charcoal); }
.cf-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn[disabled] { opacity: .6; cursor: default; transform: none; }
.cf-status { margin: 14px 0 0; min-height: 1.4em; color: var(--grey-deep); }
.cf-status.ok { color: var(--ink); font-weight: 500; }
.cf-status.err { color: #8a1c1c; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--linen); text-align: center; padding: 48px var(--gutter) 36px; border-top: 1px solid var(--hair); }
.foot-mark { width: 150px; margin: 0 auto 14px; }
.foot-name { font-family: var(--display); font-size: 1.6rem; margin: 0; }
.foot-tag { color: var(--grey-deep); margin-bottom: 14px; }
.foot-meta { font-size: 14px; color: var(--grey-deep); margin: 0 0 6px; }
.foot-meta a { color: var(--ink); text-decoration: none; display: inline-block; padding: 12px 2px; }
.powered {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 13px; letter-spacing: .06em;
  color: var(--grey-deep); text-decoration: none; border-bottom: 1px solid var(--hair);
}

/* ── Phone action bar ────────────────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--cream); border-top: 1px solid var(--hair);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px;
  border: 1.5px solid var(--charcoal); text-decoration: none;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; color: var(--ink);
}
.mobile-bar a.solid { background: var(--charcoal); color: var(--on-dark); }

/* ── Tablet ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .lists { grid-template-columns: repeat(3, 1fr); }
  .contact-actions { grid-auto-flow: column; justify-content: start; }
  .menu { padding: 12px 36px; }
  /* Tablet: keep the emblem from pushing the buttons below the fold. */
  .hero-inner { grid-template-columns: 1fr 240px; align-items: center; gap: 24px; }
  .hero-mark { order: 0; width: 100%; margin: 0; }
}

/* ── Desktop ─────────────────────────────────────────────── */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  html { scroll-padding-top: 84px; }
  .site-header { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
  .bar { padding: 14px 0; order: 0; flex: none; }
  .bar-cta { display: none; }
  .brand img { height: 44px; }
  .site-header.scrolled .brand img { height: 34px; }
  .tabs { padding: 0; overflow: visible; }
  .band { padding: 96px var(--gutter); }
  .hero-inner {
    max-width: 1160px; margin: 0 auto; padding: 56px var(--gutter) 24px;
    grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
  }
  .hero-mark { order: 0; width: 100%; margin: 0; }
  .facts { max-width: 1096px; margin: 40px auto 0; font-size: 15px; }
  .facts strong { font-size: 1.6rem; }
  .menu { grid-template-columns: 1fr 1fr; column-gap: 64px; padding: 16px 48px; }
  .menu-group:nth-last-child(2) { border-bottom: 0; }
  .overnight { grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .know { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .know > div:nth-child(2) { border-top: 1px solid var(--hair); }
  .book { grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
  .contact-actions { grid-auto-flow: row; justify-content: stretch; }
}
