/* ==========================================================
   Bench Concepts LLC — shared stylesheet
   benchconcepts.com
   ----------------------------------------------------------
   Colors are set once in :root below. --orange matches the
   trinity logo; --orange-dark is a deeper shade of the same
   orange used wherever text must stay readable on white.
   ========================================================== */

:root {
  /* Brand colors */
  --orange: #f16d09;        /* logo orange (sampled from logo); accent: rules, borders, highlights (decorative use) */
  --orange-dark: #b4520f;   /* buttons + links: passes WCAG AA contrast on white */
  --orange-tint: #fdf3ea;   /* soft background panels */

  /* Neutrals */
  --ink: #23201d;           /* main text, near-black warm charcoal */
  --ink-soft: #57524c;      /* secondary text */
  --paper: #ffffff;
  --paper-warm: #faf8f5;    /* alternating section background */
  --line: #e6e1da;          /* hairlines and card borders */

  /* Type */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max: 1120px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--orange-dark); }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Keyboard users can jump past the nav */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }

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

/* ---------- Header + navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--orange-dark); }

/* Menu links (desktop) */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--orange);
}

/* Mobile menu: CSS-only toggle using a hidden checkbox */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--orange-dark); }

@media (max-width: 760px) {
  .nav-bar { flex-wrap: wrap; }
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-bottom: 0.75rem;
  }
  .nav-links a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}

/* ---------- Trade-only ribbon ---------- */
.trade-ribbon {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(243px, 70%); } /* 243px = logo native width; supply a larger file to go bigger */

@media (max-width: 760px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-mark img { width: 140px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 4rem 0 3rem;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.page-head p { color: var(--ink-soft); max-width: 40em; font-size: 1.15rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--orange-dark);
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--orange-dark); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--orange-dark); }
.btn-outline:hover { background: var(--orange-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 42em; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); }

/* Thin orange rule under section headings */
.rule::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--orange);
  margin-top: 0.75rem;
}

/* ---------- Service cards (home) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  display: block;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: 0 6px 18px rgba(35, 32, 29, 0.08); transform: translateY(-2px); color: var(--ink); }
.card h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Feature list (home "how it works") ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Services page detail blocks ---------- */
.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}
.service-index a { font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.service-index a:hover { text-decoration: underline; }

.service {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px; /* keeps anchored headings clear of the sticky header */
}
.service:last-child { border-bottom: 0; }
.service ul { margin: 0 0 1em; padding-left: 1.2rem; }
.service li { margin-bottom: 0.3rem; }
.service .num {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--orange-dark);
  letter-spacing: 0.1em;
}
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Call-to-action band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8d3cc; max-width: 36em; margin: 0 auto 1.5rem; }
.cta-band .btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}
.contact-value { font-size: 1.15rem; }
.contact-value a { text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
.note { font-size: 0.9rem; color: var(--ink-soft); }

.area-list { columns: 2; padding-left: 1.2rem; margin: 0 0 1em; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 1.25rem 3rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--orange-tint);
  border: 1px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { display: block; }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 1.3rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
