/* ============================================================
   88 Ways Inc — styles.css
   Charcoal + white + highway amber. Clean, understated,
   mobile-first. One stylesheet, no external assets.
   ============================================================ */

:root {
  --charcoal: #1b1d20;
  --charcoal-2: #24272c;
  --charcoal-3: #2e3238;
  --ink: #23262b;
  --ink-soft: #4c525b;
  --paper: #f6f6f4;
  --white: #ffffff;
  --amber: #f5a800;
  --amber-dark: #c78500;
  --line: #e2e2de;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(27, 29, 32, 0.10);
  --font-head: "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--amber-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--charcoal);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  background: var(--amber);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  padding: 7px 9px 5px;
  border-radius: 4px;
}

.brand-text {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

.site-nav a {
  color: #d8dade;
  text-decoration: none;
  font-size: 0.98rem;
  margin-left: 22px;
}

.site-nav a:hover, .site-nav a:focus { color: var(--amber); }

/* ---------- Hero ---------- */

.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--charcoal-3);
}

.hero-eyebrow {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e8e9eb;
  margin-bottom: 18px;
}

.hero-sub {
  max-width: 620px;
  color: #b9bdc4;
  font-size: 1.12rem;
}

.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
}

.btn-amber { background: var(--amber); color: var(--charcoal); }
.btn-amber:hover, .btn-amber:focus { background: var(--amber-dark); color: var(--white); }

.btn-ghost { border-color: #565b63; color: var(--white); }
.btn-ghost:hover, .btn-ghost:focus { border-color: var(--amber); color: var(--amber); }

/* ---------- Authority strip ---------- */

.authority {
  background: var(--charcoal-2);
  color: var(--white);
}

.authority-inner {
  display: flex;
  flex-wrap: wrap;
}

.authority-item {
  flex: 1 1 200px;
  padding: 20px 18px;
  border-left: 1px solid var(--charcoal-3);
}

.authority-item:first-child { border-left: none; }

.authority-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 4px;
}

.authority-value {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }

.section-lede {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.section-dark { background: var(--charcoal); color: #e8e9eb; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: #b9bdc4; max-width: 720px; }

/* ---------- Service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 8px;
}

.card p { color: var(--ink-soft); }

.card-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.card-list li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.98rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 9px;
  height: 3px;
  background: var(--amber);
}

/* ---------- Contact ---------- */

.contact-inner { max-width: 720px; }

.contact-lines { margin: 26px 0 30px; }

.contact-lines p {
  display: flex;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin: 0;
  font-size: 1.1rem;
}

.contact-label {
  flex: 0 0 90px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-lines a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-lines a:hover, .contact-lines a:focus { color: var(--amber-dark); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: #9ea3ab;
  padding: 40px 0 34px;
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.footer-small { font-size: 0.88rem; color: #767c85; margin: 10px 0 0; }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 54px; }
  .section { padding: 54px 0; }
}

@media (max-width: 560px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-nav a { margin-left: 0; margin-right: 18px; }
  .authority-item { flex: 1 1 45%; border-left: none; border-top: 1px solid var(--charcoal-3); }
}
