/* GrowAx standalone pages (About, TruxCRM).
   Self-contained: reuses the site's bundled Haffer/Brisa fonts and brand tokens
   so these pages match the home page without pulling in the heavy template CSS.
   All paths are relative, so the pages work at a domain root and at a subpath. */

@font-face {
  font-family: "Haffer VF";
  src: url("../../vendor/fonts/HafferStandardUprights-VF.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Haffer Mono";
  src: url("../../vendor/fonts/HafferMonoRegular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Brisa Pro";
  src: url("../../vendor/fonts/BrisaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f4f4f2;
  --ink: #1d1919;
  --ink-dark: #171514;
  --cream: #f7f2ed;
  --accent: #9cff57;
  --violet: #6d3df4;
  --coral: #ff5c4d;
  --muted: #77716a;
  --line: #e2ded8;
  --radius: 18px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Haffer VF", Inter, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------------------------------------------------------------- nav ---- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px auto 0;
  max-width: 1080px;
  padding-inline: var(--pad);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ink-dark);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 1.35rem; align-items: center; }
.nav__links a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.82;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink-dark); }
.btn--ghost { background: rgba(247,242,237,.14); color: var(--cream); }
.btn--dark { background: var(--ink-dark); color: var(--cream); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }

/* -------------------------------------------------------------- layout ---- */
section { padding-block: clamp(3rem, 8vw, 6.5rem); }
.section--dark { background: var(--ink-dark); color: var(--cream); }
.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }

.eyebrow {
  font-family: "Haffer Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.section--dark .eyebrow { color: rgba(247,242,237,.6); }
.pill {
  display: inline-block;
  font-family: "Haffer Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(29,25,25,.07);
  margin: 0 0 1.4rem;
}
.section--dark .pill { background: rgba(247,242,237,.12); }
.pill--accent { background: var(--accent); color: var(--ink-dark); }

h1, h2, h3, h4 { margin: 0 0 0.6rem; font-weight: 700; line-height: 1.03; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: rgba(247,242,237,.72); }
.scribble { font-family: "Brisa Pro", cursive; color: var(--coral); font-size: 1.6rem; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
}
.section--dark .card { background: rgba(247,242,237,.05); border-color: rgba(247,242,237,.12); }
.card__num {
  font-family: "Haffer Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--ink-dark);
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 0.9rem;
}
.card p { color: var(--muted); margin-bottom: 0; }
.section--dark .card p { color: rgba(247,242,237,.7); }

.stat { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.stat + p { color: var(--muted); font-size: 0.95rem; }

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  max-height: 460px;
}
.shot img { width: 100%; height: auto; }
.shot--tall { max-height: 520px; overflow: hidden; }

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); }
.section--dark .list li { color: rgba(247,242,237,.72); }
.list svg { flex: 0 0 auto; margin-top: 0.28rem; }

.team { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.team__card { text-align: left; }
.team__img {
  aspect-ratio: 1/1; border-radius: 14px; overflow: hidden;
  background: var(--ink-dark); display: grid; place-items: center; margin-bottom: 0.75rem;
}
.team__img img { width: 100%; height: 100%; object-fit: cover; }
.team__initials { color: var(--accent); font-size: 2.2rem; font-weight: 700; }
.team__role { color: var(--muted); font-size: 0.9rem; margin: 0.15rem 0 0.4rem; }
.team__ig { font-size: 0.85rem; color: var(--muted); text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.team__ig:hover { color: var(--ink); }

.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; align-items: center; }
.logos img { height: 46px; width: auto; margin: 0 auto; opacity: .8; filter: saturate(.15) contrast(.9); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: none; }

.cta-band { background: var(--ink-dark); color: var(--cream); border-radius: 28px; padding: clamp(2rem, 5vw, 3.6rem); }
.cta-band h2 { max-width: 18ch; }

/* ------------------------------------------------------------- footer ---- */
.foot { background: var(--ink-dark); color: var(--cream); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot h4 { font-size: 0.8rem; font-family: "Haffer Mono", monospace; letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot a { text-decoration: none; opacity: .82; font-size: 0.97rem; }
.foot a:hover { opacity: 1; }
.foot__mark { font-size: clamp(3rem, 13vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -0.03em; opacity: .13; margin-top: 2.5rem; }
.foot__base {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between;
  border-top: 1px solid rgba(247,242,237,.12); margin-top: 1.5rem; padding-top: 1.25rem;
  font-size: 0.85rem; opacity: .62;
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner { padding-left: 1.1rem; }
}

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

.nav__word { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
