/* Saltmarsh Paws concept demo. Palette per Desi's kit v1: Dune ground,
   Pluff Mud text, Spartina Straw as fills only (never text), Tidal for
   large type and UI. */
/* Self-hosted Fredoka and Nunito (SIL OFL, @fontsource 5.3.0, latin), the
   same faces the Google Fonts link loaded. Same origin, no extra round
   trip before first paint. */
@font-face{font-family:"Fredoka";font-style:normal;font-weight:600;font-display:swap;src:url("/saltmarshpaws/fonts/fredoka-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url("/saltmarshpaws/fonts/nunito-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url("/saltmarshpaws/fonts/nunito-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --mud:#3A332D;
  --straw:#D9A443;
  --tidal:#5C7A86;
  --dune:#F7EACB;
  --white:#FFFFFF;
  --mud-muted:rgba(58,51,45,.84);
  --rule:rgba(58,51,45,.2);
  --display:"Fredoka",Arial,sans-serif;
  --body:"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --wrap:1160px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--dune);color:var(--mud);font:400 1.0625rem/1.6 var(--body)}
img{max-width:100%;display:block}
a{color:inherit;text-underline-offset:3px}
a:focus-visible,summary:focus-visible{outline:3px solid var(--mud);outline-offset:3px}
.dark a:focus-visible,.ftr a:focus-visible{outline-color:var(--white)}
h1,h2,h3,.h2{font-family:var(--display);font-weight:600;line-height:1.12;margin:0}
h1{font-size:clamp(2.25rem,6vw,3.5rem)}
h2,.h2{font-size:clamp(1.75rem,4vw,2.375rem)}
h3{font-size:1.375rem}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
@media (min-width:620px){.wrap{padding:0 24px}}
.narrow>*{max-width:760px}
.skip{position:absolute;left:-999px;top:0;background:var(--mud);color:var(--white);padding:10px 14px;z-index:10}
.skip:focus{left:8px;top:8px}
.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}
.muted{color:var(--mud-muted)}
.small{font-size:.9375rem}
.eyebrow{font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.12em;font-size:.875rem;margin-bottom:12px}
.lede{font-size:1.1875rem;max-width:60ch}

/* Concept disclosure: first thing on every page. */
.concept{background:var(--mud);color:var(--dune);font-size:.875rem;text-align:center;padding:8px 16px}
.concept b{font-family:var(--display);font-weight:600;letter-spacing:.12em;text-transform:uppercase}

.hdr{background:var(--white);border-bottom:1px solid var(--rule)}
.hdr-in{display:flex;align-items:center;gap:12px 24px;min-height:88px;flex-wrap:wrap;padding-top:12px;padding-bottom:8px}
.brand{display:inline-flex;flex:0 0 auto}
.brand img{height:34px;width:auto}
@media (min-width:700px){.brand img{height:80px}}
.nav{display:flex;gap:4px 18px;flex-wrap:wrap;margin-left:auto;font-weight:700}
.nav a{text-decoration:none;padding:12px 2px;min-height:44px;display:inline-flex;align-items:center}
.nav a[aria-current="page"]{box-shadow:inset 0 -3px 0 var(--straw)}
@media (max-width:699px){.nav{margin-left:0;width:100%}}

/* One filled action per view: Straw fill, Mud text (5.5:1), Mud edge so it
   holds on Dune. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 26px;background:var(--straw);color:var(--mud);border:2px solid var(--mud);border-radius:999px;font-family:var(--display);font-weight:600;font-size:1.125rem;text-decoration:none}
.cta-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:26px}
.note{font-size:.9375rem;margin-top:12px}
.note a{font-weight:700}

.section{padding:64px 0}
@media (min-width:960px){.section{padding:88px 0}}
.tint{background:var(--white)}
.dark{background:var(--tidal);color:var(--white)}

.hero{padding:40px 0 56px}
.hero+.flush{padding-top:0}
.hero-plain{padding:56px 0 40px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
@media (min-width:960px){.hero-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px}}

/* Photo slots: exact ratios from photo-slots.md. A slot with no file yet is
   a placeholder block, never an <img>. */
.slot{position:relative;overflow:hidden;border-radius:14px;background:var(--dune)}
.slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.slot-hero{aspect-ratio:1168/784}
.slot-4x3{aspect-ratio:4/3}
.slot-empty{border:2px dashed var(--mud);display:flex;align-items:center;justify-content:center}
.slot-empty span{font-family:var(--display);font-weight:600;font-size:.875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--mud)}

.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
@media (min-width:620px){.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}}

