/* =========================================================
   Irish Carpentry, shared styles
   Heritage craftsman aesthetic. 18px minimum everywhere.
   ========================================================= */

:root {
  --green-deep: #1F4A2E;
  --green-emerald: #2D6A3F;
  --green-deepest: #16341F;
  --cream: #F5F1E8;
  --offwhite: #FAFAF7;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2A2A2A;
  --muted: #5C5C5C;
  --gold: #B8935A;
  --gold-soft: #D6B988;
  --line: rgba(26,26,26,0.12);
  --line-on-dark: rgba(245,241,232,0.18);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 1px 2px rgba(26,26,26,0.04), 0 12px 32px -12px rgba(26,26,26,0.12);
  --shadow-card-hover: 0 2px 4px rgba(26,26,26,0.06), 0 24px 48px -16px rgba(26,26,26,0.18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 18px;             /* HARD FLOOR */
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 500; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
h4 { font-size: 22px; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: var(--charcoal-soft);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-deepest); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .eyebrow::before { background: var(--gold-soft); }

/* Subtle wood-grain texture for content sections */
.section--texture {
  background-color: var(--cream);
  background-image:
    /* fine horizontal grain */
    repeating-linear-gradient(92deg, rgba(26,26,26,0.025) 0 1px, transparent 1px 6px),
    /* occasional broader grain band */
    repeating-linear-gradient(91deg, rgba(26,26,26,0.04) 0 1px, transparent 1px 64px),
    /* warm corner glow */
    radial-gradient(ellipse 70% 60% at 15% 10%, rgba(184,147,90,0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 95%, rgba(45,106,63,0.07), transparent 60%);
  position: relative;
}
.section--texture::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green-deep); color: var(--cream); }
.btn--primary:hover { background: var(--green-emerald); }

.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--cream); }

