/* ============================================================
   WAFFLES — Dog Walking & Home Visits
   Refined, editorial, warm. Mobile-first.
   ============================================================ */

:root {
  /* Palette — warm neutrals, deep forest, caramel accent */
  --ivory:      #f6f1e7;
  --paper:      #fbf8f1;
  --sand:       #ece4d6;
  --ink:        #221f1a;   /* warm near-black */
  --ink-soft:   #4a443b;
  --muted:      #7a7165;
  --forest:     #2c352c;   /* deep, calm green for dark sections */
  --forest-2:   #3a463a;
  --caramel:    #a96b36;   /* desaturated warm accent */
  --caramel-dk: #8a5526;
  --line:       rgba(34, 31, 26, 0.14);
  --line-light: rgba(246, 241, 231, 0.18);
  --wa:         #1f7a5b;   /* refined, non-neon green */
  --wa-dk:      #186449;

  --shadow-sm: 0 1px 2px rgba(34,31,26,.05), 0 8px 24px -12px rgba(34,31,26,.18);
  --shadow-md: 0 24px 60px -28px rgba(34,31,26,.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--caramel-dk);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: rgba(246,241,231,.82); }

.section-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--caramel-dk); }

.section-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 1.4rem;
}

.prose p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.04rem; }
.prose p:first-child { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn .ico { width: 1.15em; height: 1.15em; fill: currentColor; }

.btn--solid {
  background: var(--caramel);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover { background: var(--caramel-dk); transform: translateY(-2px); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--line:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(246,241,231,.1);
  color: inherit;
  border-color: currentColor;
  padding: 0.6rem 1.1rem;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav.is-stuck {
  background: rgba(251,248,241,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(34,31,26,.6);
}

.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  transition: color .4s var(--ease);
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(246,241,231,.78);
  margin-top: 0.34rem;
  transition: color .4s var(--ease);
}
.nav.is-stuck .brand__mark { color: var(--ink); }
.nav.is-stuck .brand__sub { color: var(--muted); }

.nav__links { display: none; gap: 1.6rem; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(246,241,231,.9);
  position: relative;
  padding: 0.2rem 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--caramel); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav.is-stuck .nav__links a { color: var(--ink-soft); }
.nav.is-stuck .nav__links a:hover { color: var(--ink); }

.nav__cta { display: none; }
.nav.is-stuck .btn--ghost { color: var(--ink); border-color: var(--line); }

/* mobile toggle */
.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px;
}
.nav__toggle span { height: 2px; width: 100%; background: var(--paper); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s var(--ease), background .4s var(--ease); }
.nav.is-stuck .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: rgba(251,248,241,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 0.85rem 0; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: none; }
.nav__mobile .btn--solid { margin-top: 1rem; justify-content: center; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,18,14,.55) 0%, rgba(20,18,14,.05) 30%, rgba(20,18,14,.25) 55%, rgba(20,18,14,.82) 100%);
}

.hero__content {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 9vh, 6rem);
  color: var(--paper);
}
.hero__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1rem;
}
.hero__brand span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.34em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,241,231,.82);
  margin-top: 0.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero__title em { font-style: italic; color: #f0d3b3; }
.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  max-width: 44ch;
  color: rgba(246,241,231,.92);
  font-weight: 350;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.hero__actions .btn--line { color: var(--paper); border-color: rgba(246,241,231,.5); }
.hero__actions .btn--line:hover { border-color: var(--paper); background: rgba(246,241,231,.08); }
.hero__note { margin-top: 1.4rem; font-size: 0.9rem; color: rgba(246,241,231,.7); letter-spacing: 0.01em; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--forest); color: var(--paper); }
.trust__list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 2.6rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem 2rem;
}
.trust__list li { display: flex; flex-direction: column; gap: 0.2rem; position: relative; padding-left: 1.1rem; }
.trust__list li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 3px; height: 1.4rem; background: var(--caramel); border-radius: 2px; }
.trust__k { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #f0d3b3; }
.trust__v { font-size: 0.92rem; color: rgba(246,241,231,.78); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { scroll-margin-top: 80px; }
.about, .services, .dogs, .gallery, .areas { padding: clamp(4rem, 11vw, 8rem) var(--gutter); }
.about__grid, .services__head, .services__list, .dogs__head, .gallery__head, .gallery__grid, .areas__inner, .homecare__grid { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Frames (images) ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow-md); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.frame:hover img { transform: scale(1.04); }

/* ============================================================
   ABOUT / MEET DARREN
   ============================================================ */
.about { background: var(--paper); }
.about__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--small { display: none; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--ink); margin-top: 1.6rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--ivory); }
.services__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.services__list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.service {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  align-items: baseline;
  transition: padding-left .4s var(--ease);
}
.service:hover { padding-left: 0.6rem; }
.service__no { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--caramel); grid-row: span 2; }
.service h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: -0.01em; color: var(--ink); }
.service p { grid-column: 2; color: var(--ink-soft); font-size: 0.98rem; max-width: 52ch; }