.svc{display:flex;flex-direction:column;gap:10px;padding:24px;background:var(--white);border:2px solid var(--mud);border-radius:14px;text-decoration:none}
.svc .ic{align-self:flex-start}
.svc .price{margin-top:auto;padding-top:6px;font-weight:700}
.svc .price em{font-style:normal}
.svc:hover h3{text-decoration:underline;text-underline-offset:4px}

.lines{margin:24px 0 0;padding:0;list-style:none}
.lines li{position:relative;padding:14px 0 14px 36px;border-top:1px solid var(--rule)}

.visit{margin:0;padding:26px;background:var(--dune);border:2px dashed var(--tidal);border-radius:14px;align-self:center}
.visit p{font-size:1.125rem}

.towns{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:22px 0 0;padding:0}
.towns li{padding:8px 16px;border:2px solid var(--white);border-radius:999px;font-weight:700}

.rows{list-style:none;margin:24px 0 0;padding:0}
.rows li{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:14px 0 14px 32px;border-top:1px solid var(--rule)}
@media (min-width:620px){.rows li{grid-template-columns:minmax(0,2fr) minmax(0,5fr);gap:24px}}

.faq{margin-top:24px}
.faq details{border-top:1px solid var(--rule)}
.faq details:last-child{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;padding:16px 0;min-height:44px;font-weight:700;font-size:1.125rem}
.faq details p{padding:0 0 18px}

.book .lede a{font-weight:700}

.ftr{background:var(--mud);color:var(--dune);padding:56px 0 32px;font-size:.9375rem}
.ftr-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
@media (min-width:760px){.ftr-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr) minmax(0,4fr)}}
.ftr ul{list-style:none;margin:0;padding:0}
.ftr li a{display:inline-flex;min-height:44px;align-items:center}
.ftr .stack{width:260px;height:auto}
.ftr-note{margin-top:36px;padding-top:20px;border-top:1px solid rgba(247,234,203,.25);font-size:.875rem}
.ftr-note p+p{margin-top:8px}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Tap targets (AD, Oct 8): the inline footer and credit links get a hit area at
   least 24px tall (the list links are already 44px). The taller line height keeps
   the hit areas on stacked credit lines from overlapping. */
.ftr p a{position:relative}
.ftr p a::after{content:"";position:absolute;left:0;right:0;top:50%;height:max(100%,24px);transform:translateY(-50%)}
.ftr .credits{line-height:2}
.ftr .credits a{white-space:nowrap}

/* Visit planner (services page). Hidden until planner.js runs. */
.plan{margin-top:28px;padding:24px;background:var(--white);border:2px solid var(--mud);border-radius:14px}
.plan-field{margin:0 0 22px;padding:0;border:0;min-width:0}
.plan-field:last-child{margin-bottom:0}
.plan-field>label,.plan-field legend{display:block;font-weight:700;margin-bottom:10px;padding:0}
.stepper{display:inline-flex;align-items:stretch;border:2px solid var(--mud);border-radius:999px;overflow:hidden}
.stepper input{width:4.5rem;min-height:48px;border:0;border-left:2px solid var(--mud);border-right:2px solid var(--mud);text-align:center;font:700 1.125rem var(--body);color:var(--mud);background:var(--white);-moz-appearance:textfield}
.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.step-btn{min-width:48px;min-height:48px;border:0;background:var(--dune);color:var(--mud);font:600 1.375rem var(--display);cursor:pointer}
.stepper input:focus-visible,.step-btn:focus-visible{outline:3px solid var(--mud);outline-offset:-5px}
.plan-err{margin-top:8px;font-weight:700}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pills label{position:relative}
.pills input{position:absolute;opacity:0;width:1px;height:1px}
.pills span{display:inline-flex;align-items:center;justify-content:center;min-width:56px;min-height:48px;padding:0 18px;border:2px solid var(--mud);border-radius:999px;font-weight:700;cursor:pointer;background:var(--white)}
.pills input:checked+span{background:var(--straw)}
.pills input:focus-visible+span{outline:3px solid var(--mud);outline-offset:3px}
.plan-field>label.check{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:0;cursor:pointer}
.check input{width:24px;height:24px;accent-color:var(--mud);margin:0}
.plan-out{margin-top:28px}
.plan-out h3{font-size:1.375rem}
.plan-empty{margin-top:12px;font-weight:700}
.plan-table{width:100%;border-collapse:collapse;margin-top:14px}
.plan-table th,.plan-table td{text-align:left;padding:12px 0;border-top:1px solid var(--rule);vertical-align:top}
.plan-table td{padding-left:12px}
.plan-table td:last-child{text-align:right;font-weight:700;white-space:nowrap}
.plan-table .math{display:block;font-weight:400;font-size:.875rem;color:var(--mud-muted)}
.plan-table tfoot th,.plan-table tfoot td{border-top:2px solid var(--mud);font-family:var(--display);font-weight:600;font-size:1.25rem}

