/* Alex Ash Gardening Services — shared styles
   Colours are taken from the logo and the van livery. The one bold move is the
   hero: a mown-lawn stripe pattern in two greens. Everything else stays quiet. */

:root {
  --hedge: #1d3a27;        /* deep green: hero, footer, headings on light */
  --mown-a: #234530;       /* lawn stripe, darker pass */
  --mown-b: #2a5038;       /* lawn stripe, lighter pass */
  --leaf: #23703a;         /* logo green: links, primary buttons on light */
  --leaf-dark: #1a5a2d;
  --paper: #fbfcf8;
  --tint: #edf2e7;         /* soft panels */
  --line: #d3dccb;
  --ink: #17211a;
  --muted: #4d5a50;
  --laburnum: #f2c94c;     /* call-to-action on dark green only */
  --laburnum-dark: #e0b530;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }
:focus-visible { outline: 3px solid var(--laburnum); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  color: var(--hedge);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hedge); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700; font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--laburnum); color: var(--hedge); }
.btn--gold:hover { background: var(--laburnum-dark); color: var(--hedge); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--hedge); }
.btn--green { background: var(--leaf); color: #fff; }
.btn--green:hover { background: var(--leaf-dark); color: #fff; }
.btn--line { border-color: var(--leaf); color: var(--leaf); }
.btn--line:hover { background: var(--leaf); color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { width: 150px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.nav a:hover { background: var(--tint); color: var(--hedge); }
.nav a[aria-current="page"] { color: var(--leaf); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.header-call { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; text-decoration: none; color: var(--hedge); }
.header-call small { color: var(--muted); font-size: .8rem; }
.header-call strong { font-family: var(--display); font-size: 1.25rem; font-weight: 800; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-header .wrap { min-height: 70px; gap: 12px; }
  .brand img { width: 120px; }
  .header-call { margin-left: auto; }
  .header-call small { display: none; }
  .header-call strong { font-size: 1.05rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--hedge); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; gap: 0; }
  .nav a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--tint); }
  .nav a[aria-current="page"] { box-shadow: none; }
}
@media (max-width: 400px) { .header-call strong { font-size: .95rem; } }

/* Hero: the mown lawn */
.lawn {
  background-color: var(--mown-a);
  background-image:
    linear-gradient(180deg, rgba(10,25,15,0) 55%, rgba(10,25,15,.35) 100%),
    repeating-linear-gradient(97deg, var(--mown-a) 0 88px, var(--mown-b) 88px 176px);
  color: #fff;
}
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero p { font-size: 1.2rem; color: #dfe9df; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; border-radius: var(--radius); border: 6px solid #fff; transform: rotate(1.2deg); box-shadow: 0 18px 40px rgba(5,20,10,.35); }
.hero figcaption { margin-top: 14px; color: #c9d8cb; font-size: .9rem; text-align: right; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure { max-width: 460px; }
  .hero figcaption { text-align: left; }
}

/* Credentials row */
.creds { background: #fff; border-bottom: 1px solid var(--line); }
.creds ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 28px; }
.creds li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--hedge); line-height: 1.35; }
.creds svg { width: 22px; height: 22px; flex: none; color: var(--leaf); margin-top: 1px; }
@media (max-width: 860px) { .creds ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .creds ul { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section--hedge { background: var(--hedge); color: #e6eee6; }
.section--hedge h2, .section--hedge h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); }

/* Home services grid */
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.job img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 18px; }
.job h3 { margin-bottom: 8px; }
.job p { color: var(--muted); margin-bottom: 10px; }
.job a { font-weight: 700; }
@media (max-width: 1000px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .jobs { grid-template-columns: 1fr; } }

/* Homes / businesses split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.split > div { padding: clamp(28px, 4vw, 48px); }
.split > div + div { border-left: 1px solid var(--line); }
.split h3 { font-size: 1.6rem; }
.split p { color: var(--muted); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.ticks { list-style: none; padding: 0; margin: 0 0 8px; columns: 2; column-gap: 24px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; break-inside: avoid; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px;
  background: var(--leaf);
  border-radius: 0 60% 0 60%;   /* a small leaf */
}
.ticks--one { columns: 1; }
@media (max-width: 460px) { .ticks { columns: 1; } }

/* Testimonial */
.quote { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.quote img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display); font-weight: 600; font-stretch: 100%; font-variation-settings: "wdth" 100;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.3; color: var(--hedge); max-width: 30ch;
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote footer { color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote img { max-width: 220px; } }

/* About teaser */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* Timeline (about page): a real sequence, so it earns the markers */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--leaf); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--leaf); }
.timeline .year { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--leaf); display: block; line-height: 1.2; }

/* Page header (inner pages) */
.page-head { background: var(--hedge); color: #dfe9df; padding: clamp(44px, 6vw, 76px) 0; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-head p { font-size: 1.15rem; margin: 0; max-width: 58ch; }

/* Service detail rows */
.service { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) { grid-template-columns: 6fr 5fr; }
.service:nth-child(even) figure { order: 2; }
.service figure { margin: 0; }
.service img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.service .for { color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.service .btn { margin-top: 18px; }
@media (max-width: 760px) { .service, .service:nth-child(even) { grid-template-columns: 1fr; } .service:nth-child(even) figure { order: 0; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 700; }
.jump a:hover { background: #fff; color: var(--hedge); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact dl { margin: 24px 0 0; }
.contact dt { font-weight: 700; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.contact dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--hedge); overflow-wrap: anywhere; }
.contact dd a { color: inherit; text-decoration: none; }
.contact dd a:hover { color: var(--leaf); text-decoration: underline; }
.contact dd.plain { font-family: var(--body); font-weight: 400; font-size: 1.05rem; color: var(--ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form h2 { font-size: 1.7rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid #b9c5b3; border-radius: 4px; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(35,112,58,.25); border-color: var(--leaf); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.form .note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.hp { display: none; }

/* Footer */
.site-footer { background: var(--hedge); color: #c9d8cb; padding: 60px 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.foot-grid img { width: 150px; margin-bottom: 16px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 10px; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.fb { display: inline-flex; align-items: center; gap: 8px; }
.fb svg { width: 20px; height: 20px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 600px) {
  body { padding-bottom: 68px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-family: var(--display); font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--laburnum); color: var(--hedge); }
  .callbar a:last-child { background: var(--hedge); color: #fff; }
  .callbar svg { width: 18px; height: 18px; }
}

.muted { color: var(--muted); }