/* ============================================================
   HOME CARE & HOUSE SITTING
   ============================================================ */
.homecare { background: var(--forest); color: var(--paper); padding: clamp(4rem, 11vw, 8rem) var(--gutter); position: relative; }
.homecare .eyebrow { color: #e9c39c; }
.homecare .section-title { color: var(--paper); }
.homecare .section-title em, .homecare__pull { color: #f0d3b3; }
.homecare .prose p { color: rgba(246,241,231,.85); }
.homecare__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.checklist { margin-top: 2rem; display: grid; gap: 0.1rem; }
.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.7rem;
  border-bottom: 1px solid var(--line-light);
  font-size: 1rem;
  color: rgba(246,241,231,.9);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 8px; border: 1.5px solid var(--caramel); border-radius: 50%;
}
.homecare__pull {
  font-family: var(--font-display); font-style: italic; font-weight: 380;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25;
  margin: 2rem 0 2rem; max-width: 26ch;
}
.homecare__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.homecare__media .frame { aspect-ratio: 1 / 1; }
.homecare__media .frame--wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* ============================================================
   THE DOGS
   ============================================================ */
.dogs { background: var(--paper); }
.dogs__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 60ch; }
.dog--lead { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 5rem); }
.dog--lead .frame--portrait { aspect-ratio: 4 / 5; }
.dog__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 0.4rem; }
.dog__pair { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.dog--small .frame { aspect-ratio: 5 / 4; margin-bottom: 1.5rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--ivory); }
.gallery__head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; grid-auto-rows: 1fr; }
.gallery__item { border-radius: 12px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ============================================================
   AREAS
   ============================================================ */
.areas { background: var(--paper); text-align: center; }
.areas__inner { max-width: 760px; }
.areas__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin: 2rem 0 2rem;
}
.areas__list li {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-style: italic;
  font-weight: 380;
  color: var(--ink);
  padding: 0.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.areas .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { background: var(--ink); color: var(--paper); padding: clamp(4.5rem, 12vw, 8rem) var(--gutter); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(110% 80% at 80% 0%, rgba(169,107,54,.32), transparent 60%);
}
.cta__inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta__title { font-family: var(--font-display); font-weight: 360; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; }
.cta__title em { font-style: italic; color: #f0d3b3; }
.cta__lead { margin: 1.4rem auto 0; max-width: 50ch; color: rgba(246,241,231,.82); font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 2.3rem; }
.cta__actions .btn--line { color: var(--paper); border-color: rgba(246,241,231,.5); }
.cta__actions .btn--line:hover { border-color: var(--paper); background: rgba(246,241,231,.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-2); color: rgba(246,241,231,.85); padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 1.5rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem; }
.footer__brand .brand__mark { color: var(--paper); font-size: 1.7rem; }
.footer__brand .brand__sub { color: rgba(246,241,231,.6); }
.footer__tag { font-family: var(--font-display); font-style: italic; margin-top: 1rem; color: rgba(246,241,231,.78); line-height: 1.5; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: #e9c39c; margin-bottom: 1rem; }
.footer__col a, .footer__col span { display: block; padding: 0.25rem 0; color: rgba(246,241,231,.85); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--paper); }
.footer__base {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(246,241,231,.55);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; z-index: 90; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  background: var(--wa); color: #fff;
  height: 58px; border-radius: 999px; padding: 0 17px;
  box-shadow: 0 14px 34px -10px rgba(31,122,91,.6), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .4s var(--ease), background .3s var(--ease), box-shadow .4s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.wa-float__label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 600; font-size: 0.95rem; transition: max-width .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease); }
.wa-float:hover { background: var(--wa-dk); transform: translateY(-3px); }
.wa-float:hover .wa-float__label { max-width: 160px; opacity: 1; margin-left: 10px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: none; }
}

/* ============================================================
   RESPONSIVE — tablet & up
   ============================================================ */
@media (min-width: 620px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__mobile { display: none !important; }

  .trust__list { grid-template-columns: repeat(4, 1fr); }

  .about__grid { grid-template-columns: 1.05fr 1fr; }
  .about__media { grid-template-columns: 1fr; }
  .frame--small { display: block; position: absolute; right: -1.5rem; bottom: -1.5rem; width: 46%; aspect-ratio: 1/1; border: 6px solid var(--paper); }
  .about__media { position: relative; }

  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; }
  .services__list { border-top: none; }
  .service { border-top: 1px solid var(--line); }
  .service { border-bottom: none; }

  .homecare__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .checklist { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .checklist li:nth-last-child(2) { border-bottom: 1px solid var(--line-light); }

  .dog--lead { grid-template-columns: 1fr 1.1fr; }
  .dog--lead .dog__copy { order: 2; }
  .dog__pair { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1080px) {
  .dog--lead { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; }
}
