/* Hayden Millwork — brand styles */
:root {
  --green: #2B6D50;
  --green-dark: #1B4332;
  --green-deeper: #122B21;
  --cream: #F5F1E8;
  --cream-dark: #E8E0D0;
  --wood: #A67C52;
  --wood-light: #C4A574;
  --ink: #1A1A1A;
  --ink-soft: #3D3D3D;
  --muted: #6B6B6B;
  --white: #FFFFFF;
  --max: 1120px;
  --radius: 4px;
  --shadow: 0 8px 28px rgba(18, 43, 33, 0.12);
  --font-display: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 0.65rem;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.nav-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

.nav-cta {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--green) !important;
  color: var(--white) !important;
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-light {
  background: var(--cream);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--green-deeper) center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 43, 33, 0.88) 0%,
    rgba(18, 43, 33, 0.55) 48%,
    rgba(18, 43, 33, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: rgba(245, 241, 232, 0.92);
  margin-bottom: 0.25rem;
}

.hero .eyebrow { color: var(--wood-light); }

.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 3.25rem 0 2.75rem;
}

.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(245, 241, 232, 0.88); max-width: 560px; }
.page-hero .eyebrow { color: var(--wood-light); }

/* —— Sections —— */
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section-green {
  background: var(--green-dark);
  color: var(--white);
}
.section-green h2,
.section-green h3 { color: var(--white); }
.section-green p { color: rgba(245, 241, 232, 0.88); }
.section-green .eyebrow { color: var(--wood-light); }

.section-intro {
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 280px;
  max-height: 420px;
}

/* —— Cards / grids —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(18, 43, 33, 0.08);
  border: 1px solid rgba(27, 67, 50, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card a.card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.card-more {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: auto;
}

.product-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.product-block:nth-child(even) .product-copy { order: 2; }
.product-block:nth-child(even) .product-media { order: 1; }

.product-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 380px;
  object-fit: cover;
}

.product-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.feature-tile {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-tile .card-img { aspect-ratio: 16 / 11; }
.feature-tile .card-body { background: var(--white); }

/* —— Photo strip —— */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.photo-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--green);
  box-shadow: 0 2px 10px rgba(18, 43, 33, 0.06);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--wood);
  margin-bottom: 0.65rem;
}

/* —— Contact block —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}

.contact-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  margin-top: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-card dt:first-child { margin-top: 0; }

.contact-card dd {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 600;
}

.contact-card a:hover { color: var(--green); }

.map-note {
  background: var(--cream);
  border: 1px dashed var(--cream-dark);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.map-note a { font-weight: 700; }

/* —— About list —— */
.serve-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
  margin-top: 1.25rem;
}

.serve-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.serve-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 1px;
}

/* —— Footer —— */
.site-footer {
  background: var(--green-deeper);
  color: rgba(245, 241, 232, 0.85);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.site-footer h3 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.site-footer p,
.site-footer li {
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.78);
  line-height: 1.55;
}

.site-footer a {
  color: rgba(245, 241, 232, 0.9);
}

.site-footer a:hover { color: var(--wood-light); }

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(245, 241, 232, 0.55);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .card-grid,
  .card-grid-4,
  .steps,
  .photo-strip,
  .split,
  .product-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .product-block:nth-child(even) .product-copy,
  .product-block:nth-child(even) .product-media { order: initial; }
  .photo-strip img { height: 150px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.is-open { max-height: 360px; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }

  .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
    border-bottom: none !important;
  }

  .card-grid,
  .card-grid-2,
  .card-grid-4,
  .steps,
  .photo-strip,
  .split,
  .product-block,
  .contact-grid,
  .footer-grid,
  .serve-list {
    grid-template-columns: 1fr;
  }

  .hero-content { padding: 3.5rem 0 2.75rem; }
  .section { padding: 3rem 0; }
  .photo-strip img { height: 200px; }
}

/* —— Print —— */
@media print {
  .site-header, .nav-toggle, .btn-row { break-inside: avoid; }
  .hero { min-height: auto; padding: 2rem 0; }
  .site-footer { color: #000; background: #fff; }
  a { color: #000; }
}

.hero .hero-tagline { color: var(--wood-light); font-size: clamp(1.6rem, 3.6vw, 2.75rem); line-height: 1.2; margin-bottom: 1rem; }
.hero .hero-sub { color: #F5F1E8; font-family: "Libre Baskerville", serif; font-size: clamp(1.25rem, 2.4vw, 1.9rem); margin: 0 0 1.25rem; }
.section-sub { font-family: "Libre Baskerville", serif; font-size: 1.25rem; color: var(--green, #2F4A3A); margin: -0.25rem 0 1rem; }

/* refreshed hero headline 2026-10-15 */
.hero .hero-tagline { font-family: "Libre Baskerville", Georgia, serif; font-weight: 700; color: #F5F1E8; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; letter-spacing: 0.01em; text-shadow: 0 2px 18px rgba(0,0,0,.35); margin-bottom: 1.1rem; }
.hero .hero-tagline .dot { color: var(--wood-light); padding: 0 .15em; }
.hero .hero-tagline::after { content: ""; display: block; width: 90px; height: 3px; margin-top: 1rem; background: var(--wood-light); border-radius: 2px; }
.hero .hero-tagline .accent { color: var(--wood-light); font-style: italic; font-weight: 400; }

/* Custom page polish */
.custom-head { text-align:center; max-width:760px; margin-inline:auto; padding-top:1rem; }
.custom-head .hero-tagline::after { margin-inline:auto; }
.custom-head .lead { color:#4a4a4a; }
.supply-note { text-align:center; max-width:720px; margin:0 auto 2.5rem; }
.supply-note p { font-family:Georgia,serif; font-style:italic; font-size:1.25rem; color:var(--green-dark); border-top:1px solid #C9A961; border-bottom:1px solid #C9A961; padding:1.1rem 0; margin:0; }
.steps .step { background:#fff; border:1px solid var(--cream-dark); border-top:4px solid var(--green); border-radius:6px; padding:1.75rem 1.5rem; box-shadow:0 6px 18px rgba(0,0,0,.06); position:relative; }
.step-num { display:inline-block; font-family:Georgia,serif; font-size:2rem; font-weight:700; color:#C9A961; line-height:1; margin-bottom:.5rem; }
.custom-head .hero-tagline { font-family:"Libre Baskerville",Georgia,serif; font-weight:700; color:var(--green-dark); font-size:clamp(2rem,4.4vw,3.2rem); line-height:1.15; margin-bottom:1.1rem; }
.custom-head .hero-tagline .accent { color:var(--wood-light,#C9A961); font-style:italic; font-weight:400; }
.custom-head .hero-tagline::after { content:""; display:block; width:90px; height:3px; margin:1rem auto 0; background:var(--wood-light,#C9A961); border-radius:2px; }
.steps .step::before { color:#C9A961; font-weight:700; font-size:2rem; }