.btn--outline-cream { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-cream:hover { background: var(--cream); color: var(--green-deep); }

.btn--gold { background: var(--gold); color: #1A1308; }
.btn--gold:hover { background: var(--gold-soft); }

.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 19px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.brand__lockup {
  display: block;
  height: 150px;
  width: auto;
}
@media (max-width: 540px) {
  .brand__lockup { height: 72px; }
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 16px;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav__link:hover { color: var(--green-deep); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
}
.nav__phone {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-deep);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  position: relative;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad-x) 24px;
    box-shadow: var(--shadow-card);
  }
  .nav.is-open .nav__link {
    padding: 14px 4px;
    font-size: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__phone { padding: 14px 4px; font-size: 20px; }
  .nav.is-open .nav__cta { margin: 12px 0 0; }
}

/* Logo lockup colored cream (use on dark bgs) */
.logo-cream {
  display: block;
  height: auto;
  width: auto;
}
.page-head__logo {
  height: 78px;
  width: auto;
  margin: 0 auto 28px;
}
@media (max-width: 540px) {
  .page-head__logo { height: 56px; }
}
.footer__brand .brand__lockup { height: 56px; }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--cream);
  overflow: hidden;
  background: var(--green-deepest);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-image: url('hero-carpenter.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,52,31,0.78) 0%, rgba(22,52,31,0.92) 100%),
    linear-gradient(180deg, rgba(31,74,46,0.35) 0%, rgba(31,74,46,0.55) 100%);
  mix-blend-mode: multiply;
}
.hero__inner {
  padding: clamp(80px, 14vw, 180px) 0 clamp(80px, 12vw, 140px);
  max-width: 880px;
}
.hero h1 { color: var(--cream); }
.hero__sub {
  font-size: clamp(20px, 2.1vw, 24px);
  color: rgba(245,241,232,0.86);
  margin: 12px 0 36px;
  max-width: 56ch;
  line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Wood placeholder pattern (used for hero bg + image slots) */
.wood-bg {
  background-color: #2a1c12;
  background-image:
    repeating-linear-gradient(95deg,
      rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(92deg,
      rgba(0,0,0,0.18) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #3a2516 0%, #1f140b 100%);
}

/* ---------- Image placeholders ---------- */
.imgph {
  position: relative;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(26,26,26,0.04) 0 12px,
      rgba(26,26,26,0.08) 12px 24px),
    var(--cream);
  color: var(--charcoal-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.imgph__label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px;
  color: var(--charcoal-soft);
  background: var(--offwhite);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  max-width: 80%;
  text-align: center;
}
.imgph--wood {
  background:
    repeating-linear-gradient(95deg,
      rgba(255,255,255,0.03) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(92deg,
      rgba(0,0,0,0.18) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #3a2516 0%, #1f140b 100%);
}
.imgph--wood .imgph__label {
  background: rgba(245,241,232,0.92);
  border-color: rgba(0,0,0,0.2);
}
.imgph--portrait { aspect-ratio: 3/4; }
.imgph--square { aspect-ratio: 1/1; }
.imgph--wide { aspect-ratio: 16/9; }
.imgph--tall { aspect-ratio: 2/3; }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--green-deep);
  color: var(--cream);
  border-bottom: 1px solid var(--green-deepest);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px var(--pad-x);
  border-left: 1px solid rgba(245,241,232,0.14);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust__item:first-child { border-left: 0; }
.trust__icon {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--gold-soft);
}
@media (max-width: 720px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { border-left: 0; border-top: 1px solid rgba(245,241,232,0.12); padding: 16px var(--pad-x); }
  .trust__item:first-child, .trust__item:nth-child(2) { border-top: 0; }
}

/* ---------- Section heading ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 20px; }

/* ---------- Service cards (photo-led) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold);
}
.service-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background:
    repeating-linear-gradient(95deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(92deg, rgba(0,0,0,0.18) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #3a2516 0%, #1f140b 100%);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__media-label {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(245,241,232,0.92);
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px;
  color: var(--charcoal-soft);
}
.service-card__media-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(22,52,31,0.92);
  color: var(--gold-soft);
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.service-card__body {
  padding: 26px 26px 28px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}
.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}
.service-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  color: var(--green-deep);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px;
}
.service-card__more::after {
  content: "→";
  transition: transform .2s ease;
}
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* ---------- About snippet (two-col) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Quote form ---------- */
.quote {
  background: var(--cream);
  position: relative;
}
.quote__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .quote__grid { grid-template-columns: 1fr; }
}
.form {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 18px; }
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .field--row { grid-template-columns: 1fr; }
}
.label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.label .req { color: var(--gold); margin-left: 4px; }
.input, .select, .textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  background: var(--offwhite);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  min-height: 52px;
  transition: border-color .15s ease, background .15s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--charcoal) 50%),
  linear-gradient(135deg, var(--charcoal) 50%, transparent 50%);
  background-position: right 22px top 22px, right 16px top 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--green-deep);
  outline: none;
  background: #fff;
}
.input.invalid, .select.invalid, .textarea.invalid {
  border-color: #B23A2E;
  background: #fdf4f3;
}
.field__err {
  display: none;
  margin-top: 6px;
  font-size: 18px;
  color: #B23A2E;
}
.field.is-invalid .field__err { display: block; }

.drop-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed var(--gold);
  background: rgba(184,147,90,0.06);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  min-height: 200px;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.drop:hover, .drop:focus-within, .drop.is-drag {
  background: rgba(184,147,90,0.14);
  border-color: var(--green-deep);
}
.drop.is-drag { transform: scale(1.005); }
.drop__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green-deep);
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  margin-bottom: 4px;
}
.drop__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.drop__hint { font-size: 18px; color: var(--muted); margin: 0; }
.drop__pill {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 600;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background .15s ease;
}
.drop:hover .drop__pill, .drop.is-drag .drop__pill { background: var(--green-emerald); }
.drop input[type=file] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.drop__previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.drop__previews:empty { display: none; }
.drop__thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}
.drop__thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop__thumb button {
  position: absolute; top: 4px; right: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(26,26,26,0.85);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid; place-items: center;
}

