/* Anchored Solutions LLC — shared styles
   Mobile-first, rugged / earthy, lead-generation site */

@font-face {
  font-family: "Tektur";
  src: url("../fonts/Tektur-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1612;
  --ink-soft: #2a231c;
  --earth: #5c4330;
  --earth-deep: #3a2b1e;
  --tan: #c9a66b;
  --tan-hot: #e0c48a;
  --tan-dim: #a4854a;
  --cream: #f4efe6;
  --cream-dim: #e7dfd0;
  --paper: #faf7f1;
  --muted: #8a7f70;
  --muted-light: #b9ae9e;
  --rust: #a85a32;
  --forest: #3f4a32;
  --line: rgba(201, 166, 107, 0.35);
  --danger: #9b2e1e;
  --ok: #3f4a32;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --header: "Tektur", "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Outfit", "Source Sans Pro", "Segoe UI", sans-serif;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

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

a {
  color: var(--earth-deep);
  text-underline-offset: 0.15em;
}

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

:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--tan);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ---------- Hamburger + nav ---------- */

.menu-toggle {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 120;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 166, 107, 0.55);
  background: rgba(26, 22, 18, 0.72);
  backdrop-filter: blur(8px);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border-radius: 2px;
}

.menu-toggle:hover {
  background: rgba(26, 22, 18, 0.92);
  border-color: var(--tan);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 15, 12, 0.97);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}

body.nav-open .site-nav {
  transform: translateX(0);
  visibility: visible;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--header);
  font-weight: 650;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(201, 166, 107, 0.18);
  display: block;
  max-width: 28rem;
}

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

.site-nav .nav-sub {
  font-size: clamp(1.15rem, 3.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-left: 0.15rem;
  opacity: 0.9;
}

.site-nav p {
  margin: 2rem 0 0;
  color: var(--muted-light);
  font-size: 0.95rem;
  max-width: 22rem;
}

.site-nav p a {
  display: inline;
  font-family: var(--body);
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  padding: 0;
  color: var(--tan);
}


.site-nav .nav-brand {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: block;
  max-width: 7.5rem;
  padding: 0;
  border: 0;
  line-height: 0;
}

.site-nav .nav-brand img {
  width: 7.5rem;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.site-logo {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 5;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--header);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--tan);
  background: var(--tan);
  color: var(--ink);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1;
}

.btn:hover {
  background: var(--tan-hot);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(201, 166, 107, 0.15);
  color: var(--tan-hot);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--earth-deep);
  color: var(--cream);
}

/* ---------- Splash (home) ---------- */

.splash {
  min-height: 100svh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  position: relative;
}

.splash-panels {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100svh;
  position: relative;
}

.splash-panel {
  position: relative;
  z-index: 1;
  flex: 1 1 42svh;
  min-height: 42svh;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.splash-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.splash-panel:hover img,
.splash-panel:focus-visible img {
  transform: scale(1.045);
}

.splash-panel:active img {
  transform: scale(1.02);
  transition-duration: 0.15s;
}

.splash-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 244, 214, 0);
  transition: background 0.35s ease;
}

.splash-panel:hover::after,
.splash-panel:focus-visible::after {
  background: rgba(255, 244, 214, 0.08);
}

.splash-panel:active::after {
  background: rgba(16, 12, 9, 0.12);
}

.splash-left img {
  object-position: 55% 50%;
}

.splash-right img {
  object-position: 50% 62%;
}

.splash-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16, 12, 9, 0.82) 0%, rgba(16, 12, 9, 0.2) 48%, rgba(16, 12, 9, 0.35) 100%),
    linear-gradient(to right, rgba(16, 12, 9, 0.25), transparent 30%, transparent 70%, rgba(16, 12, 9, 0.25));
  pointer-events: none;
}

