/* Lawngevity wireframes — shared low-fi sketch system */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --line: #2a2a2a;
  --line-soft: #888;
  --paper: #f5f1e8;
  --paper-2: #ece6d6;
  --grid: #e6dfca;
  --accent: #c9a96a;          /* single neutral tan placeholder */
  --accent-soft: #e8dcc0;
  --note: #fff39a;            /* sticky-note yellow */
  --note-edge: #d9c855;
  --pin: #c64a3a;             /* annotation arrow color */
  --gray-1: #f0ebe0;
  --gray-2: #d8d2c2;
  --gray-3: #b5ae9c;
  --gray-4: #807a6c;
  --gray-5: #4a463d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* Paper grid background */
body.wireframe-page {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  min-height: 100vh;
  padding: 48px 32px 96px;
}

/* ---------- Page chrome ---------- */
.page-header {
  max-width: 1480px;
  margin: 0 auto 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 2px dashed var(--ink);
  padding-bottom: 20px;
}
.page-header h1 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 48px;
  margin: 0;
  line-height: 1;
}
.page-header .breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-4);
  margin-bottom: 6px;
}
.page-header .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-4);
  text-align: right;
}
.page-header .meta strong { color: var(--ink); display: block; font-size: 13px; margin-bottom: 4px;}
.page-header .back-link {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}
.page-header .back-link:hover { color: var(--pin); border-color: var(--pin); }

/* ---------- Frame container (desktop / mobile / tablet) ---------- */
.frame-stack {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.frame {
  background: white;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
  margin: 0 auto;
}
.frame.desktop { width: 1440px; }
.frame.mobile  { width: 390px; }
.frame.tablet  { width: 820px; }

.frame-label {
  position: absolute;
  top: -36px;
  left: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.frame-label .dim {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-4);
  margin-left: 12px;
  letter-spacing: 0.08em;
}

.frame-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.frame-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-4);
  letter-spacing: 0.06em;
}

/* ---------- Wireframe primitives ---------- */
.wf {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  font-size: 14px;
}

/* boxes */
.box {
  border: 1.5px solid var(--ink);
  background: white;
  padding: 12px;
  position: relative;
}
.box.dashed { border-style: dashed; }
.box.dotted { border-style: dotted; border-width: 2px; }
.box.fill-1 { background: var(--gray-1); }
.box.fill-2 { background: var(--gray-2); }
.box.fill-3 { background: var(--gray-3); color: white; }
.box.accent { background: var(--accent-soft); border-color: var(--ink); }
.box.solid  { background: var(--ink); color: white; }

/* placeholder image — diagonal stripes */
.ph-image {
  background:
    repeating-linear-gradient(135deg,
      var(--gray-2) 0 8px,
      var(--gray-1) 8px 16px);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-5);
  position: relative;
  letter-spacing: 0.04em;
  padding: 12px;
  min-height: 80px;
}
.ph-image.dark {
  background:
    repeating-linear-gradient(135deg,
      var(--gray-4) 0 8px,
      var(--gray-5) 8px 16px);
  color: white;
  border-color: var(--ink);
}
.ph-image .ph-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: white;
  border: 1px solid var(--ink);
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* video placeholder */
.ph-video {
  position: relative;
}
.ph-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: white;
  opacity: 0.85;
  text-shadow: 0 0 12px rgba(0,0,0,0.4);
}

/* labels & lines */
.lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-5);
}

/* fake text lines */
.tln { background: var(--gray-3); height: 8px; border-radius: 2px; display: block; margin: 6px 0; }
.tln.short { width: 40%; }
.tln.med   { width: 70%; }
.tln.long  { width: 92%; }
.tln.thick { height: 14px; background: var(--ink); }
.tln.heading { height: 22px; background: var(--ink); width: 60%; margin-bottom: 12px; }
.tln.h2 { height: 16px; background: var(--ink); width: 45%; margin-bottom: 10px;}

/* fake button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  padding: 10px 18px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: white;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.btn.primary { background: var(--ink); color: white; }
.btn.accent  { background: var(--accent); border-color: var(--ink); }
.btn.ghost   { background: transparent; }
.btn.sm { padding: 6px 12px; font-size: 15px; }
.btn.lg { padding: 14px 24px; font-size: 22px; }
.btn.full { display: flex; width: 100%; justify-content: center; }

/* form fields */
.field {
  border: 1.5px solid var(--ink);
  background: white;
  padding: 10px 12px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 13px;
  color: var(--gray-4);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.field.tall { min-height: 92px; align-items: flex-start; }
.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-5);
  margin-bottom: 4px;
  display: block;
}

