/* ============================================================
   MAIN.CSS — Reset, Variables, Typography
   Retaining Wall Guys

   Company colors: black, white, and navy. Daylight Limestone ground,
   true-black ink (no warm cast), and a Steel Navy accent doing the
   CTA/link work. Moss Drain stays as the sparing secondary accent for a
   small set of "positive outcome" moments rather than scattered
   everywhere.
============================================================ */

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── CSS VARIABLES ── */
:root {
  /* Grounds */
  --offwhite:      #EDEAE2;  /* Limestone — page background */
  --limestone-deep:#E0DCD3;  /* alternating section background, a touch deeper */
  --card:          #FFFFFF;

  /* Brand */
  --slate:         #000000;  /* black — headlines, body ink, nav */
  --slate-dark:    #000000;  /* black — footer, hover-dark */
  --gold:          #364759;  /* Steel Navy — CTAs, links, active states */
  --gold-hover:    #5A6877;  /* Steel Navy, lightened — hover */
  --gold-on-dark:      #86919B;  /* Steel Navy, lightened further — readable accent on dark surfaces */
  --gold-on-dark-hover:#9AA3AC;
  --earth:         #000000;  /* section headline color (same ink as body) */
  --moss:          #5C6B4F;  /* Moss Drain — sparing secondary accent (success/confirmation moments only) */
  --moss-hover:    #4B5841;  /* Moss Drain, darkened — hover */

  /* Neutrals */
  --concrete:      #6B7275;  /* Steel — secondary/muted text, utility gray only */
  --base-rock:     #A79E8E;  /* Base Rock — quiet borders, dividers, decorative-only (fails text contrast) */
  --border:        #DCD7CD;

  --red:           #B3402F;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --transition-fast: 0.18s ease;
  --transition-med:  0.3s ease;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--slate);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ── TYPOGRAPHY UTILITIES ── */
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
}

.t-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 14px;
}

.t-label--gold { color: var(--gold); }

.t-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--earth);
  text-wrap: balance;
}

/* ── SHARED BUTTONS — sharp edges, minimal, one color ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--slate);
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  background: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.btn-outline:hover {
  background: var(--slate);
  color: var(--offwhite);
}

/* An outline button sitting directly on a navy/dark surface needs the
   inverse treatment — light border/text, filling to white on hover. */
.btn-outline--on-dark {
  border-color: var(--offwhite);
  color: var(--offwhite);
}
.btn-outline--on-dark:hover {
  background: var(--offwhite);
  color: var(--slate);
}

/* ── SHARED SECTION PADDING ── */
.page-section { padding: 96px 48px; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 900px) {
  .page-section { padding: 60px 20px; }
}