.splash-label {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.25rem 1.5rem;
  width: 100%;
  font-family: var(--header);
  font-weight: 700;
  font-size: clamp(1.7rem, 6vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.splash-label small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
}

.splash-panel:hover .splash-label,
.splash-panel:focus-visible .splash-label {
  color: var(--tan-hot);
}

.splash-center {
  position: relative;
  z-index: 20;
  pointer-events: auto;
  margin: -0.35rem 1rem;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 1.15rem 1.1rem 1.2rem;
  text-align: center;
  color: var(--cream);
}

.splash-center::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(12, 9, 6, 0.72) 0%, rgba(12, 9, 6, 0.42) 48%, rgba(12, 9, 6, 0) 76%);
}


.brand-logo-full {
  display: none;
}

.brand-logo-mark {
  display: block;
  width: auto;
  height: 2.35rem;
  margin: 0 auto 0.3rem;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.85));
}

.brand-mark {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0 auto 0.4rem;
  color: var(--tan);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.85));
}

.brand-kicker {
  margin: 0 0 0.3rem;
  font-family: var(--header);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--tan);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 12px rgba(0, 0, 0, 0.75);
}

.brand-name {
  margin: 0;
  font-family: var(--header);
  font-weight: 750;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--cream);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.8),
    0 0 28px rgba(0, 0, 0, 0.55);
}

.brand-tagline {
  margin: 0.2rem 0 0;
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(244, 239, 230, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.brand-rule {
  width: 2.6rem;
  height: 1px;
  border: 0;
  margin: 0.65rem auto 0.55rem;
  background: var(--tan);
  box-shadow: 0 0 8px rgba(201, 166, 107, 0.45);
}

.brand-meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(244, 239, 230, 0.82);
  line-height: 1.45;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.license {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(185, 174, 158, 0.95);
}

.brand-contact {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.8rem;
  border: 1px solid rgba(201, 166, 107, 0.7);
  border-radius: 999px;
  color: var(--tan);
  text-decoration: none;
  font-family: var(--header);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: rgba(16, 12, 9, 0.28);
  text-shadow: none;
}

.brand-pill:hover,
.brand-pill:focus-visible {
  color: var(--ink);
  background: var(--tan);
  border-color: var(--tan);
}

.brand-desc {
  margin: 0.7rem auto 0;
  max-width: 34rem;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.brand-desc-short {
  display: none;
}

.section-areas {
  padding: 1.35rem 0 1.5rem;
}

.section-areas h2 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  margin-bottom: 0.4rem;
}

.section-areas .lede {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.section-areas .towns {
  gap: 0.28rem;
}

.section-areas .towns li {
  font-size: 0.82rem;
  padding: 0.16rem 0.5rem;
}

.section-areas .counties {
  margin-top: 0.45rem;
  font-size: 0.88rem;
}

/* ---------- Interior pages ---------- */

.page-header {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-header > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 12, 9, 0.92) 0%, rgba(16, 12, 9, 0.35) 70%, rgba(16, 12, 9, 0.4) 100%);
}

.page-header-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 1.6rem;
}

.page-header h1 {
  margin: 0;
  font-family: var(--header);
  font-weight: 750;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}

.page-header p {
  margin: 0.6rem 0 0;
  max-width: 38rem;
  color: var(--cream-dim);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--header);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: #3c342c;
}

.rule {
  width: 3.2rem;
  height: 3px;
  background: var(--tan);
  border: 0;
  margin: 0 0 1.1rem;
}

/* Service cards */

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: #fff;
  border: 1px solid var(--cream-dim);
  border-top: 3px solid var(--tan);
  padding: 1.15rem 1.15rem 1.25rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--header);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: #3c342c;
  font-size: 1rem;
}

/* Gallery */

.gallery {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: 1fr 1fr;
}

.gallery figure {
  margin: 0;
  background: var(--ink);
  overflow: hidden;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  color: inherit;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  transform: scale(1.04);
}

.lightbox figcaption:empty {
  display: none;
}


.see-work {
  margin: 1.35rem 0 0;
}

.see-work a {
  font-family: var(--header);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--earth-deep);
  border-bottom: 1px solid var(--tan);
  padding-bottom: 0.12rem;
}

