/* ============================================================
   PupCommute — neighborhood route-card design system
   Palette: warm paper + park green + golden sun (no terracotta)
   Type: Fredoka (display) + Figtree (body/ui)
   Signature: dashed leash/route line threading the page
   ============================================================ */

:root {
  --paper: #FCFAF5;
  --paper-2: #F5EFE3;
  --cloud: #FFFFFF;
  --ink: #2B2A26;
  --ink-soft: #5E5A50;
  --moss: #3E6B4F;
  --moss-deep: #2C503A;
  --leaf: #6FA67C;
  --sun: #F2B441;
  --sun-deep: #D9982A;
  --sky: #A9CBD9;
  --line: #E7DFCF;
  --line-strong: #D8CCB4;
  --danger: #B4503E;
  --ok: #3E6B4F;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(43, 42, 38, .05), 0 8px 24px rgba(43, 42, 38, .06);
  --shadow-lift: 0 2px 4px rgba(43, 42, 38, .06), 0 14px 40px rgba(43, 42, 38, .12);
  --maxw: 1080px;
  --leash: repeating-linear-gradient(90deg, var(--line-strong) 0 9px, transparent 9px 18px);
  --font-display: "Fredoka", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}

a { color: var(--moss); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--moss-deep); }

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 0;
  border-top: 2px dashed var(--leaf);
}

/* ---- Buttons --------------------------------------------- */
.btn {
  --btn-bg: var(--moss);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.btn--sun:hover { --btn-bg: var(--sun-deep); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--moss);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--paper-2); --btn-fg: var(--moss-deep); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 30px; font-size: 1.06rem; }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--danger); border-color: #E6C5BC; }
.btn--danger:hover { --btn-bg: #F6E7E2; --btn-fg: var(--danger); }

/* ---- Site header ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 42px; height: 42px;
  object-fit: contain;
  display: block;
}
.brand__mark--badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); padding: 4px;
  box-shadow: var(--shadow);
}
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.brand__name span { color: var(--moss); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a:not(.btn) {
  padding: 8px 12px; border-radius: var(--radius-pill);
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.site-nav a:not(.btn):hover { background: var(--paper-2); color: var(--ink); }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; padding-block: clamp(40px, 6.5vw, 88px); overflow: hidden; background: #F7E8D7; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: clamp(20px, 4vw, 56px); align-items: center;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: #E7F1EA; color: var(--moss-deep);
  font-weight: 700; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 15px; border-radius: var(--radius-pill); margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--moss) 20%, transparent);
}
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex: none; }
.hero__title {
  font-size: clamp(3rem, 6.6vw, 5.1rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.02em;
  margin-bottom: .34em;
}
.hero__title em { font-style: normal; font-weight: 700; color: var(--moss); }
.hero__hl {
  background-image: linear-gradient(var(--sun), var(--sun));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% .16em;
  padding-bottom: .02em;
}
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center;
  font-size: .95rem; color: var(--ink-soft);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun-deep); flex: none; }
.hero__meta b { color: var(--ink); font-weight: 700; }

.hero__art { position: relative; }
.hero__map {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(43, 42, 38, .12));
}
.hero__illo {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.hero__photo {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  background:
    radial-gradient(120% 90% at 70% 10%, #cfe3d4 0%, transparent 55%),
    linear-gradient(160deg, var(--sky) 0%, var(--leaf) 100%);
}
.hero__tag {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  max-width: 250px;
}
.hero__tag .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 18px; }
.hero__tag small { color: var(--ink-soft); display: block; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: .68rem; }
.hero__tag strong { font-family: var(--font-display); font-size: 1.05rem; }

/* ---- Route / how it works -------------------------------- */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--paper2 { background: var(--paper-2); border-block: 1px solid var(--line); }
.section__head { max-width: 46ch; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.route::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 0;
  border-top: 3px dashed var(--line-strong); z-index: 0;
}
.stop { position: relative; z-index: 1; text-align: center; }
.stop__pin {
  width: 68px; height: 68px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--cloud);
  border: 3px solid var(--moss); color: var(--moss);
  display: grid; place-items: center; font-size: 30px;
  box-shadow: var(--shadow);
}
.stop__n {
  position: absolute; top: -6px; right: calc(50% - 46px);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  font-weight: 800; font-size: .8rem; display: grid; place-items: center;
  border: 2px solid var(--paper-2);
}
.stop h3 { font-size: 1.3rem; }
.stop p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---- Generic cards --------------------------------------- */
.card {
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
}

