/* ------------------------------------------------------------------
   Elisabeth Anthony Pet Sitting
   Palette and type carried over from the printed flyer so the site and
   the paper handout read as the same business.
   ------------------------------------------------------------------ */

:root {
  --shell:     #FBF9F4;   /* paper */
  --shell-2:   #F4F1E9;   /* paper, one shade down */
  --deep:      #16303F;   /* ink */
  --deep-soft: #4A6376;   /* secondary ink */
  --tide:      #2E7C74;   /* teal, the action colour */
  --tide-deep: #1B5A54;
  --foam:      #E4EFEC;   /* tinted panel */
  --sand:      #C8B48C;   /* warm counterweight, used sparingly */
  --line:      #DFD9CC;

  --measure: 62ch;
  --pad: clamp(1.15rem, 5vw, 2.5rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--deep);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tide-deep); }

:focus-visible {
  outline: 3px solid var(--tide);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--deep); color: #fff; padding: .7rem 1.1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: min(72rem, 100% - (var(--pad) * 2)); margin-inline: auto; }
.wrap.narrow { width: min(46rem, 100% - (var(--pad) * 2)); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: .82em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--tide); color: #fff; }
.btn-solid:hover { background: var(--tide-deep); }
.btn-line { color: var(--tide-deep); border-color: var(--tide); background: transparent; }
.btn-line:hover { background: var(--foam); }

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.actions-center { justify-content: center; }

/* ---------------- top bar ---------------- */

/* Deliberately NOT sticky. A sticky bar sat on top of whatever heading happened
   to be near the top of the screen, which read as two sections overlapping, and
   its translucent backdrop-filter also composited at a stale scroll offset in
   Chromium so the bar appeared to float mid-page. The persistent call button
   lives in the bottom bar on phones and in the footer everywhere. */
.topbar {
  background: var(--shell);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.mark { text-decoration: none; color: inherit; display: block; }
.mark-name {
  display: block;
  font-family: 'Lora', serif; font-weight: 600; font-size: 1.12rem; line-height: 1.2;
}
.mark-role {
  display: block; font-size: .78rem; font-weight: 400; color: var(--deep-soft);
  letter-spacing: .01em;
}
.topbar-call { padding: .58em 1.15em; font-size: .93rem; }

/* ---------------- hero ---------------- */

.hero { padding-block: clamp(1.8rem, 5vw, 3.6rem); }

.hero-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 1.08fr 1fr; }
}

.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 22px 44px -30px rgba(22, 48, 63, .65);
}

.hero-copy h1 { font-size: clamp(2.1rem, 6.2vw, 3.3rem); }

.lede {
  margin-top: 1.05rem;
  font-size: 1.09rem;
  color: var(--deep-soft);
  max-width: 34ch;
}

.fineprint {
  margin-top: 1.15rem;
  font-size: .93rem;
  color: var(--deep-soft);
}

/* ---------------- shared band spacing ---------------- */

.band { padding-block: clamp(2.6rem, 6vw, 4.4rem); }

.band h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.15rem);
  max-width: 22ch;
}

/* A little breathing room when an anchor link jumps to a section. */
[id] { scroll-margin-top: 1.5rem; }

/* ---------------- intro ---------------- */

.intro { padding-block: clamp(2rem, 5vw, 3.4rem); }
.intro-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.16rem, 2.5vw, 1.42rem);
  line-height: 1.6;
  max-width: var(--measure);
  border-left: 3px solid var(--sand);
  padding-left: clamp(1rem, 3vw, 1.8rem);
}

/* ---------------- services ---------------- */

.services { background: var(--shell-2); }

.svc-list {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 0;
}
@media (min-width: 48rem) {
  .svc-list { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
}

.svc-list li {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.svc-list h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem; font-weight: 600; letter-spacing: 0;
}
.svc-list p {
  margin-top: .28rem;
  font-size: .95rem;
  color: var(--deep-soft);
  max-width: 44ch;
}

/* ---------------- trust ---------------- */

.trust-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); }
@media (min-width: 56rem) {
  .trust-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .78rem;
  font-size: 1rem;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .52em;
  width: .62rem; height: .62rem;
  border-radius: 50%;
  background: var(--tide);
}

.quote {
  margin: 0;
  background: var(--foam);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.quote blockquote {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.18rem, 2.6vw, 1.42rem);
  line-height: 1.5;
  color: var(--deep);
}
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after  { content: "\201D"; }
.quote figcaption {
  margin-top: 1rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--deep-soft);
}

/* ---------------- daily updates ---------------- */

.updates { background: var(--shell-2); }
.updates-head p {
  margin-top: .9rem;
  max-width: 54ch;
  color: var(--deep-soft);
}

/* Centred so the roll stays balanced whether there are two photos or six. */
.roll {
  margin-top: 2rem;
  display: grid;
  gap: clamp(.8rem, 2.5vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 20rem));
  justify-content: center;
  align-items: start;
}

.roll figure { margin: 0; }
.roll img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 30px -24px rgba(22, 48, 63, .7);
}

/* ---------------- meet and greet ---------------- */

.meet { text-align: center; }
.meet h2 { margin-inline: auto; }
.meet > .wrap > p {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--deep-soft);
}
.meet iframe { width: 100%; border: 0; margin-top: 2rem; border-radius: 12px; }

/* ---------------- footer ---------------- */

.foot {
  background: var(--tide);
  color: #fff;
  text-align: center;
  padding-block: clamp(2.6rem, 6vw, 3.8rem);
}
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

.foot-lead { font-size: .95rem; opacity: .88; }
.foot-phone {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-top: .35rem;
}
.foot-email { margin-top: .55rem; font-size: 1.02rem; word-break: break-word; }
.foot-area {
  margin-top: 1.5rem; font-size: .92rem; opacity: .88;
  max-width: 40ch; margin-inline: auto;
}
.foot-fine { margin-top: 1.6rem; font-size: .8rem; opacity: .7; }

/* ---------------- phone action dock ---------------- */

.dock { display: none; }

@media (max-width: 47.99rem) {
  body { padding-bottom: 4.6rem; }
  .topbar-call { display: none; }

  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock-btn {
    text-align: center;
    padding: 1.05rem .5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
  }
  .dock-call { background: var(--tide); color: #fff; }
  .dock-text { background: var(--shell); color: var(--tide-deep); }
}