.see-work a:hover,
.see-work a:focus-visible {
  color: var(--rust);
  border-color: var(--rust);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
}

.portfolio-filters button {
  font-family: var(--header);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(92, 67, 48, 0.28);
  background: transparent;
  color: var(--earth-deep);
  cursor: pointer;
  border-radius: 999px;
}

.portfolio-filters button:hover,
.portfolio-filters button:focus-visible {
  border-color: var(--tan);
  color: var(--ink);
}

.portfolio-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.portfolio-empty {
  margin: 0.5rem 0 0;
  color: #3c342c;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
  margin: 0 0 0.55rem;
  text-decoration: none;
}

.footer-logo img {
  height: 2.75rem;
  width: auto;
}

/* Towns */

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.towns li {
  background: var(--cream);
  border: 1px solid var(--cream-dim);
  padding: 0.28rem 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.counties {
  margin: 0;
  color: #3c342c;
}

/* Forms */

.form-panel {
  background: #fff;
  border: 1px solid var(--cream-dim);
  padding: 1.25rem 1rem 1.4rem;
}

.form-panel h2 {
  margin-top: 0;
}

.form-intro {
  margin: 0 0 1.2rem;
  color: #3c342c;
}

.lead-form fieldset {
  border: 0;
  margin: 0 0 1.15rem;
  padding: 0;
}

.lead-form legend {
  font-family: var(--header);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  padding: 0;
}

.field {
  margin: 0 0 0.85rem;
}

.field label,
.consent label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.req {
  color: var(--rust);
  font-weight: 700;
}

.hint {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form input[type="number"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #cfc4b3;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.lead-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--tan);
  outline-offset: 1px;
  border-color: var(--tan-dim);
  background: #fff;
}

.checks {
  display: grid;
  gap: 0.4rem;
}

.checks label,
.choice-row label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  margin: 0;
}

.checks input,
.choice-row input {
  margin-top: 0.25rem;
  accent-color: var(--earth);
}

.form-row {
  display: grid;
  gap: 0.75rem;
}

.conditional {
  display: none;
  background: var(--cream);
  border: 1px solid var(--cream-dim);
  padding: 0.9rem 0.9rem 0.3rem;
  margin: 0 0 1rem;
}

.conditional.is-open {
  display: block;
}

.consent {
  margin: 0.4rem 0 1rem;
  background: var(--cream);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--cream-dim);
}

.error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.25rem 0 0;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error .error,
.checks.has-error .error,
.consent.has-error .error {
  display: block;
}


.photo-note {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--danger);
  background: #f8ece9;
  color: var(--danger);
}

.thank-you {
  display: none;
  padding: 1.5rem 0.2rem 0.5rem;
  text-align: left;
}

.thank-you h2 {
  color: var(--forest);
}

.file-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #3c342c;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 6, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100svh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox figcaption {
  color: var(--cream);
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox figcaption {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--cream-dim);
  padding: 2.1rem 0 5.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.site-footer h2 {
  margin: 0 0 0.4rem;
  font-family: var(--header);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

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

.site-footer a:hover {
  color: var(--tan-hot);
  text-decoration: underline;
}

.site-footer p,
.site-footer address {
  margin: 0 0 0.35rem;
  font-style: normal;
  font-size: 0.96rem;
}

.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 166, 107, 0.18);
  font-size: 0.85rem;
  color: var(--muted-light);
}

/* Mobile call bar on interior pages */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.call-bar a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.4rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--header);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.call-bar a + a {
  border-left: 1px solid var(--line);
}

.call-bar a:hover {
  color: var(--tan);
}

/* ---------- Desktop ---------- */