/* annotation system — sticky notes + arrows */
.note {
  position: absolute;
  background: var(--note);
  border: 1.5px solid var(--note-edge);
  padding: 8px 12px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  max-width: 220px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.18);
  z-index: 5;
  transform: rotate(-1.2deg);
}
.note.r  { transform: rotate(1.4deg); }
.note.r2 { transform: rotate(-2.2deg); }
.note .anum {
  display: inline-block;
  background: var(--ink);
  color: var(--note);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  margin-right: 6px;
  vertical-align: 1px;
}

/* numbered pin (in-frame) */
.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pin);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 0 0 1.5px var(--pin), 2px 2px 4px rgba(0,0,0,0.2);
  z-index: 6;
}

/* annotation legend block */
.legend {
  max-width: 1480px;
  margin: 64px auto 0;
  background: white;
  border: 2px solid var(--ink);
  padding: 24px 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.legend h3 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 28px;
  margin: 0 0 16px;
}
.legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.legend-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  align-items: flex-start;
}
.legend-item .anum {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pin);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.legend-item strong { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 17px;}

/* generic helpers */
.row { display: flex; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; }
.center { text-align: center; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--gray-5);}
.cap { text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; }
.spacer-sm { height: 8px; } .spacer-md { height: 16px; } .spacer-lg { height: 32px; }
.divider { height: 1.5px; background: var(--ink); width: 100%; }
.divider.dashed { background: none; border-top: 1.5px dashed var(--ink); }

/* --------- Sticky header (rendered inside frames) ---------- */
.wf-sticky-header {
  border-bottom: 2px solid var(--ink);
  background: white;
  position: relative;
}
.wf-trust-bar {
  background: var(--ink);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.wf-trust-bar .star { color: var(--accent); }
.wf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.wf-logo {
  border: 1.5px dashed var(--ink);
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-5);
}
.wf-nav-links {
  display: flex;
  gap: 22px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.wf-nav-links span { position: relative; cursor: pointer;}
.wf-nav-links span.has-drop::after { content: ' ▾'; font-size: 12px; }
.wf-nav-cta { display: flex; gap: 12px; align-items: center;}
.wf-phone {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
}

/* mobile header */
.wf-nav.mobile { padding: 12px 16px; }
.wf-nav.mobile .wf-nav-links { display: none; }
.wf-hamburger {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: white;
}

/* --------- Footer ---------- */
.wf-footer {
  background: var(--ink);
  color: white;
  padding: 32px 24px 24px;
  font-size: 12px;
}
.wf-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.wf-footer h5 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
}
.wf-footer ul { list-style: none; padding: 0; margin: 0; }
.wf-footer li { margin: 4px 0; opacity: 0.85; }
.wf-footer .legal {
  border-top: 1px dashed rgba(255,255,255,0.3);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

/* index page styles */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.index-card {
  background: white;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.12s ease;
}
.index-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}
.index-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-4);
  letter-spacing: 0.1em;
}
.index-card .title {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
}
.index-card .desc {
  font-size: 13px;
  color: var(--gray-5);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}
.index-card .tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px;
}
.index-card .tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 2px 6px;
}

/* utility for tight rows used across all pages */
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flex-center  { display: flex; justify-content: center; align-items: center; gap: 12px; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; }
.p-md { padding: 24px; } .p-lg { padding: 40px; } .p-xl { padding: 64px; }
.px-lg { padding-left: 40px; padding-right: 40px; }
.py-lg { padding-top: 40px; padding-bottom: 40px; }
.py-xl { padding-top: 64px; padding-bottom: 64px; }

/* responsive — stack desktop frame on smaller screens by allowing horizontal scroll */
@media (max-width: 1500px) {
  .frame.desktop { transform-origin: top left; }
}

/* Filter chips (blog index, gallery filters) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease-out, transform 120ms ease-out;
}
.chip:hover { background: var(--gray-1); transform: translateY(-1px); }
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Category tags (article cards, post hero) */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--accent-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  vertical-align: middle;
}
