/* ============================================================
   Texas Footprint — Design System v5
   Workshop, not showroom. One honest accent.
   ============================================================ */

/* --- TOKENS --- */
:root {
  /* Brand */
  --tf-iron: #2E2A26;
  --tf-iron-soft: #4A4440;
  --tf-copper: #B5654A;
  --tf-copper-light: #D4916F;
  --tf-copper-dark: #8E4733;
  --tf-sage: #6B7F6C;
  --tf-sage-light: rgba(107,127,108,0.10);
  --tf-canvas: #FAF7F3;
  --tf-canvas-warm: #F3EDE5;
  --tf-mortar: #E2DCD4;
  --tf-mortar-dark: #C9C1B6;
  --tf-white: #FFFFFF;

  /* Text */
  --tf-text: #2A2520;
  --tf-text-2: #6B635A;
  --tf-text-3: #9B9389;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  /* Spacing (8px grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(42,37,32,0.06);
  --shadow-md: 0 2px 8px rgba(42,37,32,0.08);
  --shadow-lg: 0 4px 16px rgba(42,37,32,0.10);

  /* Layout */
  --max-width: 960px;
  --gutter: var(--sp-4);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--tf-text);
  background: var(--tf-canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-copper); text-decoration: none; }
a:hover { color: var(--tf-copper-dark); }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

.section--warm {
  background: var(--tf-canvas-warm);
}

/* --- NAV --- */
.nav {
  background: var(--tf-iron);
  padding: var(--sp-3) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--tf-canvas);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__wordmark span {
  color: var(--tf-copper-light);
}

.nav__links {
  display: flex;
  gap: var(--sp-6);
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--tf-mortar);
  text-decoration: none;
  transition: color 0.15s;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--tf-canvas);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--tf-canvas);
  font-size: 24px;
  cursor: pointer;
  padding: var(--sp-1);
}

/* --- HERO (steel plate) --- */
.hero {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 2px,
      transparent 2px,
      transparent 8px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 8px
    ),
    linear-gradient(170deg, #2E2A26 0%, #3A3530 40%, #2E2A26 100%);
  border-bottom: 3px solid var(--tf-copper);
  padding: var(--sp-20) 0;
  text-align: center;
}

.hero--light {
  background: var(--tf-canvas-warm);
  border-bottom: 1px solid var(--tf-mortar);
}

.hero__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--tf-canvas);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero--light .hero__title {
  color: var(--tf-iron);
  font-size: 32px;
}

.hero__body {
  font-size: 16px;
  color: var(--tf-mortar);
  max-width: 520px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
}

.hero--light .hero__body {
  color: var(--tf-text-2);
}

.hero__form {
  display: flex;
  gap: var(--sp-2);
  max-width: 440px;
  margin: 0 auto var(--sp-4);
}

.hero__form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--tf-mortar-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--tf-text);
  background: var(--tf-white);
  outline: none;
  transition: border-color 0.15s;
}

.hero__form input:focus {
  border-color: var(--tf-copper);
}

.hero__form input::placeholder {
  color: var(--tf-mortar-dark);
}

.hero__hint {
  font-size: 12px;
  color: var(--tf-text-3);
  margin-bottom: var(--sp-4);
}

.hero__secondary {
  font-size: 14px;
  color: var(--tf-copper);
  font-weight: 500;
}

.hero__secondary:hover {
  color: var(--tf-copper-dark);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}

.btn--primary {
  background: var(--tf-iron);
  color: var(--tf-canvas);
}
.btn--primary:hover { background: var(--tf-iron-soft); color: var(--tf-canvas); }

.btn--accent {
  background: var(--tf-copper);
  color: var(--tf-white);
}
.btn--accent:hover { background: var(--tf-copper-dark); color: var(--tf-white); }

.btn--outline {
  background: transparent;
  color: var(--tf-iron);
  border: 1.5px solid var(--tf-mortar-dark);
}
.btn--outline:hover { border-color: var(--tf-iron); }

.btn--ghost {
  background: transparent;
  color: var(--tf-copper);
  padding: 11px 14px;
}
.btn--ghost:hover { background: var(--tf-canvas-warm); }

/* --- STEPS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.step {
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tf-copper);
  color: var(--tf-white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--sp-3);
}

.step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--tf-iron);
  margin-bottom: var(--sp-2);
}

.step__body {
  font-size: 14px;
  color: var(--tf-text-2);
  line-height: 1.6;
}

/* --- CARDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

.card {
  background: var(--tf-white);
  border: 1px solid var(--tf-mortar);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tf-sage);
  background: var(--tf-sage-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--tf-iron);
  margin-bottom: var(--sp-1);
}

.card__meta {
  font-size: 13px;
  color: var(--tf-text-2);
  margin-bottom: var(--sp-3);
}

.card__phone {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--tf-copper);
  font-weight: 500;
  text-decoration: none;
}

.card__phone:hover {
  color: var(--tf-copper-dark);
}

/* --- PAY IT FORWARD BANNER --- */
.pif-banner {
  background: var(--tf-canvas-warm);
  border-left: 3px solid var(--tf-copper);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-4) var(--sp-6);
}