.direct {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.direct__label { font-size: 18px; color: var(--muted); }
.direct a {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.direct a:hover { color: var(--green-emerald); }

.form-success {
  display: none;
  padding: 24px;
  background: rgba(45,106,63,0.08);
  border: 1px solid var(--green-emerald);
  border-radius: var(--radius-md);
  color: var(--green-deepest);
  font-size: 19px;
  margin-bottom: 16px;
}
.form-success.is-shown { display: block; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.tcard {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 16px;
}
.tcard::before {
  content: "“";
  position: absolute;
  top: 8px; right: 22px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.tcard__stars { color: var(--gold); letter-spacing: 4px; font-size: 20px; }
.tcard__quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--charcoal);
  margin: 0;
  font-style: italic;
}
.tcard__who {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.tcard__name { font-weight: 600; font-size: 18px; }
.tcard__loc  { color: var(--muted); font-size: 18px; }
.tcard__placeholder {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  background: var(--cream);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, Menlo, monospace;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
  isolation: isolate;
}
.final-cta h2 { color: var(--cream); max-width: 24ch; margin: 0 auto 28px; }
.final-cta .lead { color: rgba(245,241,232,0.84); margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.knot-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  padding: 40px 0 0;
}
.knot-divider::before, .knot-divider::after {
  content: "";
  height: 1px;
  background: var(--gold);
  flex: 1;
  max-width: 180px;
  opacity: 0.6;
}
.knot-divider svg { color: var(--gold); }

.site-footer {
  background: var(--green-deepest);
  color: rgba(245,241,232,0.85);
  padding: 56px 0 32px;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 16px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer__brand p { margin-top: 16px; color: rgba(245,241,232,0.7); font-size: 18px; max-width: 38ch; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { font-size: 18px; color: rgba(245,241,232,0.85); }
.footer__list a:hover { color: var(--gold-soft); }
.footer__contact { font-size: 18px; line-height: 1.6; }
.footer__contact a { color: rgba(245,241,232,0.85); display: inline-flex; align-items: center; gap: 8px; }
.footer__contact a:hover { color: var(--gold-soft); }
.footer__contact div + div { margin-top: 10px; }

.legal {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(245,241,232,0.5);
  font-size: 18px;
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--green-deepest);
  border-top: 1px solid var(--gold);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar .btn { flex: 1; min-height: 52px; font-size: 18px; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 88px; }
}

/* ---------- Pillars (about) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pillar__num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.pillar h3 { font-size: 24px; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; font-size: 18px; }

/* ---------- Service detail (services page) ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-detail:last-child { border-bottom: 0; }
.svc-detail--flip > .svc-detail__media { order: -1; }
@media (max-width: 820px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail--flip > .svc-detail__media { order: 0; }
}
.svc-detail h2 { margin-bottom: 18px; }
.svc-detail__list { padding-left: 0; list-style: none; margin: 18px 0 26px; }
.svc-detail__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 18px;
}
.svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 14px; height: 1px;
  background: var(--gold);
}

/* ---------- Service nav anchors (services page) ---------- */
.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 8px;
}
.svc-nav a {
  font-size: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--offwhite);
  transition: all .15s ease;
}
.svc-nav a:hover { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }

/* ---------- Contact page ---------- */
.contact-info {
  display: flex; flex-direction: column; gap: 20px;
}
.cinfo {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 88px;
}
.cinfo__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 12px;
  display: grid; place-items: center;
}
.cinfo__label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cinfo__value {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--charcoal);
}
.cinfo a.cinfo__value:hover { color: var(--green-deep); }

.mapbox {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 420px;
  position: relative;
  overflow: hidden;
}
.mapbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Service area chips (about) ---------- */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-chip {
  font-size: 18px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(184,147,90,0.06);
  color: var(--charcoal);
}

/* ---------- Page header (non-home pages) ---------- */
.page-head {
  background:
    linear-gradient(180deg, rgba(22,52,31,0.78) 0%, rgba(22,52,31,0.92) 100%),
    url('page-head-bg.jpeg') center / cover no-repeat;
  background-color: var(--green-deepest);
  color: var(--cream);
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 9vw, 100px);
  text-align: center;
  position: relative;
  isolation: isolate;
}
.page-head .eyebrow { color: var(--gold-soft); }
.page-head .eyebrow::before { background: var(--gold-soft); }
.page-head h1 { color: var(--cream); margin-bottom: 12px; }
.page-head p { color: rgba(245,241,232,0.88); font-size: 22px; margin: 0 auto; max-width: 60ch; }
