/* Customer theme tokens. Names kept stable for Builder scripts:
   --navy is the main dark (walnut), --mint is the accent (oak). */
:root {
  --navy: #5B3A29;
  --mint: #B07A4A;
  --muted: #5E544B;
  --forest: #3F5A4A;
  --forest-dark: #2F4538;
  --surface: #F6F0E6;
  --surface-alt: #EFE6D8;
  --card: #FFFCF7;
  --ink: #2B2B2B;
  --border: #E2D6C4;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(91, 58, 41, 0.08);
  --font: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --container: 70rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}

.brand-place {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.header-call {
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
}

.call-long {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-alt);
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--forest);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--forest-dark);
  color: #fff;
}

.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4.5rem 0 4rem;
  min-height: 30rem;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 24, 16, 0.86) 0%, rgba(38, 24, 16, 0.74) 55%, rgba(38, 24, 16, 0.5) 100%);
}

.hero-inner {
  position: relative;
}

.hero-inner > * {
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F1DEC6;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  color: #fff;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.2rem;
  color: #F6F0E6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Trust strip */
.trust {
  background: var(--navy);
  color: #F6F0E6;
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0.85rem 0;
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.star {
  color: #E9B872;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head h2,
.review-wrap h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

/* Services */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--mint);
  border-radius: 4px 4px var(--radius) var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

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

.after-cards {
  margin: 1.75rem 0 0;
  font-weight: 600;
}

/* Work band */
.work-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.work-card:hover .work-media img {
  transform: scale(1.04);
}

.work-label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.6rem 0.8rem;
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
  background: var(--card);
}

/* Review */
.review-wrap {
  max-width: 46rem;
  text-align: center;
}

.review {
  margin: 1.25rem 0 0;
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review blockquote {
  margin: 0;
}

.review blockquote p {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}

.review figcaption {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.review-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.2rem 1.25rem 1.2rem 4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}

.steps strong {
  color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.project-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #CDBDA6;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(63, 90, 74, 0.35);
  outline-offset: 1px;
  border-color: var(--forest);
}

.project-form .btn {
  justify-self: start;
}

.form-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  font-weight: 600;
}

.info-block {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--mint);
  border-radius: 4px 4px var(--radius) var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.info-block p,
.info-block address {
  margin: 0 0 0.6rem;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.info-block a {
  font-weight: 700;
}

address {
  font-style: normal;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2.75rem;
  background: var(--navy);
  color: #F6F0E6;
}

.site-footer a {
  color: #F3D9B8;
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 0.3rem;
}

.footer-inner p {
  margin: 0;
}

.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-copy {
  margin-top: 0.75rem !important;
  color: #E4D4C0;
  font-size: 0.95rem;
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 560px) {
  .call-long {
    display: inline;
  }

  .call-short {
    display: none;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .header-actions {
    gap: 1rem;
  }

  .site-nav {
    display: block;
    position: static;
    inset: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.5rem 0.7rem;
  }
}

@media (min-width: 768px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 34rem;
  }

  .trust-list {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }

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

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }

  .info-block {
    margin-top: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work-media img {
    transition: none;
  }

  .work-card:hover .work-media img {
    transform: none;
  }
}

/* Built by WebGen logo mark: in page flow under the footer below 1200px, fixed faint corner mark at 1200px and wider. */
.webgen-mark {
  display: block;
  width: max-content;
  margin: 0 0 0 auto;
  padding: 0.6rem 1rem 0.9rem;
  line-height: 0;
  opacity: 0.4;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.webgen-mark img {
  display: block;
  height: 28px;
  width: auto;
  background: transparent;
}

.webgen-mark:hover,
.webgen-mark:focus-visible {
  opacity: 0.9;
}

@media (min-width: 1200px) {
  .webgen-mark {
    position: fixed;
    right: 0.75rem;
    bottom: 0.6rem;
    z-index: 90;
    margin: 0;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webgen-mark {
    transition: none;
  }
}

a[href^="tel:"] {
  white-space: nowrap;
}
