/* ==========================================================================
   Timberlane & Co
   Palette: deep pine + warm parchment neutrals
   ========================================================================== */

:root {
  --pine-900: #16302416;   /* used via rgba below */
  --pine:     #1f3d2f;
  --pine-dark:#16302a;
  --pine-deep:#122a20;
  --moss:     #3d6b52;
  --sage:     #6f8f7c;
  --parchment:#f6f2e9;
  --paper:    #fbf9f4;
  --sand:     #e8dfce;
  --ink:      #20261f;
  --ink-soft: #55604f;
  --line:     #e2dccd;
  --gold:     #b08d4c;

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 42, 32, 0.05), 0 12px 30px rgba(18, 42, 32, 0.06);
  --shadow-sm: 0 1px 2px rgba(18, 42, 32, 0.05), 0 6px 16px rgba(18, 42, 32, 0.05);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--sand); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--pine);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(31, 61, 47, 0.22);
}
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--sage);
}
.btn-ghost:hover { background: rgba(111, 143, 124, 0.12); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 9px;
  background: var(--pine);
  color: var(--sand);
  border-radius: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand-name.small { font-size: 1.08rem; }
.amp { color: var(--gold); font-style: italic; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(111, 143, 124, 0.1); }
.nav-cta {
  color: var(--pine) !important;
  font-weight: 600 !important;
  border: 1px solid var(--line);
}
.nav-cta:hover { border-color: var(--sage); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(111, 143, 124, 0.18), transparent 60%),
    radial-gradient(760px 420px at 8% 6%, rgba(176, 141, 76, 0.10), transparent 60%),
    var(--parchment);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner { max-width: 860px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem);
  margin-bottom: 22px;
}
.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pine);
}
.hero-stats span {
  font-size: 0.86rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* --- Section heads --- */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* --- Services --- */
.services { padding: clamp(72px, 10vw, 116px) 0; }

.focus { margin-bottom: 72px; }
.focus:last-child { margin-bottom: 0; }
.focus-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.focus-tag {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  transform: translateY(-2px);
}
.focus-intro {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin: 18px 0 34px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sage);
}
.card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* --- About --- */
.about {
  padding: clamp(72px, 10vw, 116px) 0;
  background: var(--parchment);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  margin-bottom: 22px;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 18px;
  max-width: 560px;
}
.about-points {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.about-points li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.about-points li:first-child { padding-top: 0; }
.about-points li:last-child { border-bottom: none; }
.about-points li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 3px;
  background: var(--moss);
  transform: rotate(45deg);
}

/* --- Contact --- */
.contact {
  padding: clamp(80px, 11vw, 128px) 0;
  background:
    radial-gradient(900px 440px at 82% 120%, rgba(111, 143, 124, 0.22), transparent 60%),
    var(--pine);
  color: var(--paper);
  text-align: center;
}
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}
.contact-sub {
  color: rgba(246, 242, 233, 0.82);
  font-size: 1.1rem;
  margin-bottom: 34px;
}
.contact .btn-primary {
  background: var(--sand);
  color: var(--pine-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.contact .btn-primary:hover { background: #f2ecdd; }
.contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(246, 242, 233, 0.6);
}

/* --- Footer --- */
.site-footer {
  background: var(--pine-deep);
  color: rgba(246, 242, 233, 0.75);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.site-footer .brand-name { color: var(--parchment); }
.footer-meta { font-size: 0.94rem; }
.footer-copy { font-size: 0.85rem; color: rgba(246, 242, 233, 0.55); }

/* --- Responsive --- */
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-stats { gap: 28px; }
  .header-inner { height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
