/* ============================================
   Bitgrid Pty Ltd — site stylesheet
   Charcoal & amber: warm off-white canvas,
   charcoal type and buttons, amber highlights.
   ============================================ */

:root {
  --bg: #fbfaf7;          /* warm off-white canvas */
  --bg-soft: #f4f2ec;     /* warm grey alt sections */
  --ink: #1d1d1b;         /* charcoal text */
  --navy: #1d1d1b;        /* dark surfaces (legacy var name) */
  --slate: #6b6a64;       /* warm grey secondary text */
  --line: #e6e3da;        /* hairline borders */
  --accent: #d9930d;      /* amber */
  --accent-dark: #8a5c06; /* text-safe amber */
  --accent-mid: #b87a08;  /* mid amber */
  --accent-soft: rgba(217,147,13,.1);
  --cream-text: #f5f4f0;
  --radius: 18px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(217,147,13,.2); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { display: block; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em;
  color: var(--ink);
}
.brand-name span { color: var(--accent-mid); }
nav.menu { display: flex; gap: 2px; align-items: center; }
nav.menu a {
  text-decoration: none; color: var(--slate); font-weight: 500;
  font-size: .94rem; padding: 9px 14px; border-radius: 999px;
  transition: color .15s, background .15s;
}
nav.menu a:hover { color: var(--ink); background: var(--bg-soft); }
nav.menu a.active { color: var(--ink); font-weight: 600; }
nav.menu a.cta {
  background: var(--ink); color: var(--cream-text); font-weight: 600; margin-left: 10px;
  padding: 10px 20px;
}
nav.menu a.cta:hover { background: #3a3a36; color: var(--cream-text); }

/* mobile nav */
#nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px;
}

@media (max-width: 920px) {
  .hamburger { display: block; }
  nav.menu {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 12px 28px 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(29,29,27,.08);
  }
  nav.menu a { padding: 12px 14px; border-radius: 10px; }
  nav.menu a.cta { margin-left: 0; text-align: center; border-radius: 999px; }
  #nav-toggle:checked ~ nav.menu { display: flex; }
}

/* ---------- Kicker pill ---------- */
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 24px;
  border: 1px solid rgba(217,147,13,.4); border-radius: 999px;
  padding: 7px 16px; background: rgba(217,147,13,.07);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 480px at 85% -10%, rgba(217,147,13,.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(29,29,27,.035) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(29,29,27,.035) 48px),
    var(--bg);
  padding: 110px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.08; letter-spacing: -.015em; font-weight: 600;
  max-width: 840px; color: var(--ink);
}
.hero p.lead {
  margin-top: 28px; font-size: 1.22rem; color: var(--slate); max-width: 680px;
  line-height: 1.65;
}
.hero-actions { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 15px 30px; border-radius: 999px; font-size: 1rem;
  transition: transform .12s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--cream-text); }
.btn-primary:hover { background: #3a3a36; }
.btn-ghost { border: 1.5px solid rgba(29,29,27,.3); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(29,29,27,.04); }
.btn-outline { border: 1.5px solid rgba(29,29,27,.4); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream-text); border-color: var(--ink); }

/* amber button on dark surfaces */
.cta-band .btn-primary,
div[style*="--navy"] .btn-primary {
  background: var(--accent); color: #2b1d02;
}
.cta-band .btn-primary:hover,
div[style*="--navy"] .btn-primary:hover { background: #c0820a; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trustbar .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; padding: 0 28px;
}
.trust-item {
  padding: 30px 20px; text-align: center;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: none; }
.trust-item .t-big {
  font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.08rem;
}
.trust-item .t-sub { font-size: .87rem; color: var(--slate); margin-top: 4px; }
@media (max-width: 920px) {
  .trust-item { border-left: none; border-top: 1px solid var(--line); padding: 20px; }
  .trust-item:first-child { border-top: none; }
}

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px;
}
h2.title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.01em;
  color: var(--ink); line-height: 1.18; max-width: 740px; font-weight: 600;
}
p.sub { margin-top: 18px; color: var(--slate); max-width: 680px; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; margin-top: 52px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards.three, .cards.two { grid-template-columns: 1fr; } }

.card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #d2cec2;
  box-shadow: 0 18px 40px rgba(29,29,27,.07);
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--serif); color: var(--ink); font-size: 1.3rem;
  letter-spacing: -.01em; font-weight: 600;
}
.card p { color: var(--slate); font-size: .97rem; margin-top: 12px; }
.card a.more {
  display: inline-block; margin-top: 18px; color: var(--ink);
  font-weight: 600; font-size: .94rem; text-decoration: none;
  border-bottom: 1px solid rgba(217,147,13,.5);
}
.card a.more:hover { border-bottom-color: var(--accent); color: var(--accent-dark); }

