/* The Constant Gardener — "Ink & Dirt"
   Ported from the approved Ink & Dirt canvas (v28, 11/9/2026). Desktop values match the canvas;
   the mobile rules at the bottom are new (the canvas was desktop-only). */

:root {
  --ink: #161616;
  --orange: #F4893A;
  --orange-dark: #B4500F;
  --sage: #A9C58F;
  --lavender: #C2B2EA;
  --paper: #F2EFE7;
  --grey: #33332F;
  --grey-2: #3D3C37;
  --line: 2.5px solid var(--ink);
  --display: 'Shantell Sans', 'Comic Sans MS', cursive;
  --body: 'Albert Sans', 'Helvetica Neue', sans-serif;
  --blob: 47% 53% 44% 56% / 52% 46% 54% 48%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink);
  background: var(--paper) url(/images/paper.png) repeat; background-size: 640px 640px;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
picture { display: contents; }
a { color: var(--ink); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, blockquote, .disp { font-family: var(--display); letter-spacing: 0 !important; }
h1 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
h2 { margin: 0; font-weight: 800; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border: var(--line); border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 880px; }
.sec { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.lede { font-size: 19px; line-height: 1.5; color: var(--grey); }
.muted { color: var(--grey); }
.stack { display: flex; flex-direction: column; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; min-height: 48px;
  border: var(--line); border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none;
  color: var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; text-align: center;
}
.btn.primary { background: var(--orange); }
.btn:hover { color: var(--ink); transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink); }
.btn.big { font-size: 18px; min-height: 56px; }

.spot { border: var(--line); border-radius: 50%; overflow: hidden; flex: none; }
.spot img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--line); border-radius: 18px; }
.sh-orange { box-shadow: 5px 5px 0 var(--orange); }
.sh-sage { box-shadow: 5px 5px 0 var(--sage); }
.sh-lav { box-shadow: 5px 5px 0 var(--lavender); }
.sh-ink { box-shadow: 5px 5px 0 var(--ink); }

.band { border-top: var(--line); border-bottom: var(--line); }
.bg-sage { background: var(--sage); }
.bg-lav { background: var(--lavender); }
.bg-orange { background: var(--orange); }

.nw { white-space: nowrap; }
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle img { position: absolute; left: -3%; bottom: -0.14em; width: 106%; height: auto; pointer-events: none; }

/* Drawing on a flat colour blob */
.drawing { position: relative; min-width: 0; }
.drawing::before {
  content: ""; position: absolute; left: 6%; top: 8%; width: 86%; height: 80%;
  background: var(--blob-color, var(--orange)); border-radius: var(--blob);
}
.drawing img { position: relative; display: block; width: 100%; mix-blend-mode: multiply; }

.card {
  text-decoration: none; background: #fff; border: var(--line); border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card strong, .gcard strong { font-family: var(--display); font-size: 22px; }
.card span { color: var(--grey); line-height: 1.5; }

/* ---------- Nav ---------- */
.nav { border-bottom: var(--line); }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand .spot { width: 44px; height: 44px; background: var(--orange); display: inline-block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-weight: 600; }
.nav-links a:not(.btn) { text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: var(--line); padding: 40px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--grey); }
.footer .stack { gap: 6px; }
.footer strong { color: var(--ink); }
.footer a { font-weight: 600; }
.footer .small { font-size: 12px; }

