/* The Waggle Club. Mobile first; wider layouts from 720px and 1000px.
   Brand colours from docs/brand.md. Clay and sage are deepened slightly where
   text sits on them so every pair passes WCAG AA. */

@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;src:url('/fonts/nunito-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --forest:#0F3D2E;
  --forest-deep:#082219;
  --sage:#7BA86B;
  --sage-band:#84AE74;   /* forest text on it: 4.8:1 */
  --sand:#F5EDE2;
  --clay:#C97F4F;
  --clay-badge:#A35E30;  /* white text on it: 5.0:1 */
  --clay-text:#9A5A2E;   /* on sand: 4.7:1 */
  --clay-big:#B06A3B;    /* large text on sand: 3.6:1 */
  --sky:#CFE7F6;
  --soft:#2F5446;
  --line:#EADFCF;
  --input-line:#C9B89F;
  --white:#FFFFFF;
  --error:#A3271B;
  --radius:28px;
  --shadow:0 10px 30px -20px rgba(15,61,46,.35);
  --font:'Nunito','Trebuchet MS',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:12px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.55;color:var(--forest);background:var(--sand)}
img{max-width:100%;height:auto;display:block}
a{color:var(--forest)}
a:hover{color:var(--forest-deep)}
h1,h2,h3{margin:0;font-weight:900;line-height:1.05;letter-spacing:-.01em}
h2{font-size:clamp(2rem,6vw,3rem)}
h3{font-size:1.45rem}
p{margin:0}
:focus-visible{outline:3px solid var(--clay-badge);outline-offset:3px;border-radius:6px}

.wrap{max-width:1180px;margin:0 auto;padding-left:20px;padding-right:20px}
.section{padding-top:56px;padding-bottom:56px;display:flex;flex-direction:column;gap:28px}
.skip{position:absolute;left:-999px;top:8px;background:var(--forest);color:var(--white);padding:10px 16px;border-radius:999px;z-index:10}
.skip:focus{left:12px}

.eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.lead{font-size:1.15rem;color:var(--soft)}
.lead-sky{color:var(--sky)}
.white{color:var(--white)}
.small{font-size:.9rem;color:var(--soft)}

/* Placeholders Ellie still has to fill in */
mark.todo{background:#FFE58A;color:var(--forest);padding:0 .25em;border-radius:4px;font-weight:800}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:800;font-size:1.05rem;text-decoration:none;padding:15px 26px;border-radius:999px;border:0;cursor:pointer;text-align:center;min-height:48px}
.btn-dark{background:var(--forest);color:var(--white)}
.btn-dark:hover{background:var(--forest-deep);color:var(--white)}
.btn-sage{background:var(--sage-band);color:var(--forest)}
.btn-sage:hover{background:var(--sage);color:var(--forest-deep)}
.btn-small{font-size:.95rem;padding:10px 18px;min-height:44px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Header: logo + Book on one row, links scroll underneath on phones */
.site-header{background:var(--sand)}
.header-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding-top:10px;padding-bottom:6px}
.logo img{height:56px;width:auto}
.main-nav{flex-basis:100%;display:flex;flex-wrap:wrap;gap:0 18px;padding:2px 0 6px;font-weight:700;font-size:.95rem}
.main-nav a{text-decoration:none;padding:6px 0}
.main-nav a:hover{text-decoration:underline;text-underline-offset:4px}

/* Hero */
.hero{display:flex;flex-direction:column;gap:36px;padding-top:20px;padding-bottom:48px}
.hero-text{display:flex;flex-direction:column;gap:18px}
.hero h1{font-size:clamp(2.7rem,11vw,4.6rem);line-height:1;letter-spacing:-.02em}
.accent{color:var(--clay-big)}
.hero-art{position:relative;padding:0 0 40px 6%}
.hero-blob{position:absolute;top:22px;right:0;width:86%;bottom:58px;background:var(--sage);border-radius:48% 52% 44% 56%/52% 46% 54% 48%}
.hero-photo{position:relative;margin:0;width:90%}
.hero-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 40%;border-radius:32px;box-shadow:0 24px 50px -24px rgba(15,61,46,.55)}
.member-tag{position:absolute;left:0;bottom:0;width:118px;height:118px;border-radius:50%;background:var(--forest);border:5px solid var(--sand);color:var(--sand);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(-8deg);box-shadow:0 14px 30px -14px rgba(15,61,46,.7)}
.member-paw{width:20px;height:20px;fill:var(--sand);margin-bottom:3px}
.member-big{font-weight:900;font-size:1.15rem;line-height:1}
.member-small{font-weight:700;font-size:.6rem;letter-spacing:.06em;text-transform:uppercase;color:var(--sky)}