.card.feature {
  background: var(--ink); border-color: var(--ink);
}
.card.feature h3 { color: var(--cream-text); }
.card.feature p { color: #a8a59c; }
.card.feature .icon { background: rgba(217,147,13,.18); color: #eab84d; }
.card.feature a.more { color: #eab84d; border-bottom-color: rgba(217,147,13,.45); }
.card.feature a.more:hover { border-bottom-color: #eab84d; color: #eab84d; }

/* ---------- Checklist / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 8px; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }

ul.checks { list-style: none; margin-top: 28px; }
ul.checks li {
  padding-left: 36px; position: relative; margin-bottom: 18px; color: var(--slate);
}
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent-soft);
}
ul.checks li::after {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent-mid); border-bottom: 2px solid var(--accent-mid);
  transform: rotate(-45deg);
}
ul.checks li strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; margin-top: 48px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step; background: #ffffff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1rem; font-weight: 700; color: var(--accent-mid);
  letter-spacing: .06em; display: block; margin-bottom: 14px;
}
.step h3 { font-family: var(--serif); color: var(--ink); font-size: 1.18rem; font-weight: 600; }
.step p { color: var(--slate); font-size: .95rem; margin-top: 10px; }

/* ---------- Role chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.chip {
  background: #ffffff; border: 1px solid #dbd7cb; border-radius: 999px;
  padding: 10px 20px; font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); background: rgba(217,147,13,.05); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 700px 400px at 15% 120%, rgba(217,147,13,.16), transparent 60%),
    var(--ink);
  color: var(--cream-text); padding: 88px 0; text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; font-weight: 600;
}
.cta-band p { color: #a8a59c; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 34px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 800px 420px at 90% -20%, rgba(217,147,13,.07), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(29,29,27,.03) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(29,29,27,.03) 48px),
    var(--bg);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem); letter-spacing: -.015em;
  max-width: 780px; color: var(--ink); line-height: 1.12; font-weight: 600;
}
.page-hero p { margin-top: 20px; color: var(--slate); max-width: 680px; font-size: 1.14rem; }

/* ---------- Prose ---------- */
.prose h2 { font-family: var(--serif); color: var(--ink); font-size: 1.6rem; margin-top: 48px; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; color: var(--slate); max-width: 760px; }
.prose .lede { font-size: 1.12rem; color: var(--slate); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }
.stat {
  border-left: 3px solid var(--accent); padding-left: 22px;
}
.stat .n {
  font-family: var(--serif);
  font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.stat .d { color: var(--slate); font-size: .96rem; margin-top: 5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; margin-top: 8px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px;
}
.contact-card h3 { font-family: var(--serif); color: var(--ink); margin-bottom: 6px; font-size: 1.4rem; font-weight: 600; }
.contact-list { list-style: none; margin-top: 22px; }
.contact-list li {
  display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px;
  color: var(--ink);
}
.contact-list .ci {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent-dark); }
.contact-list .cl-label { font-size: .8rem; color: var(--slate); text-transform: uppercase; letter-spacing: .07em; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
form input, form textarea, form select {
  width: 100%; padding: 13px 16px; border: 1px solid #dbd7cb;
  border-radius: 11px; font-family: var(--font); font-size: .98rem;
  color: var(--ink); background: #ffffff;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,147,13,.15);
}
form button {
  background: var(--ink); color: var(--cream-text); font-weight: 600; font-size: 1rem;
  border: none; border-radius: 999px; padding: 15px 34px; cursor: pointer;
  font-family: var(--font);
  transition: background .15s, transform .12s;
}
form button:hover { background: #3a3a36; transform: translateY(-1px); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #a8a59c; padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } }
footer .brand-name { color: var(--cream-text); }
footer .brand-name span { color: #eab84d; }
footer p { font-size: .93rem; margin-top: 16px; max-width: 360px; }
footer h4 {
  color: var(--cream-text); font-size: .85rem; margin-bottom: 16px;
  letter-spacing: .08em; text-transform: uppercase;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a { color: #a8a59c; text-decoration: none; font-size: .94rem; transition: color .15s; }
footer a:hover { color: var(--cream-text); }
.foot-base {
  border-top: 1px solid rgba(245,244,240,.12); margin-top: 48px; padding-top: 26px;
  font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
