/* ============================================================
   Lone Star Title — styles.css
   Palette: black #111, off-white #f5f4f1, gold #b08d3f
   ============================================================ */

:root {
  --black: #000000;
  --near-black: #17181a;
  --white: #ffffff;
  --off-white: #f5f4f2;
  --paper: #fafaf8;
  --gold: #b08d3f;
  --gold-light: #c9a45c;
  --gold-text: #866a2b;  /* WCAG AA (4.5:1) on white/off-white — small text & button fills */
  --gold-hero: #a8863b;  /* WCAG AA large-text (3:1) on off-white — hero heading */
  --gold-pale: #e6d5ae;
  --text: #2a2a2c;
  --text-muted: #5c5c60;
  --border: #e3e1dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

/* anchor jumps land with breathing room below the sticky header */
[id] { scroll-margin-top: 136px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.center { text-align: center; margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-gold { background: var(--gold-text); color: var(--white); }
.btn-gold:hover { background: #6f5722; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2c2c2e; }
.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-outline-gold { border-color: var(--gold-text); color: var(--gold-text); background: transparent; }
.btn-outline-gold:hover { background: var(--gold-text); color: var(--white); }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}
.section-title::before,
.section-title::after {
  content: "";
  width: 56px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

/* ---------- Inline icons ---------- */
.icon-inline {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  margin-right: 8px;
}
.icon-inline.gold { stroke: var(--gold); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  max-width: none;
  padding: 0 clamp(24px, 3.5vw, 56px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}

.logo {
  text-decoration: none;
  color: var(--white);
  line-height: 1.15;
  display: inline-block;
  flex-shrink: 0; /* never let the flexbox squish the logo */
}
.logo-img {
  height: 64px;
  width: auto;
}
.logo-img-footer {
  height: 66px;
}
.logo-tagline {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
}

.site-nav {
  display: flex;
  gap: clamp(28px, 2.6vw, 44px);
  margin-left: auto;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--gold-light); }
.site-nav a.active { border-bottom-color: var(--gold); }


.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { background: var(--off-white); }
.hero .container {
  max-width: none;
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 43fr 57fr;
  align-items: stretch;
  gap: 0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px clamp(24px, 5.5vw, 96px);
  max-width: 780px;
  margin-left: auto;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 43px);
  font-weight: 600;
  color: var(--near-black);
  line-height: 1.24;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-hero);
}
.gold-rule {
  width: 76px;
  height: 4px;
  background: var(--gold);
  margin: 34px 0;
}
.hero-copy p {
  color: var(--text);
  font-size: clamp(15.5px, 1.1vw, 18px);
  line-height: 1.75;
}
.hero-copy p + p { margin-top: 14px; }

/* trust points strip under the services grid — one line on desktop */
.services-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 48px;
  margin: 40px 0 0;
  padding: 0;
}
.services-checks li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(14px, 1.05vw, 16.5px);
  font-weight: 600;
  color: var(--near-black);
  white-space: nowrap;
}
.services-checks li::before {
  content: "\2713";
  color: var(--gold-text);
  font-weight: 700;
  flex: none;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-actions .btn {
  padding: 18px 38px;
  font-size: 14.5px;
}
.hero-photo picture {
  display: block;
  height: 100%;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  /* keep the Lone Star wall signage in frame when narrow screens crop the photo */
  object-position: 88% center;
}

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--white); }
.services .container { max-width: 1400px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 14px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.18);
  border-color: var(--gold-pale);
}
.service-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 18px;
  display: block;
}
.service-card h3 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--near-black);
  margin-bottom: 10px;
  line-height: 1.4;
}
.service-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   Team
   ============================================================ */
.team { background: var(--off-white); }
.team .container { max-width: 1460px; }
.team-slider { position: relative; }
.team-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
/* full team listing on team.html */
.team-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.team-page-grid .team-card { flex: none; }
@media (max-width: 1150px) {
  .team-page-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-bottom: 4px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.35);
  transition: background 0.2s, opacity 0.2s;
}
.team-nav:hover { background: var(--gold-text); }
.team-nav[disabled] { opacity: 0.3; cursor: default; }
.team-nav[disabled]:hover { background: var(--black); }
.team-prev { left: -23px; }
.team-next { right: -23px; }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-info {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
}
.team-info h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--near-black);
}
.team-role {
  color: var(--gold-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 4px 0 14px;
}
.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.team-contact a {
  color: var(--near-black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.team-contact .icon-inline { flex: none; }
.team-contact a:hover { color: var(--gold-text); }
.team-contact .icon-inline { stroke: var(--gold); }
.team-link {
  margin-top: auto;
  color: var(--near-black);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-link:hover { color: var(--gold-text); }

/* ============================================================
   Why / Locations / Map band
   ============================================================ */
.why-locations {
  display: grid;
  grid-template-columns: 45fr 34fr 21fr;
}

.why-panel {
  background: var(--black);
  color: var(--white);
  padding: 52px 44px;
}
.why-panel h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 38px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 20px;
}
.why-item { text-align: center; }
.why-item svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 12px;
  display: block;
}
.why-item p {
  font-size: 13.5px;
  line-height: 1.45;
  color: #eceae6;
}

.locations-panel {
  background: var(--white);
  padding: 52px 40px;
}
.locations-panel .section-title {
  font-size: 21px;
  margin-bottom: 34px;
  gap: 14px;
}
.locations-panel .section-title::before,
.locations-panel .section-title::after { width: 38px; }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.location h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--near-black);
  margin-bottom: 12px;
}
.location address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.location-line {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
}
.location-line a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.location-line a:hover { color: var(--gold-text); }
.location .btn { margin-top: 10px; }

