/* Wild Things Wildlife Solutions - one pager.
   Palette from the brand graphics pack: ink/bone from the logo, spruce + blaze orange derived from the work and the region.
   Type: Bitter (slab serif, echoes the logo's slab letterforms) for headings, Public Sans for everything else.
   The logo is the only condensed all-caps element on the page, on purpose.
   Layout: one continuous tonal flow (ink -> spruce -> ink) so sections blend instead of stacking as hard colour blocks. */
@font-face { font-family: "Bitter"; src: url("/fonts/Bitter-latin.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/PublicSans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #14110D; --ink-soft: #2A2520;
  --bone: #F2ECDF; --bone-deep: #E4DBC8;
  --spruce: #1F3A2E; --spruce-mid: #2E5443;
  --blaze: #E4572E; --blaze-deep: #B93E1C;
  --display: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 0; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.25em; border-radius: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: clamp(1.02rem, 2.8vw, 1.15rem); padding: .95em 1.5em; }
.btn-blaze { background: var(--blaze); color: var(--ink); }
.btn-blaze:hover { background: #F2683E; }
.btn-ghost { border-color: rgba(242, 236, 223, .55); color: var(--bone); background: rgba(20, 17, 13, .25); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(242, 236, 223, .12); }

/* ---------- header ---------- */
/* phones/tablets: just the centred logo (the hero has the Call button, the sticky bar follows after it).
   desktop (900px+): logo left, nav + call button right. */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px var(--pad); max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(180px, 46vw, 250px); height: auto; }
.nav { display: none; gap: 30px; font-weight: 600; font-size: .98rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--blaze); }
.top-call { display: none; padding: .7em 1em; }
@media (min-width: 900px) {
  .top { justify-content: flex-start; padding-block: 16px; }
  .brand img { width: 230px; }
  .nav { display: flex; margin-left: auto; }
  .top-call { display: inline-flex; margin-left: 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(20, 17, 13, .93) 0%, rgba(20, 17, 13, .78) 38%, rgba(20, 17, 13, .25) 78%, rgba(20, 17, 13, .1) 100%),
  linear-gradient(0deg, var(--ink) 0%, rgba(20, 17, 13, .85) 12%, rgba(20, 17, 13, 0) 42%); }
.hero-copy { padding-block: 150px 150px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; color: var(--blaze); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 5.6rem); line-height: 1.02; max-width: 12.5ch; letter-spacing: -.028em; }
.hero h1 em { font-style: normal; color: var(--blaze); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 2.5vw, 1.22rem); color: var(--bone-deep); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* walking tracks: faint, revealed left to right once, like something just crossed the page */
.trail { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; }
.trail-hero { bottom: 14px; opacity: .2; clip-path: inset(0 100% 0 0); animation: walk 4.2s .5s cubic-bezier(.3, .6, .3, 1) forwards; }
@keyframes walk { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .trail-hero { animation: none; clip-path: none; } }
@media (max-width: 700px) { .trail-hero { bottom: 44px; width: 190%; max-width: none; left: -30%; } .hero-copy { padding-block: 120px 150px; } }

/* ---------- one continuous flow: hero -> animals -> how -> area -> contact -> footer ---------- */
.flow { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--ink) 0%, #16251d 12%, var(--spruce) 28%, #1b342a 48%, #172b22 66%, #121a15 84%, var(--ink) 100%); }
.flow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background: url("/img/tracks-overlay-bone.webp") center top / 760px auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 92%); }
.animals, .how, .area, .contact { position: relative; padding-block: clamp(64px, 10vw, 120px); }
.animals h2, .how h2, .area h2, .contact h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }

