/* T4 Automation — source theme. Copied to site/styles.css by the generator. */

:root {
  --paper: #f3f0e8;
  --paper-2: #e6e1d5;
  --card: #fbfaf5;
  --ink: #161b17;
  --muted: #5a605a;
  --rule: #d3cec2;
  --forest: #1c3126;
  --forest-2: #122019;
  --leaf: #2c4a38;
  --brass: #8f6a32;
  --brass-2: #6e5126;
  --cream: #f3f0e8;
  --focus: #c9a45a;
  --shadow: 0 1px 0 rgba(22, 27, 23, 0.04), 0 10px 30px rgba(22, 27, 23, 0.06);
  --sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --max: 68rem;
  --well: 40rem;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

a {
  color: var(--brass-2);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.25rem));
  margin-inline: auto;
}

.well {
  width: min(var(--well), calc(100% - 2.25rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--forest);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 240, 232, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand:hover { color: var(--cream); }

.mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  line-height: 1;
  border-radius: 4px;
  flex: 0 0 auto;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
}

.nav a {
  color: rgba(243, 240, 232, 0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cream);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brass);
}

.header-phone {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-phone:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 760px) {
  .site-header .bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 0.65rem;
    padding: 0.75rem 0 0.85rem;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .header-actions { display: contents; }
  .header-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0.2rem 1.05rem;
  }
  .wordmark { letter-spacing: 0.1em; }
}

/* Hero */

.hero {
  background:
    linear-gradient(180deg, rgba(18, 32, 25, 0.16), transparent 42%),
    radial-gradient(900px 320px at 88% -10%, rgba(143, 106, 50, 0.16), transparent 55%),
    var(--paper);
  padding: 3.4rem 0 3rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(to right, rgba(28, 49, 38, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 49, 38, 0.07) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

.hero .wrap { position: relative; }

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.05rem, 5.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 16ch;
  color: var(--forest-2);
}

.page-hero h1 { max-width: none; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  border-radius: 6px;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--forest);
  line-height: 1.2;
}

.btn:hover {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}

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

.btn.secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn[aria-disabled="true"],
.btn:disabled,
button.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Facts */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.45rem;
  margin: 1.85rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

/* Sections */

.section { padding: 3rem 0; }

.section + .section {
  border-top: 1px solid var(--rule);
}

.section h2,
.content h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  color: var(--forest-2);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.section-head p,
.intro {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.section-link {
  font-weight: 650;
  text-decoration: none;
  color: var(--forest);
  white-space: nowrap;
}

.section-link:hover { color: var(--brass-2); }

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
}

a.card:hover {
  border-color: var(--brass);
  color: inherit;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--forest-2);
}

.card p { margin: 0; color: var(--muted); flex: 1; }

.card .go {
  margin-top: 0.95rem;
  font-weight: 650;
  color: var(--brass-2);
  font-size: 0.95rem;
}

/* About teaser / split */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
}

.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}

.panel h2 { margin-top: 0; }


.creds {
  list-style: none;
  margin: 0;
  padding: 0;
}

.creds li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.creds li:last-child { border-bottom: 0; }

/* CTA band */

.cta {
  background: var(--forest);
  color: var(--cream);
  padding: 2.6rem 0;
}

.cta h2 {
  font-family: var(--serif);
  color: #fff;
  margin: 0 0 0.55rem;
}

.cta p {
  margin: 0 0 1.15rem;
  color: rgba(243, 240, 232, 0.82);
  max-width: 36rem;
}

.cta .btn {
  background: var(--cream);
  color: var(--forest-2);
  border-color: var(--cream);
}

.cta .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.cta a.phone-inline {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.45);
}

.cta a.phone-inline:hover { box-shadow: inset 0 -1px 0 #fff; }

/* Interior pages */

.page-hero {
  padding: 2.5rem 0 0.4rem;
}

.page-hero .lede { margin-bottom: 0; }

.content {
  padding: 1.25rem 0 3rem;
}

.content p { max-width: 42rem; }

.content p + p { margin-top: 1rem; }

.service-list {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.service {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
}

.service h2 {
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

.service p { margin: 0; color: var(--muted); max-width: 44rem; }

.service p + p { margin-top: 0.7rem; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.75rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem 1rem;
}

@media (max-width: 520px) {
  .contact-dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .contact-dl dt { margin-top: 0.7rem; }
  .contact-dl dt:first-child { margin-top: 0; }
}

.contact-dl dt {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}

.contact-dl dd { margin: 0; }

.contact-dl a {
  color: var(--forest);
  font-weight: 650;
  text-decoration: none;
  font-size: 1.15rem;
}

.contact-dl a:hover { color: var(--brass-2); }

.placeholder {
  display: inline-block;
  color: var(--muted);
  font-style: normal;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-card h2 { font-size: 1.25rem; }

label.field {
  display: block;
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--forest);
}

label.field span { display: block; margin-bottom: 0.3rem; }

.hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

textarea { min-height: 8rem; resize: vertical; }

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.3rem 0 1rem;
}

.form-status {
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  padding: 0.7rem 0.85rem;
  color: var(--ink);
}

.form-status[hidden] { display: none; }

/* Footer */

.site-footer {
  background: var(--forest-2);
  color: rgba(243, 240, 232, 0.78);
  padding: 2.1rem 0 2.4rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

.site-footer .brand { margin-bottom: 0.65rem; }

.site-footer p { margin: 0.35rem 0; }

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.55);
  margin: 0 0 0.55rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.site-footer .placeholder {
  background: rgba(243, 240, 232, 0.12);
  color: rgba(243, 240, 232, 0.9);
}

.legal {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(243, 240, 232, 0.1);
  font-size: 0.88rem;
  color: rgba(243, 240, 232, 0.58);
}

/* 404 */

.not-found {
  padding: 4.5rem 0 5rem;
}

.not-found h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}