.map-panel {
  background: #e9efe6;
  min-height: 100%;
}
.map-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews { background: var(--off-white); }
.reviews-row {
  display: flex;
  align-items: center;
  gap: 26px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex: 1;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 24px;
}
.stars {
  color: var(--gold-text);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.review-card p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}
.review-card footer {
  font-size: 13px;
  font-weight: 700;
  color: var(--near-black);
}
.reviews-more { flex: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  color: #d8d6d1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
}
.footer-brand .logo { margin-bottom: 22px; }
.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid #3a3a3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-links a:hover { border-color: var(--gold); background: rgba(176,141,63,0.12); }
.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
  stroke: var(--white);
  stroke-width: 2;
}
.social-links svg [fill="none"] { fill: none; }
.social-links svg .filled { fill: var(--white); stroke: none; }

.site-footer h3 {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { border-left: 1px solid #2c2c2f; padding-left: 48px; }
.footer-links-cols { display: flex; gap: 56px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #d8d6d1;
  text-decoration: none;
  font-size: 13.5px;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-connect { border-left: 1px solid #2c2c2f; padding-left: 48px; }
.footer-connect p { font-size: 13.5px; margin-bottom: 20px; }

.footer-bottom {
  border-top: 1px solid #2c2c2f;
  padding: 18px 0;
}
.footer-bottom p {
  font-size: 12px;
  color: #8b8a86;
  text-align: center;
}

/* ============================================================
   Resources page
   ============================================================ */
.page-hero {
  background: var(--off-white);
  text-align: center;
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 600;
  color: var(--near-black);
}
.page-hero .gold-rule { margin: 22px auto; }
.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.18);
  border-color: var(--gold-pale);
}
.resource-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 10px;
}
.resource-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.resource-card .team-link { margin-top: auto; }

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
}
.article:last-of-type { border-bottom: none; }
.article h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 8px;
}
.article .gold-rule { margin: 18px 0 24px; }
.article p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article ul {
  margin: 0 0 16px;
  padding-left: 24px;
}
.article li {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}
.article p a {
  color: var(--gold-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article p a:hover { color: var(--near-black); }
.article .back-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
}
.article .back-link:hover { color: var(--near-black); }
.resources-disclaimer {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1410px) {
  /* two team cards per slide */
  .team-card { flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 1150px) {
  /* one team card per slide */
  .team-card { flex-basis: 100%; }
  .team-slider { max-width: 640px; margin: 0 auto; }
  .team-prev { left: 10px; }
  .team-next { right: 10px; }
}

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .why-locations { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr; gap: 26px; }
  .locations-panel { padding: 44px 32px; }
  .map-panel { grid-column: 1 / -1; max-height: 320px; overflow: hidden; }
  .reviews-row { flex-direction: column; align-items: stretch; }
  .reviews-more { align-self: center; }
}

/* collapse the nav to a hamburger before links get crowded */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--near-black);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-top: 1px solid #2c2c2f;
    margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #26262a; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy {
    padding: 48px 24px;
    max-width: none;
    align-items: center;
    text-align: center;
  }
  .hero-copy .gold-rule { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo img { min-height: 300px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-locations { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  /* brand block left, quick links beside it on the right */
  .footer-inner { grid-template-columns: auto 1fr; gap: 32px 20px; }
  .footer-links, .footer-connect { border-left: none; padding-left: 0; }
  .footer-links { justify-self: end; }
  .footer-connect { grid-column: 1 / -1; }
  .logo-img-footer { height: 48px; }
  .footer-links-cols { gap: 28px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .why-panel { padding: 44px 24px; }
  .locations-panel { padding: 44px 24px; }
}

@media (max-width: 380px) {
  .team-contact a { font-size: 11.5px; }
  .location-line { font-size: 12px; }
}

/* compact phone hero: contact/team buttons visible without scrolling */
@media (max-width: 560px) {
  .site-header .logo-img { height: 46px; }
  .header-inner { height: 72px; }
  .site-nav { top: 72px; }
  [id] { scroll-margin-top: 100px; }
  .hero-copy { padding: 26px 24px 36px; }
  .hero h1 { font-size: 22px; }
  .hero-copy .gold-rule { margin: 14px auto; }
  .hero-copy p { font-size: 14px; line-height: 1.6; }
  .hero-p-more { display: none; }
  .hero-actions { margin-top: 22px; gap: 12px; }
  .hero-actions .btn { padding: 13px 20px; font-size: 12.5px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo img { max-height: 340px; }
  .section-title { font-size: 22px; gap: 12px; }
  .section-title::before, .section-title::after { width: 30px; }
}