.cta-band {
  text-align: center; padding: clamp(36px, 6vw, 60px) 24px;
  background: var(--moss); color: #fff; border-radius: var(--radius-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: #e7f0e9; max-width: 44ch; margin-inline: auto; }

/* ---- Footer ---------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--ink-soft); font-size: .95rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* ---- Booking: calendar + slots --------------------------- */
.book-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) { .book-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }

.calendar { }
.calendar__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.calendar__dow { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 4px; }
.day {
  aspect-ratio: 1 / 1; border-radius: 12px; border: 1px solid var(--line);
  background: var(--cloud); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--ink); font-weight: 600;
  transition: transform .1s ease, border-color .1s ease, box-shadow .1s ease;
}
.day small { font-size: .6rem; color: var(--leaf); font-weight: 800; letter-spacing: .03em; }
.day--open:hover { transform: translateY(-2px); border-color: var(--leaf); box-shadow: var(--shadow); }
.day--closed { color: var(--line-strong); background: transparent; border-style: dashed; cursor: default; }
.day--empty { border: none; background: transparent; }
.day--selected { background: var(--moss); color: #fff; border-color: var(--moss); }
.day--selected small { color: #cfe3d4; }
.day--today { box-shadow: inset 0 0 0 2px var(--sun); }

.slots__head { margin-bottom: 12px; }
.slots__date { font-family: var(--font-display); font-size: 1.4rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.slot {
  border: 1.5px solid var(--line); background: var(--cloud);
  border-radius: 14px; padding: 12px 12px; text-align: center;
  cursor: pointer; transition: transform .1s ease, border-color .1s ease, background .1s ease, box-shadow .1s ease;
}
.slot:hover { transform: translateY(-2px); border-color: var(--moss); background: #fff; box-shadow: var(--shadow); }
.slot button { all: unset; display: block; width: 100%; cursor: pointer; }
.slot__start { display: block; font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.1; }
.slot__end { display: block; font-size: .76rem; font-weight: 600; color: var(--ink-soft); margin-top: 3px; }
.empty-note {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 28px; text-align: center; color: var(--ink-soft);
}
.empty-note .big { font-size: 30px; margin-bottom: 6px; }
.optin { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.optin input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--moss); }

/* ---- Forms ----------------------------------------------- */
.field-input,
input[type=text], input[type=email], input[type=tel], input[type=time],
input[type=date], input[type=number], input[type=password], textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  padding: 11px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--line-strong); background: var(--cloud);
  transition: border-color .12s ease, box-shadow .12s ease;
}
textarea { resize: vertical; min-height: 80px; }
.field-input:focus, input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--moss);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 18%, transparent);
}
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field .helptext { font-size: .82rem; color: var(--ink-soft); margin-top: 5px; }
.field .errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--danger); font-size: .85rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.toggle-line { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.toggle-line input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--moss); flex: none; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: auto; }