/* Phosphor Regular icons (MIT, see THIRD-PARTY-NOTICES.md). Decorative, Tidal,
   3:1 or better on white (4.58:1) and Dune (3.84:1). */
.ic{color:var(--tidal);flex:none}
.lines .ic,.rows .ic{position:absolute;left:0}
.lines .ic{top:15px}
.rows .ic{top:18px}

/* Back to SoFlo Site Forge: the same badge on all seven concept demos. */
.soflo-back{position:fixed;left:16px;bottom:16px;z-index:30;display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;padding:6px 12px;background:var(--mud);color:var(--dune);border:1px solid currentColor;border-radius:999px;box-shadow:none;font-family:inherit;font-size:13px;font-weight:600;line-height:18px;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap}
.soflo-back svg{width:14px;height:14px;flex:none}
.soflo-back:hover{border-color:var(--dune)}
.soflo-back:focus-visible{outline:2px solid var(--dune);outline-offset:2px;box-shadow:0 0 0 2px var(--mud)}
/* Keeps the last footer line clear of the fixed badge at scroll-bottom (existing 32px + 56px). */
.ftr{padding-bottom:calc(32px + 56px)}

/* unDraw illustrations (color swaps only, no credit needed). Decorative, flush left with the heading below it (AD), no frame behind. */
.ill{display:block;height:auto;max-width:100%;margin:0 0 24px}
.ill-dog{width:240px}
.ill-cat{width:220px}
@media (min-width:768px){.ill-dog{width:300px}.ill-cat{width:260px}}

/* Cuteness upgrade (AD, Oct 16, r43): Vecteezy Pro pets, the visit photo, the cat-nap loop and the AD's paw pattern. Home page only. */
.paws{background-color:var(--dune);background-image:url("/saltmarshpaws/images/illustrations/smp-paw-pattern-v1.svg");background-size:180px}
.svc .pet{align-self:flex-start}
.svc .pet img{height:150px;width:auto}
.print{position:relative;width:min(300px,64%);margin:-34px 0 20px auto;padding:8px 8px 10px;background:var(--white);border-radius:4px;box-shadow:0 6px 18px rgba(58,51,45,.18);transform:rotate(-1.5deg)}
@media (min-width:960px){.print{margin-top:-60px}}
.print img{width:100%;height:auto;border-radius:2px}
.print-cap{display:block;margin-top:6px;font-size:.8125rem;font-weight:700}
.away{gap:40px;align-items:center}
.pair{display:flex;align-items:flex-end;width:max-content;max-width:100%;padding-right:24px;margin-bottom:24px;border-bottom:1.5px solid var(--mud)}
.pair img{width:auto}
.pair-puppy img{height:170px}
.pair-cat{margin-left:-8px}
.pair-cat img{height:100px}
@media (min-width:768px){.pair-puppy img{height:200px}.pair-cat img{height:120px}}
.clip{position:relative;overflow:hidden;border:1.5px solid var(--mud);border-radius:14px;aspect-ratio:16/9;background:var(--dune)}
.nap{display:block;width:100%;height:100%;object-fit:cover}
.clip-btn{position:absolute;left:12px;bottom:12px;min-width:44px;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--mud);color:var(--white);font:700 .9375rem/1 var(--body);cursor:pointer}
.clip-btn:hover{text-decoration:underline;text-underline-offset:3px}
.clip-btn:focus-visible{outline:3px solid var(--white);outline-offset:2px;box-shadow:0 0 0 6px var(--mud)}