/* Icon strip */
.strip-wrap{padding-bottom:56px}
.strip{list-style:none;margin:0;padding:24px 16px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr;gap:22px 12px}
.strip li{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-weight:800;font-size:.98rem;line-height:1.25}
.ico{width:64px;height:64px;padding:16px;border-radius:50%;background:var(--sand);fill:none;stroke:var(--forest);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ico-fill{fill:var(--forest);stroke:none}
.ico .ico-sage{fill:var(--sage)}

/* Bands */
.band-forest{background:var(--forest);color:var(--sand)}
.band-white{background:var(--white)}
.band-sage{background:var(--sage-band)}
.band-sage .lead{color:var(--forest)}
.section-head{display:flex;flex-direction:column;gap:10px;max-width:640px}
.section-head-split{max-width:none;flex-direction:row;justify-content:space-between;align-items:flex-end;gap:20px}
.section-head-split>div{display:flex;flex-direction:column;gap:10px;max-width:620px}
.walks-icon{width:72px;border-radius:20px;flex-shrink:0;background:var(--sand)}
.band-note{color:var(--sky)}

/* Walk cards */
.cards{display:grid;gap:16px}
.card{background:var(--sand);color:var(--forest);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:10px}
.card p{color:var(--soft)}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill-sky{background:var(--sky)!important;color:var(--forest)!important;border-radius:10px!important;line-height:1.3}
.pill{align-self:flex-start;background:var(--clay-badge);color:var(--white);font-weight:800;font-size:.85rem;padding:4px 12px;border-radius:999px}

/* Steps */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:28px}
.steps li{display:flex;flex-direction:column;gap:10px}
.steps p{color:var(--soft)}
.step-num{width:52px;height:52px;border-radius:50%;background:var(--sage);color:var(--forest);font-weight:900;font-size:1.5rem;display:flex;align-items:center;justify-content:center}

/* Prices */
.prices-intro{display:flex;flex-direction:column;gap:14px}
.prices-intro p:last-child{color:var(--soft)}
.price-list{margin:0;background:var(--sand);border-radius:var(--radius);overflow:hidden}
.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}
.price-row:last-child{border-bottom:0}
.price-row dt{margin:0}
.price-row dd{margin:0;font-weight:900;white-space:nowrap}
.price-row-sky{background:var(--sky)}

