/* T&T Carpentry & Handyman Services LLC — shared styles
   Direction: heritage trade. Dark forest green + warm walnut. Slab serif display. */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&display=swap');

:root {
  /* palette — forest + walnut, locked one accent (walnut) */
  --forest:        #16241d;   /* page base, deep green near-black */
  --forest-800:    #1d2f26;   /* raised surface */
  --forest-700:    #26402f;   /* hairline / border */
  --bone:          #ece4d4;   /* primary text */
  --bone-dim:      #b9b3a4;   /* secondary text */
  --walnut:        #b07a45;   /* accent — single, used sparingly */
  --walnut-deep:   #8a5c30;   /* accent pressed */
  --walnut-soft:   #d9b489;   /* accent on dark, hover */

  --font-display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 4px;            /* one corner system: near-sharp, trade-honest */
  --space-section: clamp(4rem, 3rem + 6vw, 8rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--forest);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--walnut); color: #1a1208; }
.btn-primary:hover { background: var(--walnut-soft); }
.btn-ghost { border-color: var(--forest-700); color: var(--bone); }
.btn-ghost:hover { border-color: var(--walnut); color: var(--walnut-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--forest) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--forest-700);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand .mark { color: var(--walnut); }
.brand .tld { font-size: 0.7rem; font-weight: 500; color: var(--bone-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.98rem; color: var(--bone-dim); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--bone); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--forest) 30%, color-mix(in oklab, var(--forest) 72%, transparent) 62%, color-mix(in oklab, var(--forest) 35%, transparent) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(3rem, 8vw, 6rem) 0; max-width: 660px; }
.eyebrow { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--walnut-soft); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem); font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--walnut-soft); line-height: 1.1; }
.hero .lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--bone-dim); max-width: 52ch; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--forest-700); background: var(--forest-800); }
.trust-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); padding: 1.6rem 0; align-items: center; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; }
.trust-item .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--bone); }
.trust-item .label { font-size: 0.9rem; color: var(--bone-dim); line-height: 1.25; }
.stars { color: var(--walnut); letter-spacing: 2px; font-size: 1.05rem; }

/* ---------- generic section ---------- */
section.band { padding: var(--space-section) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.section-head p { margin-top: 1rem; color: var(--bone-dim); }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card { background: var(--forest-800); border: 1px solid var(--forest-700); border-radius: var(--radius); padding: 1.8rem; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.svc-card:hover { border-color: var(--walnut); transform: translateY(-3px); }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 0.6rem; }
.svc-card p { color: var(--bone-dim); font-size: 0.97rem; }
.svc-card .tag { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--walnut-soft); display: block; margin-bottom: 0.9rem; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius); }
.split h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.checklist { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--bone-dim); }
.checklist li::before { content: '✓'; color: var(--walnut); font-weight: 700; font-family: var(--font-display); }
.checklist li strong { color: var(--bone); font-weight: 600; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { background: var(--forest-800); border: 1px solid var(--forest-700); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.review .stars { font-size: 1rem; }
.review blockquote { font-size: 1.02rem; line-height: 1.55; }
.review .who { font-size: 0.9rem; color: var(--bone-dim); margin-top: auto; }
.review .who strong { color: var(--bone); display: block; font-family: var(--font-display); }

/* ---------- big CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest-800); border-top: 1px solid var(--forest-700); border-bottom: 1px solid var(--forest-700); }
.cta-band .wrap { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; }
.cta-band h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); max-width: 18ch; margin: 0 auto; }
.cta-band p { margin: 1.1rem auto 2rem; color: var(--bone-dim); max-width: 46ch; }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--forest-700); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); font-weight: 700; }
.page-hero p { margin-top: 1.1rem; color: var(--bone-dim); max-width: 56ch; font-size: 1.1rem; }

/* ---------- detail service rows ---------- */
.svc-detail { display: grid; gap: 1.5rem; }
.svc-row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem; background: var(--forest-800); border: 1px solid var(--forest-700); border-radius: var(--radius); }
.svc-row h3 { font-size: 1.5rem; color: var(--walnut-soft); }
.svc-row ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; margin-top: 0.4rem; }
.svc-row li { color: var(--bone-dim); display: flex; gap: 0.5rem; }
.svc-row li::before { content: '—'; color: var(--walnut); }
.svc-row p { color: var(--bone-dim); }

/* ---------- about ---------- */
.about-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-split img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 600px; }
.stat-row { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--forest-700); }
.stat .n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--walnut-soft); }
.stat .l { font-size: 0.9rem; color: var(--bone-dim); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--forest-800); border: 1px solid var(--forest-700); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); }
.info-list { list-style: none; display: grid; gap: 1.5rem; }
.info-list dt { font-family: var(--font-display); font-weight: 600; color: var(--walnut-soft); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.info-list dd { color: var(--bone); font-size: 1.05rem; }
.info-list dd span { color: var(--bone-dim); font-size: 0.95rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--forest-700); color: var(--bone-dim); }
.hours-table td:last-child { text-align: right; color: var(--bone); }
.hours-table tr.closed td:last-child { color: var(--bone-dim); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--forest-700); background: var(--forest-800); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.foot-grid a { display: block; color: var(--bone-dim); padding: 0.3rem 0; transition: color 0.2s; }
.foot-grid a:hover { color: var(--walnut-soft); }
.foot-grid .brand { margin-bottom: 0.8rem; }
.foot-grid .blurb { color: var(--bone-dim); font-size: 0.95rem; max-width: 34ch; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--forest-700); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--bone-dim); font-size: 0.85rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .svc-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .split, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .svc-row { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest-800); border-bottom: 1px solid var(--forest-700); padding: 0.5rem 0; transform: translateY(-130%); transition: transform 0.3s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem); border-top: 1px solid var(--forest-700); }
  .nav-links .nav-cta { margin: 0.6rem clamp(1.25rem, 4vw, 2.5rem); }
  .nav-toggle { display: block; }
  .svc-grid, .reviews-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-row ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card:hover { transform: none; }
}
