@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/quicksand-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-400.woff2") format("woff2");
}

:root {
  --ink: #2b2420;
  --text: #2f2a26;
  --muted: #5e554d;
  --paper: #f6f2eb;
  --surface: #ffffff;
  --line: #dcd3c5;
  --accent: #8a4b2a;
  --accent-dark: #6f3a1f;
  --focus: #b5652f;
  --error: #9b2c1f;
  --heading: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --body: "Marcellus", Georgia, "Times New Roman", serif;
  --radius: 4px;
  --wrap: 1120px;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

strong,
b {
  font-family: var(--heading);
  font-weight: 700;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-dark);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lede {
  max-width: 40em;
  color: var(--muted);
  font-size: 1.1875rem;
}

.section-intro {
  max-width: 42em;
  margin-bottom: 40px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f4efe6;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 60%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(31, 25, 21, 0.74) 0%, rgba(31, 25, 21, 0.58) 55%, rgba(31, 25, 21, 0.76) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 80px;
}

.hero h1 {
  color: #fff;
}

.hero .lede {
  max-width: none;
  color: #e6ddd0;
}

.brand {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--ink);
  text-decoration: none;
}

.brand svg {
  width: 132px;
  height: auto;
}

.brand-name {
  margin-top: 10px;
  font-family: var(--body);
  font-size: 0.9375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 28px;
}

.hero-link {
  color: #f4efe6;
}

.hero-link:hover {
  color: #fff;
}

.button {
  display: inline-block;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* Services */

.burn {
  position: relative;
  text-align: center;
}

.burn--hero {
  width: 340px;
  max-width: 100%;
  margin: 0 auto 48px;
}

.burn--contact {
  width: 170px;
  margin-bottom: 28px;
}

.burn--hero .burn-mark,
.burn--hero .burn-name {
  color: #f4efe6;
}

.burn--hero .burn-scorch {
  display: none;
}

.burn-mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--ink);
}

.burn-scorch {
  position: absolute;
  inset: -22% -16% -10%;
  background: radial-gradient(closest-side, rgba(122, 74, 42, 0.14), rgba(122, 74, 42, 0.05) 65%, transparent);
  pointer-events: none;
}