/* Where */
.where-text{display:flex;flex-direction:column;gap:16px}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{background:var(--sand);border-radius:999px;padding:8px 16px;font-weight:800}
.area{display:flex;flex-direction:column;gap:8px}
.area h3{font-size:1.15rem}
.map{margin:0;background:var(--white);border-radius:32px;padding:10px;box-shadow:var(--shadow)}
.map svg{display:block;width:100%;height:auto;border-radius:24px}
.map figcaption{font-size:.72rem;color:var(--soft);padding:6px 10px 2px;text-align:right}
.map figcaption a{color:var(--soft)}
.m-sea{fill:#E9E2D5}
.m-county{fill:#FBF8F2}
.m-cover{fill:var(--sage);opacity:.5}
.m-county-line{fill:none;stroke:var(--forest);stroke-width:2;stroke-dasharray:6 5;opacity:.55}
.m-road-minor{fill:none;stroke:#D9CCB8;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.m-road-casing{fill:none;stroke:var(--white);stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.m-road-major{fill:none;stroke:#C9A27E;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.m-shield rect{fill:var(--forest)}
.m-shield text{font-family:var(--font);font-weight:900;font-size:13px;fill:var(--white)}
.m-dot-in{fill:var(--forest);stroke:var(--white);stroke-width:2}
.m-dot-out{fill:#9A9182;stroke:var(--white);stroke-width:1.5}
.m-labels text{font-family:var(--font);paint-order:stroke;stroke:#FBF8F2;stroke-width:4px;stroke-linejoin:round}
.m-in-big{font-weight:900;font-size:21px;fill:var(--forest)}
.m-in{font-weight:800;font-size:15px;fill:var(--forest)}
.m-out{font-weight:700;font-size:15px;fill:#6E675C}
.m-far{font-family:var(--font);font-style:italic;font-weight:700;font-size:17px;fill:#8A8173}
.m-key rect{fill:var(--sage);opacity:.5}
.m-key text{font-family:var(--font);font-weight:800;font-size:16px;fill:var(--forest)}
.map-phone{display:block}
.map-wide{display:none!important}
.map-phone .m-in-big{font-size:27px}
.map-phone .m-in{font-size:21px}
.map-phone .m-out{font-size:19px}
.map-phone .m-key text{font-size:20px}
@media (min-width:720px){.map-phone{display:none!important}.map-wide{display:block!important}}

/* About */
.about-photo{width:min(240px,70%);aspect-ratio:1/1;border-radius:50%;background:var(--white);border:3px dashed var(--sage);display:flex;align-items:center;justify-content:center;text-align:center;padding:32px;color:var(--soft);font-weight:700;align-self:center}
.about-photo-img{padding:0;border:0;object-fit:cover}
.about-text{display:flex;flex-direction:column;gap:16px}
.signoff{font-weight:900;font-size:1.3rem;color:var(--clay-text)}

/* Booking form */
.join-intro{display:flex;flex-direction:column;gap:14px}
.form-card{background:var(--sand);color:var(--forest);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:16px}
.field-row{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-weight:800;font-size:.95rem}
.field input,.field select,.field textarea{font:inherit;font-size:16px;width:100%;padding:12px 14px;border:2px solid var(--input-line);border-radius:14px;background:var(--white);color:var(--forest)}
.field textarea{resize:vertical;min-height:120px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--forest);box-shadow:0 0 0 3px rgba(123,168,107,.45)}
.field [aria-invalid="true"]{border-color:var(--error)}
.field-error{color:var(--error);font-weight:700;font-size:.92rem}
.form-errors{background:#FBE3DF;border-left:5px solid var(--error);border-radius:12px;padding:12px 14px;font-weight:700}
.form-card .btn{align-self:stretch}
.form-small{font-size:.88rem;color:var(--soft)}
.form-done{gap:12px}
.form-done h3{font-size:1.6rem}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Footer */
.site-footer{background:var(--sand)}
.footer-row{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:36px;padding-bottom:calc(36px + env(safe-area-inset-bottom));font-size:.95rem;color:var(--soft)}
.footer-logo{height:60px;width:auto}
.footer-row .eyebrow{color:var(--forest);font-size:.75rem}
.footer-meta a{color:var(--soft)}

/* Text pages */
.prose{max-width:720px;padding-top:32px;padding-bottom:64px;display:flex;flex-direction:column;gap:14px}
.prose h1{font-size:clamp(2.2rem,8vw,3.2rem);margin-bottom:8px}
.prose h2{font-size:1.5rem;margin-top:18px}
.draft-note{background:#FFE58A;border-radius:12px;padding:10px 14px;font-weight:800}
.error-page{min-height:50vh;justify-content:center}

/* Wider screens */
@media (min-width:720px){
  .wrap{padding-left:28px;padding-right:28px}
  .section{padding-top:80px;padding-bottom:80px;gap:36px}
  .strip{grid-template-columns:repeat(4,1fr);padding:32px 24px}
  .ico{width:76px;height:76px;padding:20px}
  .walks-icon{width:96px;border-radius:24px}
  .cards{grid-template-columns:repeat(2,1fr);gap:20px}
  .card{padding:28px}
  .steps{grid-template-columns:repeat(3,1fr);gap:24px}
  .field-row{flex-direction:row}
  .field-row .field{flex:1 1 0}
  .field-row .field-wide{flex:2 1 0}
  .form-card{padding:30px}
  .form-card .btn{align-self:flex-start}
  .price-row{padding:20px 26px}
  .member-tag{width:150px;height:150px}
  .member-big{font-size:1.35rem}
  .member-small{font-size:.72rem}
  .member-paw{width:24px;height:24px}
  .main-nav{gap:0 22px}
  .footer-row{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}
}

@media (min-width:1000px){
  .header-row{flex-wrap:nowrap;padding-top:14px;padding-bottom:14px}
  .logo img{height:72px}
  .main-nav{flex-basis:auto;flex-wrap:nowrap;order:1;margin-left:auto;padding:0}
  .header-cta{order:2;font-size:1rem;padding:13px 22px}
  .hero{flex-direction:row;align-items:center;gap:48px;padding-top:32px;padding-bottom:64px}
  .hero-text,.hero-art{flex:1 1 0}
  .lead{font-size:1.2rem}
  .hero .lead{font-size:1.3rem;max-width:30em}
  .cards{grid-template-columns:repeat(4,1fr)}
  .btn{font-size:1.1rem;padding:17px 30px}
  .prices{flex-direction:row;align-items:flex-start;gap:48px}
  .prices-intro{flex:1 1 40%}
  .price-list{flex:1 1 60%}
  .where-text{max-width:760px}
  .about{flex-direction:row;align-items:center;gap:56px}
  .about-photo{flex:0 0 340px;width:340px}
  .join{flex-direction:row;align-items:flex-start;gap:48px}
  .join-intro{flex:1 1 40%}
  .form-card{flex:1 1 60%}
}

/* Keep last: the hidden attribute always wins. */
[hidden]{display:none!important}