/* animals */
.animals h2 { max-width: 16ch; }
.cards { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.cards li { background: rgba(20, 17, 13, .36); border: 1px solid rgba(242, 236, 223, .12); border-radius: 14px; padding: 18px 16px 20px; text-align: center; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.cards li:hover { transform: translateY(-4px); border-color: rgba(228, 87, 46, .7); background: rgba(20, 17, 13, .55); }
.cards img { width: min(74%, 190px); margin: 0 auto 12px; aspect-ratio: 1; object-fit: contain; }
.cards h3 { font-size: clamp(1.1rem, 2.8vw, 1.35rem); }
.cards p { margin-top: 5px; font-size: .9rem; color: var(--bone-deep); opacity: .85; line-height: 1.35; }
.card-feature { border-color: rgba(228, 87, 46, .5) !important; }
.also { margin-top: 28px; color: var(--bone-deep); max-width: 52em; }

/* how */
.how-grid { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1.05fr .95fr; } }
.how h2 { max-width: 14ch; }
.steps { counter-reset: s; margin: 34px 0 0; display: grid; gap: 20px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: baseline; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: .95; color: var(--blaze); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--bone-deep); margin-top: 2px; }
.how-photo { margin: 0; position: relative; }
.how-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; filter: saturate(.9) contrast(1.03);
  clip-path: polygon(0 2%, 4% 0, 12% 1.5%, 24% 0, 38% 1.2%, 52% 0, 66% 1.4%, 80% 0, 92% 1.2%, 100% 0, 99% 12%, 100% 26%, 98.8% 40%, 100% 54%, 99% 68%, 100% 82%, 98.8% 100%, 90% 98.6%, 76% 100%, 62% 98.8%, 48% 100%, 34% 98.6%, 20% 100%, 8% 98.8%, 0 100%, 1.2% 86%, 0 72%, 1% 58%, 0 44%, 1.2% 30%, 0 16%); }

/* area: the Maine house photo dissolves into the flow at top and bottom */
.area { isolation: isolate; }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .34;
  background: url("/img/house.webp") center 45% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 62%, transparent 100%); }
.area h2 { max-width: 18ch; }
.area-grid { margin-top: clamp(28px, 5vw, 48px); display: grid; gap: 34px; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.4fr 1fr .6fr; gap: 48px; } }
.area h3 { font-size: 1.15rem; color: var(--blaze); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(242, 236, 223, .32); border-radius: 999px; padding: .38em .95em; font-size: .98rem; background: rgba(20, 17, 13, .35); }

/* contact: stays dark, the warmth comes from a low orange glow and the number itself */
.contact { padding-block: clamp(56px, 8vw, 96px) calc(112px + env(safe-area-inset-bottom)); overflow: hidden; isolation: isolate; }
@media (min-width: 800px) { .contact { padding-bottom: 48px; } }
/* closing block: one centred stack - logo, headline, number, email, legal line */
.contact .wrap { text-align: center; }
.contact-logo { width: clamp(190px, 52vw, 260px); height: auto; margin: 0 auto clamp(44px, 8vw, 72px); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 56% at 50% 62%, rgba(228, 87, 46, .15), rgba(228, 87, 46, 0) 100%); }
.contact h2 { max-width: 16ch; margin-inline: auto; }
.big-phone { display: inline-block; margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 10.5vw, 6.2rem); line-height: 1.05; letter-spacing: -.03em; color: var(--blaze); text-decoration: none; border-bottom: .07em solid currentColor; transition: color .15s ease; }
.big-phone:hover { color: #F2683E; }
.contact-line { margin-top: 20px; font-size: clamp(1.05rem, 3vw, 1.35rem); font-weight: 600; }
.contact-line a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-muted { font-weight: 500; opacity: .75; margin-top: 6px; }
/* the page ends here: logo, number, one quiet legal line. No separate footer block, so no seam. */
.legal { margin-top: clamp(48px, 8vw, 88px); font-size: .85rem; color: var(--bone-deep); opacity: .55; }

/* ---------- mobile call bar (appears after the hero) ---------- */
.callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; background: var(--blaze); color: var(--ink); text-align: center; text-decoration: none; font-weight: 800; font-size: 1.1rem; padding: 17px; border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .45); transform: translateY(160%); transition: transform .3s ease; }
.callbar.on { transform: none; }
@media (min-width: 800px) { .callbar { display: none; } }