.summary-card {
  background: var(--paper-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 20px 22px;
}
.summary-card .when { font-family: var(--font-display); font-size: 1.3rem; }
.summary-card .dur { color: var(--ink-soft); }

/* ---- Messages -------------------------------------------- */
.messages { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.messages li {
  padding: 12px 16px; border-radius: var(--radius); font-weight: 600;
  border: 1px solid var(--line); background: var(--cloud);
}
.messages .success { border-color: #BBD7C2; background: #EAF4ED; color: var(--moss-deep); }
.messages .error { border-color: #E6C5BC; background: #F8EBE7; color: var(--danger); }

/* ---- Confirmation ---------------------------------------- */
.confirm { text-align: center; padding-block: clamp(40px, 7vw, 80px); max-width: 560px; margin-inline: auto; }
.confirm__badge {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--sun); display: grid; place-items: center; font-size: 40px;
  box-shadow: var(--shadow-lift);
}
.confirm__logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 18px; display: block; }

/* ============================================================
   Dashboard
   ============================================================ */
.dash { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; background: var(--paper); }
.dash__side {
  background: var(--moss-deep); color: #dce8df; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.dash__brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-bottom: 20px; padding: 0 8px; }
.dash__brand .brand__mark { background: var(--sun); color: var(--ink); }
.dash__brand b { font-family: var(--font-display); font-size: 1.2rem; }
.dash__nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dash__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
  color: #cfe0d4; font-weight: 600; font-size: .96rem;
}
.dash__nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dash__nav a.active { background: var(--sun); color: var(--ink); }
.dash__side-foot { font-size: .85rem; color: #9cb6a4; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.dash__side-foot a { color: #cfe0d4; }
.dash__bar { display: flex; align-items: center; justify-content: space-between; }
.dash__menu {
  display: none; align-items: center; gap: 8px; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  padding: 9px 13px; font-family: inherit; font-weight: 700; font-size: .95rem;
}
.dash__menu:hover { background: rgba(255,255,255,.16); }

.dash__main { padding: 28px clamp(20px, 4vw, 40px); min-width: 0; }
.dash__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dash__title h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat b { font-family: var(--font-display); font-size: 2.1rem; display: block; line-height: 1; color: var(--moss); }
.stat span { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }

.panel { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 24px; overflow: hidden; }
.panel__head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel__head h2 { margin: 0; font-size: 1.2rem; }
.panel__body { padding: 20px; }

.tabs { display: inline-flex; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: var(--radius-pill); }
.tabs a { padding: 7px 14px; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.tabs a.active { background: var(--cloud); color: var(--moss); box-shadow: var(--shadow); }

table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.list td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: none; }
table.list .dog { font-weight: 700; }
table.list .muted { color: var(--ink-soft); font-size: .9rem; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; }
.pill--ok { background: #EAF4ED; color: var(--moss-deep); }
.pill--off { background: #F0EBE0; color: var(--ink-soft); }
.pill--cancelled { background: #F8EBE7; color: var(--danger); }

.window-day { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.window-day:last-child { border-bottom: none; }
.window-day__label { width: 96px; font-weight: 700; }
.window-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 5px 6px 5px 14px; font-weight: 600; font-size: .92rem; }
.window-chip button { all: unset; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cloud); color: var(--danger); font-size: 14px; }
.window-chip button:hover { background: #F8EBE7; }
.window-none { color: var(--ink-soft); font-style: italic; }

.inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; align-items: end; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper-2); }
.login-card { width: 100%; max-width: 380px; }

/* ---- Walk cards (walk products) -------------------------- */
.walk-cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.walk-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.walk-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lift);
  border-color: var(--moss); color: var(--ink);
}
.walk-card__emoji {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--paper-2); display: grid; place-items: center; font-size: 26px;
}
.walk-card__body { flex: 1; min-width: 0; }
.walk-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.walk-card__top h3 { font-size: 1.25rem; margin: 0; }
.walk-card__time {
  flex: none; font-weight: 700; font-size: .82rem; color: var(--moss-deep);
  background: #EAF4ED; padding: 3px 10px; border-radius: var(--radius-pill);
}
.walk-card__body p { color: var(--ink-soft); font-size: .96rem; margin: 6px 0 0; }
.walk-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.walk-card__price { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.walk-card__go { color: var(--moss); font-weight: 700; font-size: .9rem; margin-left: auto; }

/* ---- Why walking matters (facts) ------------------------- */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact {
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow);
}
.fact__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--paper-2); font-size: 24px; margin-bottom: 12px;
}
.fact h3 { font-size: 1.2rem; margin: 0 0 6px; }
.fact p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 12px; }
.fact a { font-size: .84rem; font-weight: 700; color: var(--moss); text-decoration: none; }
.fact a:hover { text-decoration: underline; }
.why-note { margin-top: 28px; max-width: 64ch; font-size: .92rem; color: var(--ink-soft); }
.why-note b { color: var(--ink); }