.burn-smoke {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.burn-smoke i {
  position: absolute;
  bottom: 45%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(140, 128, 116, 0.45);
  filter: blur(9px);
  opacity: 0;
}

.burn-smoke i:nth-child(1) { left: 12%; }
.burn-smoke i:nth-child(2) { left: 44%; }
.burn-smoke i:nth-child(3) { left: 78%; }

.burn-name {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.8125rem;
  white-space: nowrap;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Armed: set by script only when motion is allowed */

.burn--armed .burn-mark path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  opacity: 0;
}

.burn--armed .burn-scorch,
.burn--armed .burn-name {
  opacity: 0;
}

.burn--lit .burn-mark {
  animation: burn-glow 3.2s ease-out forwards, burn-sizzle 1.6s steps(12) forwards;
}

.burn--lit .burn-mark path {
  animation: burn-draw 0.55s cubic-bezier(0.6, 0.05, 0.4, 1) forwards, burn-cool 2.6s ease-out forwards;
}

.burn--lit .burn-mark path:nth-child(2) { animation-delay: 0.12s; }
.burn--lit .burn-mark path:nth-child(3) { animation-delay: 0.24s; }
.burn--lit .burn-mark path:nth-child(4) { animation-delay: 0.38s; }
.burn--lit .burn-mark path:nth-child(5) { animation-delay: 0.5s; }
.burn--lit .burn-mark path:nth-child(6) { animation-delay: 0.6s; }
.burn--lit .burn-mark path:nth-child(7) { animation-delay: 0.74s; }
.burn--lit .burn-mark path:nth-child(8) { animation-delay: 0.9s; }

.burn--lit .burn-scorch {
  animation: burn-scorch 1.6s ease-out 0.3s forwards;
}

.burn--lit .burn-smoke i {
  animation: burn-smoke 2.6s ease-out forwards;
}

.burn--lit .burn-smoke i:nth-child(1) { animation-delay: 0.3s; }
.burn--lit .burn-smoke i:nth-child(2) { animation-delay: 0.6s; }
.burn--lit .burn-smoke i:nth-child(3) { animation-delay: 0.95s; }

.burn--lit .burn-name {
  animation: burn-name 1.4s ease-out 1.2s forwards;
}

.burn--hero .burn-name {
  margin-top: 18px;
  font-size: 1.125rem;
}

.burn--hero.burn--lit .burn-mark path {
  animation-name: burn-draw, burn-cool-light;
}

.burn--hero.burn--lit .burn-name {
  animation-name: burn-name-light;
}

@keyframes burn-draw {
  from { opacity: 1; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes burn-cool {
  0% { stroke: #fff2c2; }
  18% { stroke: #ffb347; }
  40% { stroke: #e2621b; }
  70% { stroke: #7a3416; }
  100% { stroke: #2b2420; }
}

@keyframes burn-cool-light {
  0% { stroke: #fff2c2; }
  18% { stroke: #ffb347; }
  45% { stroke: #e2621b; }
  75% { stroke: #e9c9a8; }
  100% { stroke: #f4efe6; }
}

@keyframes burn-name-light {
  0% { opacity: 0; color: #ffb347; letter-spacing: 0.36em; }
  55% { opacity: 1; color: #e2621b; }
  100% { opacity: 1; color: #f4efe6; letter-spacing: 0.2em; }
}

@keyframes burn-glow {
  0% { filter: drop-shadow(0 0 0 rgba(255, 140, 40, 0)); }
  15% { filter: drop-shadow(0 0 5px rgba(255, 170, 60, 0.95)) drop-shadow(0 0 16px rgba(255, 90, 20, 0.6)); }
  55% { filter: drop-shadow(0 0 3px rgba(226, 98, 27, 0.5)) drop-shadow(0 0 8px rgba(226, 98, 27, 0.2)); }
  100% { filter: drop-shadow(0 0 0 rgba(226, 98, 27, 0)) drop-shadow(0 0 0 rgba(226, 98, 27, 0)); }
}

@keyframes burn-sizzle {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(0.6px, -0.4px); }
  40% { transform: translate(-0.5px, 0.5px); }
  60% { transform: translate(0.4px, 0.3px); }
  80% { transform: translate(-0.3px, -0.4px); }
}

@keyframes burn-scorch {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes burn-smoke {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  25% { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(-80px) scale(2.2); }
}

@keyframes burn-name {
  0% { opacity: 0; color: #e2621b; letter-spacing: 0.36em; }
  55% { opacity: 1; color: #8a4b2a; }
  100% { opacity: 1; color: #2b2420; letter-spacing: 0.2em; }
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}

.service {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.service p {
  color: var(--muted);
}

.service ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.service li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 28px;
}

.service li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 17px;
  height: 17px;
  background: url("../img/texas.svg") no-repeat center / contain;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}



.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-card h3 {
  margin-bottom: 4px;
}

.form-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.field {
  margin-bottom: 18px;
}

.field label,
.field .label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b9ae9e;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.4;
}

select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e554d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 0;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.field-error {
  margin: 6px 0 0;
  color: var(--error);
  font-size: 0.875rem;
}

.consent {
  margin: 4px 0 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.consent legend {
  padding: 0 4px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.check label {
  font-size: 0.875rem;
  line-height: 1.55;
}

.form-legal {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Footer */

.site-footer {
  padding: 40px 0;
  background: var(--ink);
  color: #d9d0c3;
  font-size: 0.875rem;
}

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

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #f4efe6;
}

.footer-brand svg {
  width: 72px;
  height: auto;
}

.footer-brand p,
.footer-meta p {
  margin: 0;
}

.footer-meta {
  text-align: right;
}

/* Legal and utility pages */

.page {
  padding: 40px 0 72px;
}

.page .brand {
  margin-bottom: 40px;
}

.legal {
  max-width: 46em;
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.375rem;
}

.legal h3 {
  margin-top: 24px;
  font-size: 1.125rem;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .burn--hero {
    width: 240px;
    margin-bottom: 36px;
  }

  .burn--hero .burn-name {
    font-size: 0.9375rem;
  }

  .burn--contact {
    width: 150px;
  }

  .services,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .services {
    gap: 32px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .footer-meta {
    text-align: left;
  }
}

a[href^="tel:"] {
  font-family: var(--heading);
  font-weight: 600;
}

@media (min-width: 901px) {
  .contact-intro {
    position: sticky;
    top: 40px;
  }
}
