/* =====================================================================
   GreenBeast Industries — site styles
   Same colors, fonts and drafting-sheet look as greenbeastdesign.com.
   Mobile first: base rules are for phones, @media blocks widen things.
   ===================================================================== */


/* 1. Brand tokens (same values as greenbeastdesign.com) -------------- */
:root {
  --green: #1e5631;
  --green-dark: #163f24;
  --green-tint: #edf3ee;
  --ink: #111111;
  --white: #ffffff;
  --line: #e5e5e5;
  --muted: #555555;
  --paper: #f7f8f7;      /* tinted section background */
  --grid: #eef0ee;       /* faint drafting grid in the hero */

  --font-display: "Archivo", "Arial Black", Arial, Helvetica, sans-serif;
  --font-body: "Archivo Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;

  --wrap: 1120px;
  --gutter: 16px;
  --header-h: 64px;
  --radius: 3px;
}


/* 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > .hero { flex: 1 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-underline-offset: 0.15em; }
a:hover { color: var(--green-dark); }
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 700;
}
.skip-link:focus { top: 8px; color: var(--white); }


/* 3. Layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 720px) {
  :root { --gutter: 28px; }
}


/* 4. Header and logo ------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}
.site-header__row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

/* Live-text logo: "Green" ink, "Beast" green, spaced "INDUSTRIES" */
.logo {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  padding: 6px 0;
}
.logo:hover { color: var(--ink); }
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo__beast { color: var(--green); }
.logo__sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.5rem;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  margin-top: 0.38em;
  white-space: nowrap;
}
@media (min-width: 720px) {
  .logo__word { font-size: 1.9rem; }
  .logo__sub { font-size: 0.6rem; }
}


/* 5. Button ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;            /* comfortable tap target */
  padding: 10px 20px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.btn--outline { background: var(--white); color: var(--green); }
.btn--outline:hover { background: var(--green-tint); color: var(--green-dark); }


/* 6. Hero (drafting-grid background, like greenbeastdesign.com) ------ */
.hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
  background-color: var(--white);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  display: flex;
  align-items: center;
}

/* The GB logo: big G in ink, B in green */
.gb-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 28vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.gb-mark__g { color: var(--ink); }
.gb-mark__b { color: var(--green); }

.hero h1 {
  font-size: clamp(2.15rem, 8.5vw, 4rem);
  letter-spacing: -0.025em;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  position: relative;
  max-width: 14ch;
}
/* short green tick under the heading rule, like a dimension mark */
.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--green);
}
.hero__lead {
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 30em;
}

@media (min-width: 960px) {
  .hero { padding: 80px 0 88px; }
}


/* 7. Sections and headings ------------------------------------------- */
.section { padding: 48px 0; }
.section--tint {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.section__title {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  letter-spacing: -0.015em;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--green);
}
@media (min-width: 720px) {
  .section { padding: 64px 0; }
}


/* 8. Cards ----------------------------------------------------------- */
.card-grid { display: grid; gap: 16px; }
.card {
  background: var(--white);
  border: 1px solid var(--ink);
  border-top: 5px solid var(--green);
  padding: 22px 22px 24px;
}
.card__title { font-size: 1.3rem; margin-bottom: 10px; }
@media (min-width: 720px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card { padding: 28px 28px 30px; }
}


/* 9. Footer ---------------------------------------------------------- */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: 28px 0 36px;
  font-size: 1rem;
}
.site-footer p { margin: 0 0 6px; }
.site-footer__url {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}
.site-footer__fine { color: var(--muted); font-size: 0.95rem; }


/* 10. Simple pages (404) --------------------------------------------- */
.page-intro { padding: 56px 0 64px; }
.page-intro h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-intro .lead { font-size: 1.25rem; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