/* ---- Meet the duo ---------------------------------------- */
.duo { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.duo__illo {
  flex: none; width: 96px; height: 96px; object-fit: contain;
}

/* ---- Earnings board -------------------------------------- */
.earn { display: grid; gap: 16px; margin-bottom: 22px; }
.earn__hero {
  background: linear-gradient(135deg, #EAF4ED, #DCEDE1);
  border: 1px solid color-mix(in srgb, var(--moss) 22%, transparent);
  border-radius: var(--radius-lg); padding: 26px; text-align: center;
}
.earn__label { display: block; color: var(--moss-deep); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.earn__big { display: block; font-family: var(--font-display); font-weight: 600; color: var(--moss-deep); font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1.05; margin: .08em 0; }
.earn__sub { display: block; color: var(--moss); font-weight: 600; }
.earn__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.earn__card { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.earn__card--soft { background: var(--paper-2); box-shadow: none; }
.earn__k { display: block; color: var(--ink-soft); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.earn__v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; margin: .05em 0; }
.earn__m { display: block; color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 620px) { .earn__cards { grid-template-columns: 1fr; } }

/* ---- Walk calendar --------------------------------------- */
.cal__head { flex-wrap: wrap; gap: 12px; }
.cal__nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--paper-2); color: var(--moss-deep);
  font-size: 1.3rem; line-height: 1; border: 1px solid var(--line);
}
.cal__arrow:hover { background: var(--moss); color: #fff; border-color: var(--moss); }
.cal__month { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; min-width: 9.5ch; text-align: center; }
.cal__sum { font-size: .85rem; }

.cal-scroll { overflow-x: auto; }
.cal { min-width: 680px; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal__dow span { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; padding-left: 4px; }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal__cell {
  min-height: 92px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cloud); padding: 6px 7px; display: flex; flex-direction: column; gap: 3px;
  overflow: hidden;
}
.cal__cell.is-out { background: var(--paper-2); opacity: .55; }
.cal__cell.has-walks { background: #F3F8F4; border-color: color-mix(in srgb, var(--moss) 22%, var(--line)); }
.cal__cell.is-today { box-shadow: inset 0 0 0 2px var(--sun); border-color: transparent; }
.cal__num { font-size: .82rem; font-weight: 700; color: var(--ink-soft); align-self: flex-end; line-height: 1; }
.cal__cell.is-today .cal__num { color: var(--sun-deep); }
.cal__walk {
  font-size: .72rem; line-height: 1.2; color: var(--moss-deep);
  border-left: 3px solid var(--moss); padding: 1px 0 1px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal__walk b { font-weight: 700; }
.cal__more { font-size: .68rem; font-weight: 700; color: var(--moss); text-decoration: none; }
.cal__more:hover { text-decoration: underline; }

/* clickable calendar cells (links) */
a.cal__cell { text-decoration: none; color: inherit; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
a.cal__cell:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

/* ---- Payment note (how it works) ------------------------- */
.pay-note {
  margin: 26px auto 0; max-width: 560px; text-align: center;
  color: var(--ink-soft); font-size: .95rem;
}
.pay-note b { color: var(--ink); font-weight: 600; }

/* ---- Duo trust photo ------------------------------------- */
.duo__photo {
  flex: none; width: min(440px, 100%);
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); border: 1px solid var(--line);
}
.duo > div { flex: 1; min-width: 280px; }

/* ---- Day detail (stops) ---------------------------------- */
.daybar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.stop-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.stop-card__time { flex: none; text-align: center; min-width: 78px; }
.stop-card__time b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--moss-deep); }
.stop-card__time span { font-size: .76rem; color: var(--ink-soft); }
.stop-card__body { flex: 1; min-width: 0; }
.stop-card__body h3 { margin: 0 0 2px; font-size: 1.15rem; }
.stop-card__body .meta { color: var(--ink-soft); font-size: .92rem; margin: 2px 0; }
.stop-card__body .notes { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; font-style: italic; }
.stop-card__nav { flex: none; align-self: center; }

/* ---- Contacts / pills ------------------------------------ */
.pill { display: inline-block; padding: 3px 11px; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.pill--ok { background: #E7F1EA; color: var(--moss-deep); }
.pill--off { background: var(--paper-2); color: var(--ink-soft); }
.contact-search input { max-width: 250px; padding: 8px 12px; margin: 0; }
.contact-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-meta .k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 700; margin-bottom: 2px; }

/* ---- Motion & reveals ------------------------------------ */
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Hero plays on load */
.hero__copy > * { animation: rise-in .7s cubic-bezier(.2,.7,.2,1) backwards; }
.hero__copy .eyebrow { animation-delay: .02s; }
.hero__title { animation-delay: .08s; }
.hero__lead { animation-delay: .16s; }
.hero__cta { animation-delay: .24s; }
.hero__meta { animation-delay: .32s; }
.hero__art { animation: pop-in .8s cubic-bezier(.2,.7,.2,1) .1s backwards; }
.hero__tag { animation: rise-in .6s ease .65s backwards; }
.hero__illo { transition: transform .35s ease; }
.hero__illo:hover { transform: translateY(-4px) rotate(-.5deg); }

/* Scroll reveal (only hidden when JS is present, so no-JS users still see content) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal--stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal--stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.js .reveal--stagger.is-visible > *:nth-child(3) { transition-delay: .18s; }
.js .reveal--stagger.is-visible > *:nth-child(4) { transition-delay: .27s; }

/* CTA arrow nudge */
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .hero__copy > *, .hero__art, .hero__tag { animation: none; }
  .hero__illo:hover { transform: none; }
  .js .reveal, .js .reveal--stagger > * { opacity: 1; transform: none; transition: none; }
}

/* On phones the hero just appears — reserve motion for scrolling. */
@media (max-width: 600px) {
  .hero__copy > *, .hero__art, .hero__tag { animation: none; }
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: 0; max-width: 560px; margin-inline: auto; }
  .route { grid-template-columns: 1fr; gap: 20px; }
  .route::before { display: none; }
  .stop { display: grid; grid-template-columns: 68px 1fr; text-align: left; align-items: center; gap: 16px; }
  .stop__pin { margin: 0; }
  .stop__n { right: auto; left: 46px; top: -2px; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { padding: 10px 16px; gap: 8px; }
  .dash__brand { margin: 0; }
  .js .dash__menu { display: inline-flex; }
  .dash__nav { width: 100%; }
  .dash__nav a { white-space: normal; padding: 12px 14px; }
  /* With JS: collapse the menu behind the hamburger. Without JS: show it all. */
  .js .dash__nav, .js .dash__side-foot { display: none; }
  .js .dash__side.nav-open .dash__nav { display: flex; }
  .js .dash__side.nav-open .dash__side-foot { display: block; margin-top: 4px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }

  /* Header: let the nav drop to its own full-width row */
  .site-header__inner { flex-wrap: wrap; row-gap: 8px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 6px; }
  .site-nav a:not(.btn) { padding: 7px 9px; font-size: .9rem; }

  /* Public booking day-picker: tighten so 7 columns fit a phone */
  .calendar__grid { gap: 5px; }
  .day { border-radius: 9px; }
  .day small { font-size: .52rem; }
  .calendar__dow { font-size: .58rem; }

  /* Dashboard: tighten breathing room on small screens */
  .dash__main { padding: 20px 16px; }
  .earn__hero { padding: 20px; }

  /* Day run-sheet: action button drops full-width under the details */
  .stop-card { flex-wrap: wrap; }
  .stop-card__nav { width: 100%; }
  .stop-card__nav .btn { display: block; text-align: center; }
}

/* Dashboard month calendar: fit-to-width on phones with tap-to-open days,
   instead of a 680px grid you have to scroll sideways. */
@media (max-width: 700px) {
  .cal-scroll { overflow-x: visible; }
  .cal { min-width: 0; }
  .cal__dow { gap: 4px; }
  .cal__dow span { text-align: center; padding-left: 0; font-size: .56rem; letter-spacing: 0; }
  .cal__week { gap: 4px; margin-bottom: 4px; }
  .cal__cell {
    min-height: 48px; padding: 4px 2px; gap: 2px;
    align-items: center; justify-content: flex-start;
  }
  .cal__num { align-self: center; font-size: .82rem; }
  .cal__walk, .cal__more { display: none; }
  .cal__cell.has-walks::after {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--moss); margin-top: 1px; flex: none;
  }

  /* Data tables → stacked cards (each row is its own card) */
  .panel__body { overflow-x: visible; }
  table.list { min-width: 0; }
  table.list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr {
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--cloud); padding: 12px 14px; margin-bottom: 12px;
  }
  table.list td { border: none; padding: 5px 0; text-align: left !important; white-space: normal !important; }
  table.list td::before {
    content: attr(data-label); display: block;
    font-size: .66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--ink-soft); margin-bottom: 1px;
  }
  table.list td[data-label=""]::before, table.list td.cell-actions::before { display: none; }
  table.list td.cell-actions {
    margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line);
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  table.list td.cell-actions form { display: inline; margin: 0; }
  table.list td.cell-actions .btn { flex: 1; text-align: center; }

  /* Secondary tabs (Upcoming/Past/…) stay on one tappable row */
  .panel__head { gap: 10px; }
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .contact-search, .contact-search input { width: 100%; max-width: none; }

  /* Weekly availability: stack the day label above its chips */
  .window-day { align-items: flex-start; gap: 8px; }
  .window-day__label { width: 100%; }

  /* Page title + action button stack cleanly */
  .dash__title { gap: 10px; }
  .dash__title .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .btn:hover, .day--open:hover, .slot:hover { transform: none; }
}
