/* Milo The Carer — static copy of the Squarespace site (Dec 2026) */
:root {
  --ink: #3f4a49;
  --purple: #60379d;
  --green: #2a5049;
  --header-bg: rgba(230, 228, 223, 0.94);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Pontano Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.23; margin: 0 0 0.5em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.home .site-header { position: fixed; left: 0; right: 0; }
.header-inner {
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.6rem 4vw;
}
.logo img { width: 150px; height: auto; }
.site-nav { display: flex; gap: 2rem; flex: 1; }
.site-nav a { text-decoration: none; font-size: 15px; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--sans); font-size: 14.7px; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 6.8px;
  padding: 0.8em 2em;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-light { background: #fff; color: #000; text-transform: none; letter-spacing: 0; font-size: 15px; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  background: var(--ink) url("img/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(63, 74, 73, 0.4); }
.hero-content { position: relative; padding: 0 13vw 9vh; max-width: 900px; }
.hero h1 { font-size: clamp(42px, 4.4vw, 68px); margin-bottom: 0.3em; }
.hero h2 { font-size: clamp(22px, 1.8vw, 27px); margin-bottom: 1.2em; }
.hero p { font-size: 15px; margin: 0 0 1em; max-width: 34em; }

/* Intro */
.intro { padding: 9rem 1.5rem 8rem; }
.narrow { max-width: 820px; margin: 0 auto; }
.intro h2 { font-size: clamp(38px, 4.4vw, 68px); }
.intro .lead { font-size: clamp(19px, 1.65vw, 25.5px); line-height: 1.6; }
.intro ul { padding-left: 1.2em; margin: 0 0 2.5rem; }
.intro .btn { min-width: 280px; }

/* Services */
.services, .cta { background: var(--green); color: #fff; text-align: center; }
.services { padding: 6rem 1.5rem 3rem; }
.services h2 { font-size: clamp(38px, 4.4vw, 68px); margin-bottom: 1.2em; }
.cards {
  list-style: none; margin: 0 auto 3rem; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem;
  max-width: 1150px;
}
.cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.2rem; }
.cards h3 { font-size: clamp(21px, 1.8vw, 27.2px); margin-bottom: 0.6em; }
.cards p { font-size: 14px; line-height: 1.7; margin: 0; }

/* Call to action */
.cta { padding: 7rem 1.5rem 9rem; }
.cta h2 { font-size: clamp(36px, 4.4vw, 68px); max-width: 860px; margin: 0 auto 1.2em; }
.cta .btn { min-width: 375px; padding: 1.4em 2em; }

/* Plain pages */
.page { padding: 6rem 1.5rem 10rem; min-height: 70vh; }
.page h1 { font-size: clamp(38px, 4.4vw, 68px); }
.contact .narrow { max-width: 1100px; }
.get-started { text-align: center; }
.get-started .narrow { max-width: 620px; }
.get-started p { font-size: clamp(19px, 1.65vw, 25.5px); line-height: 1.6; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; gap: 1rem; padding: 1rem 5vw; }
  .site-nav { order: 3; flex-basis: 100%; }
  .header-inner .btn { margin-left: auto; }
  .hero-content { padding: 0 6vw 8vh; }
  .cards { grid-template-columns: 1fr; }
  .intro .btn, .cta .btn { min-width: 0; width: 100%; }
}