/* ---------- Home ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 60px; line-height: 1.02; }
.hero-text > p { font-size: 20px; line-height: 1.5; max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-art { flex: 1 1 380px; }
.sticker {
  position: absolute; right: 0; top: 4%; transform: rotate(8deg); background: var(--sage); border: var(--line);
  border-radius: 999px; padding: 12px 20px; font-family: var(--display); font-weight: 800; font-size: 20px;
}
.values { padding: 20px 0; }
.values .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; align-items: center; font-family: var(--display); font-weight: 700; font-size: 19px; }
.section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.section h2 { font-size: 38px; }
.head { display: flex; flex-direction: column; gap: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gcard { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.gcard strong { font-size: 20px; }
.gcard span { color: var(--grey); line-height: 1.45; }
.gcard:hover strong { color: var(--orange-dark); }
.center { display: flex; justify-content: center; padding-top: 8px; }
.story { padding: 80px 0; }
.story .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.story .spot { flex: 0 1 300px; min-width: 240px; aspect-ratio: 1 / 1; background: var(--orange); }
.story-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.story-text p { font-size: 22px; line-height: 1.4; text-wrap: balance; }
.story-text .disp { font-size: 34px; line-height: 1.15; font-weight: 800; }
.svc-icon { width: 72px; height: 72px; }
.quote { padding: 80px 0; }
.quote .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.quote blockquote { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.love { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.love .photo { flex: 0 1 300px; width: 300px; aspect-ratio: 1 / 1; transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--sage); }
.love-text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 380px; min-width: 0; }
.love h2 { font-size: 44px; line-height: 1.05; }
.love p { font-size: 18px; line-height: 1.5; color: var(--grey); }

/* ---------- Page header (Projects, Services, Contact) ---------- */
.page-head { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1, .split-head h1 { font-size: 52px; letter-spacing: -0.02em; }
.split-head { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.split-head > .stack { flex: 1 1 520px; min-width: 0; gap: 16px; }

/* ---------- Projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff; border: var(--line);
  border-radius: 999px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--orange); }
.garden-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 80px; }
.garden-grid .gcard { gap: 10px; }
.meta { font-size: 13px; color: var(--grey-2); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.cta-band { padding: 72px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: 34px; }
.cta-art { display: flex; align-items: center; gap: 28px; flex: 1 1 480px; min-width: 0; }
.cta-art img { width: 150px; height: auto; flex: none; mix-blend-mode: multiply; }

/* ---------- Garden page ---------- */
.g-head { padding-top: 40px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.g-head h1 { font-size: 48px; letter-spacing: -0.02em; }
.g-head a { font-size: 14px; font-weight: 600; }
.g-hero { aspect-ratio: 16 / 8; box-shadow: 6px 6px 0 var(--orange); }
.g-body { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; padding-bottom: 56px; align-items: flex-start; }
.g-body article { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.6; }
.g-body article p { margin: 0; }
.g-body article h3 { font-size: 22px; margin: 8px 0 -8px; }
.g-body aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.facts { margin: 0; display: flex; flex-direction: column; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: var(--line); }
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); }
.fact dd { margin: 0; font-weight: 600; }
.plants { padding: 56px 0; }
.plants .wrap { display: flex; flex-direction: column; gap: 20px; }
.plants ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; font-size: 16px; line-height: 1.5; }
.gallery { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gallery .plan { object-fit: contain; background: #fff; padding: 8px; }
.note { display: flex; align-items: flex-start; gap: 6px; padding-left: 12px; }
.note span { font-family: var(--display); font-weight: 700; font-size: 22px; padding-top: 22px; }
.note img { width: 60px; height: auto; transform: rotate(-59deg) scaleY(-1); margin-top: -4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 72px; border-top: var(--line); }
.pager > a:not(.btn) { font-weight: 600; }

/* ---------- Services ---------- */
.frame { flex: 0 1 400px; min-width: 0; background: var(--sage); border: var(--line); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; transform: rotate(2deg); }
.frame img { display: block; width: 100%; mix-blend-mode: multiply; }
.svc { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px 0; border-top: var(--line); align-items: flex-start; }
.svc-side { flex: 0 0 200px; display: flex; flex-direction: column; gap: 12px; }
.svc-side .spot { width: 104px; height: 104px; }
.svc-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc h2 { font-size: 32px; }
.svc p { font-size: 17px; line-height: 1.55; color: var(--grey); }
.svc ul { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--grey); }
.nolawn { padding: 64px 0; }
.nolawn .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.nolawn .stack { gap: 12px; flex: 1 1 480px; min-width: 0; }
.nolawn h2 { font-size: 40px; line-height: 1.05; }
.nolawn p { font-size: 18px; line-height: 1.55; }
.nolawn .spot { flex: 0 1 240px; min-width: 200px; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; }
.nolawn .spot img { object-fit: contain; }
.steps { padding-top: 72px; padding-bottom: 72px; }
.steps h2 { font-size: 36px; }

/* ---------- About ---------- */
.about-hero { gap: 56px; }
.about-hero .drawing { flex: 0 1 440px; --blob-color: var(--lavender); }
.about-hero h1 { font-size: 52px; letter-spacing: -0.02em; }
.about-hero p { font-size: 19px; line-height: 1.55; color: var(--grey); }
.why { padding: 72px 0; }
.why .wrap { display: flex; flex-direction: column; gap: 20px; }
.why p { font-size: 24px; line-height: 1.4; }
.why .disp { font-size: 40px; line-height: 1.1; font-weight: 800; }
.two-col { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > .stack { flex: 1 1 380px; min-width: 0; gap: 16px; }
.two-col h2 { font-size: 36px; }
.two-col p { font-size: 18px; line-height: 1.55; color: var(--grey); }
.lined { margin: 0; padding: 0; list-style: none; }
.lined li { padding: 16px 0; border-top: var(--line); font-size: 20px; font-weight: 600; }
.lined li:last-child { border-bottom: var(--line); }
.divider { display: block; width: 340px; max-width: 80%; height: auto; margin: 8px auto 0; }
.divider.flip { margin: 0 auto 8px; transform: scaleX(-1); }
.creds { padding: 32px 0; }
.creds .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; font-size: 16px; }
.kind { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kind figure { margin: 0; }
.kind blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.kind figcaption { font-size: 14px; color: var(--grey-2); }
.kind > a { font-weight: 600; font-size: 14px; align-self: flex-start; }

/* ---------- Contact ---------- */
.contact-hero { padding-top: 56px; padding-bottom: 40px; }
.contact-hero .drawing { flex: 0 1 380px; --blob-color: var(--lavender); }
.contact-hero .drawing::before { left: 4%; top: 10%; width: 92%; }
.contact-hero h1 { font-size: 52px; letter-spacing: -0.02em; }
.contact-hero p { font-size: 20px; line-height: 1.55; color: var(--grey); max-width: 30em; }
.contact-body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 16px; padding-bottom: 88px; }
.form {
  flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; background: #fff;
  border: var(--line); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 32px;
}
.form label { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: var(--line); border-radius: 12px; background: #fff;
  color: var(--ink); min-height: 48px; width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { border: 0; font-size: 16px; }
.form small { font-size: 14px; color: var(--grey-2); }
.hp { position: absolute !important; left: -5000px !important; }
.form-status { font-weight: 600; }
.contact-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.fit { background: var(--sage); border: var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.fit ul { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--grey); }
.fit strong + ul + strong { margin-top: 8px; }
.reach { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.reach a { font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garden-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plants ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 50px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { min-height: 64px; }
  .brand { font-size: 17px; gap: 8px; }
  .nav .wrap { flex-wrap: wrap; row-gap: 0; }
  .menu-toggle { padding: 0 14px; }
  .values span[aria-hidden] { display: none; }
  .values .wrap { gap: 8px 20px; font-size: 17px; }
  .brand .spot { width: 38px; height: 38px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: var(--line);
    border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-top: 1.5px solid var(--ink); font-size: 18px; }
  .nav-links .btn { margin-top: 12px; }

  .hero, .split-head, .page-head, .contact-hero { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero-text > p, .lede, .contact-hero p { font-size: 17px; }
  .page-head h1, .split-head h1, .about-hero h1, .contact-hero h1, .g-head h1 { font-size: 36px; }
  .section, .steps, .two-col, .kind { padding-top: 56px; padding-bottom: 56px; }
  .section h2, .two-col h2, .steps h2 { font-size: 28px; }
  .grid-3, .grid-4, .garden-grid, .grid-2, .gallery { grid-template-columns: 1fr; }
  .plants ul { grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 15px; }
  .story, .quote, .why { padding: 56px 0; }
  .story .spot { flex-basis: 220px; min-width: 0; width: 70%; margin: 0 auto; }
  .story-text p, .why p { font-size: 19px; }
  .story-text .disp, .why .disp { font-size: 28px; }
  .quote blockquote { font-size: 22px; }
  .love { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .love .photo { width: 70%; flex-basis: auto; margin: 0 auto; }
  .love h2 { font-size: 34px; }
  .love .btn { width: 100%; }
  .sticker { font-size: 16px; padding: 8px 14px; }
  .btn-row .btn { width: 100%; }
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 26px; }
  .cta-art { gap: 16px; flex-basis: 100%; }
  .cta-art img { width: 90px; }
  .cta-band .btn { width: 100%; }
  .svc { gap: 16px; padding: 36px 0; }
  .svc-side { flex-direction: row; align-items: center; flex-basis: 100%; }
  .svc-side .spot { width: 72px; height: 72px; }
  .svc h2 { font-size: 26px; }
  .nolawn h2 { font-size: 32px; }
  .nolawn .spot { margin: 0 auto; }
  .frame { transform: rotate(1deg); }
  .g-hero { aspect-ratio: 4 / 3; }
  .g-body { gap: 32px; padding-top: 32px; padding-bottom: 40px; }
  .g-body article { font-size: 17px; }
  .note span { font-size: 18px; padding-top: 14px; }
  .note img { width: 44px; }
  .pager { justify-content: center; text-align: center; }
  .pager .btn { order: -1; width: 100%; }
  .form { padding: 20px; }
  .creds .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