.pif-banner strong {
  color: var(--tf-iron);
  font-size: 15px;
}

.pif-banner p {
  color: var(--tf-text-2);
  font-size: 14px;
  margin-top: var(--sp-1);
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--tf-iron);
  margin-bottom: var(--sp-2);
}

.section-header__body {
  font-size: 15px;
  color: var(--tf-text-2);
  max-width: 500px;
  margin: 0 auto;
}

/* --- HERO CTA --- */
.hero__cta {
  display: inline-flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta .btn--primary {
  background: var(--tf-copper);
  color: var(--tf-white);
}
.hero__cta .btn--primary:hover {
  background: var(--tf-copper-dark);
  color: var(--tf-white);
}

.hero__cta .btn--outline {
  border-color: rgba(255,255,255,0.25);
  color: var(--tf-mortar);
}
.hero__cta .btn--outline:hover {
  border-color: var(--tf-canvas);
  color: var(--tf-canvas);
}

/* --- PHOTO GRID --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.photo-card {
  background: var(--tf-iron);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--tf-text-3);
  background: var(--tf-iron-soft);
  text-align: center;
  padding: var(--sp-4);
}

.photo-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(transparent, rgba(46,42,38,0.85));
  font-size: 13px;
  font-weight: 500;
  color: var(--tf-canvas);
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--tf-iron);
  padding: var(--sp-12) 0;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--tf-canvas);
  margin-bottom: var(--sp-3);
}

.cta-banner__body {
  font-size: 15px;
  color: var(--tf-mortar);
  max-width: 480px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}

.cta-banner .btn--accent {
  background: var(--tf-copper);
  color: var(--tf-white);
}
.cta-banner .btn--accent:hover {
  background: var(--tf-copper-dark);
}

/* --- PROSE --- */
.prose {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tf-text);
}

.prose p {
  margin-bottom: var(--sp-4);
}

.prose ul {
  margin-bottom: var(--sp-4);
}

.pif-line {
  font-style: italic;
  color: var(--tf-copper);
  font-size: 15px;
  margin-top: var(--sp-6);
}

/* --- LISTS --- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-3);
  font-size: 15px;
  color: var(--tf-text-2);
  line-height: 1.6;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--tf-copper);
  font-weight: 600;
}

.dont-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.dont-list li {
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-3);
  font-size: 15px;
  color: var(--tf-text-2);
  line-height: 1.6;
}

.dont-list li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--tf-text-3);
  font-weight: 600;
}

/* --- CHECKLIST CARD --- */
.checklist-card {
  background: var(--tf-white);
  border: 1px solid var(--tf-mortar);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-4);
  font-size: 15px;
  color: var(--tf-text);
  line-height: 1.6;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--tf-mortar-dark);
  border-radius: var(--radius-sm);
}

/* --- CONTACT FORM --- */
.contact-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--tf-text);
  margin-top: var(--sp-2);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--tf-mortar-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--tf-text);
  background: var(--tf-white);
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--tf-copper);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: var(--sp-4);
  align-self: flex-start;
}

/* --- GUIDE LIST --- */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 640px;
  margin: 0 auto;
}

.guide-item {
  display: block;
  background: var(--tf-white);
  border: 1px solid var(--tf-mortar);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.guide-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--tf-mortar-dark);
}

.guide-item__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--tf-iron);
  margin-bottom: var(--sp-2);
}

.guide-item__body {
  font-size: 14px;
  color: var(--tf-text-2);
  line-height: 1.6;
}

/* --- ABOUT --- */
.about__text {
  font-size: 16px;
  color: var(--tf-text);
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.about__text em {
  font-style: italic;
  color: var(--tf-text-2);
}

/* --- FOOTER --- */
.footer {
  background: var(--tf-iron);
  padding: var(--sp-10) 0 var(--sp-8);
  color: var(--tf-mortar);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__about {
  max-width: 420px;
  font-size: 14px;
  font-style: italic;
  color: var(--tf-mortar-dark);
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  gap: var(--sp-6);
  list-style: none;
}

.footer__nav a {
  font-size: 13px;
  color: var(--tf-mortar);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--tf-canvas);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--tf-text-2);
}

.footer__contact a {
  color: var(--tf-mortar);
  font-size: 12px;
}

.footer__contact a:hover {
  color: var(--tf-canvas);
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  :root { --gutter: var(--sp-4); }

  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tf-iron);
    padding: var(--sp-4) var(--gutter);
    gap: var(--sp-4);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hero { padding: var(--sp-12) 0; }
  .hero__title { font-size: 26px; }
  .hero__body { font-size: 15px; }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .hero__form {
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    flex-direction: column;
    gap: var(--sp-6);
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: var(--sp-4);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-2);
    text-align: center;
  }

  .section {
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-10);
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 22px; }
}