@media (min-width: 800px) {
  .splash-panels {
    flex-direction: row;
    min-height: 100svh;
  }

  .splash-panel {
    flex: 1 1 50%;
    min-height: 100svh;
    align-items: flex-end;
  }

  .splash-left {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .splash-right {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
  }

  .splash-label {
    padding: 2.2rem 2.2rem;
    width: auto;
    max-width: 22rem;
    font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  }

  .splash-right .splash-label {
    margin-left: auto;
  }

  .splash-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(32rem, calc(100% - 3rem));
    padding: 0.55rem 1.2rem 0.6rem;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .splash-left .splash-shade {
    background:
      linear-gradient(to top, rgba(16, 12, 9, 0.55) 0%, rgba(16, 12, 9, 0.12) 50%),
      linear-gradient(to right, rgba(16, 12, 9, 0.15), rgba(16, 12, 9, 0.45));
  }

  .splash-right .splash-shade {
    background:
      linear-gradient(to top, rgba(16, 12, 9, 0.55) 0%, rgba(16, 12, 9, 0.12) 50%),
      linear-gradient(to left, rgba(16, 12, 9, 0.15), rgba(16, 12, 9, 0.45));
  }

  .page-header {
    min-height: 22rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .gallery img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .form-panel {
    padding: 1.7rem 1.6rem 1.8rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .site-footer {
    padding-bottom: 2.2rem;
  }

  .call-bar {
    display: none;
  }

  .menu-toggle {
    top: 1.1rem;
    right: 1.1rem;
    width: 56px;
    height: 56px;
  }

  .site-logo {
    top: 1.1rem;
    left: 1.1rem;
  }

  .site-logo img {
    height: 3rem;
  }

  .site-nav .nav-brand {
    top: 1.1rem;
    left: 1.1rem;
    max-width: 9rem;
  }

  .site-nav .nav-brand img {
    width: 9rem;
  }

  body.home .brand-logo-full {
    display: block;
    width: min(14.25rem, 52%);
    height: auto;
    margin: 0 auto 0.3rem;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.75));
  }

  body.home .brand-logo-mark {
    display: none;
  }

  body.home .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.home .brand-rule {
    display: none;
  }

  body.home .brand-kicker {
    margin-bottom: 0.3rem;
  }

  body.home .brand-tagline {
    display: none;
  }

  body.home .brand-desc-full,
  body.home .brand-desc-short {
    display: none;
  }

}

@media (min-width: 1100px) {
  .service-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}


/* ---------- Mobile splash only (home). Desktop and interior pages unchanged. ---------- */
@media (max-width: 799px) {
  body.home {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.home .splash,
  body.home .splash-panels {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    max-height: 100vh;
    max-height: 100svh;
    max-height: 100dvh;
    overflow: hidden;
  }

  body.home .splash-panel {
    flex: 1 1 0;
    min-height: 0;
  }

  /* Labels hug the center card: Construction just above, Dirt Work just below */
  body.home {
    --splash-card-clear: 5.85rem;
  }

  body.home .splash-left {
    align-items: flex-end;
    justify-content: center;
  }

  body.home .splash-right {
    align-items: flex-start;
    justify-content: center;
  }

  body.home .splash-left .splash-shade {
    background:
      linear-gradient(to top, rgba(16, 12, 9, 0.7) 0%, rgba(16, 12, 9, 0.32) 26%, rgba(16, 12, 9, 0.08) 52%, rgba(16, 12, 9, 0.16) 100%);
  }

  body.home .splash-right .splash-shade {
    background:
      linear-gradient(to bottom, rgba(16, 12, 9, 0.7) 0%, rgba(16, 12, 9, 0.32) 26%, rgba(16, 12, 9, 0.08) 52%, rgba(16, 12, 9, 0.2) 100%);
  }

  body.home .splash-label {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    font-size: clamp(1.15rem, 5.4vw, 1.5rem);
    font-weight: 750;
    width: auto;
    max-width: calc(100% - 1.5rem);
    padding: 0.25rem 1.7rem 0.25rem 0.1rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.95),
      0 2px 10px rgba(0, 0, 0, 0.8),
      0 0 22px rgba(0, 0, 0, 0.65);
  }

  body.home .splash-label::after {
    content: "";
    position: absolute;
    right: 0.15rem;
    top: 50%;
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid var(--tan);
    border-bottom: 2px solid var(--tan);
    transform: translateY(-55%) rotate(-45deg);
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  body.home .splash-left .splash-label {
    margin: 0 0 var(--splash-card-clear);
    padding-top: 0.25rem;
  }

  body.home .splash-right .splash-label {
    margin: var(--splash-card-clear) 0 0;
    padding-bottom: 0.25rem;
  }

  body.home .splash-label small {
    font-size: 0.58rem;
    margin-top: 0.1rem;
    letter-spacing: 0.14em;
    font-weight: 600;
  }

  body.home .splash-panel:hover .splash-label,
  body.home .splash-panel:focus-visible .splash-label {
    color: var(--tan-hot);
  }

  /* Compact company identity overlapping the seam — no box */
  body.home .splash-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: calc(100% - 1.25rem);
    max-width: 22.5rem;
    padding: 0.45rem 0.6rem 0.5rem;
    background: none;
    border: 0;
    box-shadow: none;
  }

  body.home .splash-center::before {
    width: 132%;
    height: 126%;
    background:
      radial-gradient(ellipse at center, rgba(12, 9, 6, 0.78) 0%, rgba(12, 9, 6, 0.4) 52%, rgba(12, 9, 6, 0) 76%);
  }

  body.home .brand-mark,
  body.home .brand-logo-mark {
    width: auto;
    height: 2.2rem;
    margin-bottom: 0.22rem;
  }

  body.home .brand-logo-full {
    display: none;
  }

  body.home .brand-kicker {
    font-size: 0.56rem;
    margin: 0 0 0.1rem;
    letter-spacing: 0.16em;
  }

  body.home .brand-name {
    font-size: clamp(1.18rem, 5.6vw, 1.52rem);
  }

  body.home .brand-tagline {
    margin: 0.12rem 0 0;
    font-size: 0.72rem;
  }

  body.home .brand-rule {
    display: none;
  }

  body.home .brand-meta {
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  body.home .license {
    display: inline;
    margin-top: 0;
    margin-left: 0;
    font-size: 0.72rem;
  }

  body.home .license::before {
    content: " · ";
    color: rgba(185, 174, 158, 0.9);
  }

  body.home .brand-contact {
    margin-top: 0.4rem;
    gap: 0.35rem;
  }

  body.home .brand-pill {
    padding: 0.22rem 0.62rem;
    font-size: 0.72rem;
  }

  body.home .brand-desc-full,
  body.home .brand-desc-short {
    display: none;
  }

  /* Hide the large footer on the mobile splash; contact info is in the card and menu */
  body.home .site-footer {
    display: none;
  }
}

/* Extra-short phones (e.g. 375x667): drop the description to guarantee one screen */
@media (max-width: 799px) and (max-height: 720px) {
  body.home {
    --splash-card-clear: 4.7rem;
  }

  body.home .brand-desc-short {
    display: none;
  }

  body.home .splash-center {
    padding: 0.3rem 0.5rem 0.35rem;
  }

  body.home .brand-mark,
  body.home .brand-logo-mark {
    display: block;
    height: 1.65rem;
    margin-bottom: 0.12rem;
  }

  body.home .brand-logo-full {
    display: none;
  }

  body.home .brand-kicker {
    font-size: 0.52rem;
  }

  body.home .brand-name {
    font-size: clamp(1.08rem, 5.2vw, 1.32rem);
  }

  body.home .brand-tagline {
    margin: 0.08rem 0 0;
    font-size: 0.66rem;
  }

  body.home .brand-contact {
    margin-top: 0.28rem;
  }

  body.home .brand-rule {
    display: none;
  }

  body.home .splash-label {
    font-size: clamp(1.08rem, 5.2vw, 1.32rem);
    padding: 0.2rem 1.6rem 0.2rem 0.1rem;
  }

  body.home .splash-label small {
    display: none;
  }
}

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