:root {
  --orange: #f58220;
  --orange-dark: #d96f12;
  --sand: #fff7ef;
  --ink: #2c2f38;
  --slate: #444955;
  --line: #d7d8dd;
  --shadow: 0 18px 45px rgba(22, 28, 37, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 130, 32, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f8fa 0%, #ffffff 24%, #f7f2ec 100%);
  color: var(--ink);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.letterhead,
.content,
.footer-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.letterhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 42px 0 28px;
  gap: 24px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-mark {
  position: relative;
  padding-left: 10px;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--orange);
  font-weight: 700;
}

.brand-sub {
  display: block;
  margin-left: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.7em;
  color: #2f3137;
}

.brand-accent {
  position: absolute;
  top: -0.1rem;
  left: 172px;
  width: 26px;
  height: 26px;
  border-left: 6px solid var(--orange);
  border-top: 6px solid var(--orange);
  transform: rotate(45deg);
  opacity: 0.95;
}

.brand-tag {
  margin: 0;
  padding-left: 10px;
  font-size: 0.95rem;
  color: var(--slate);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-block {
  min-width: 300px;
  padding-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  color: #2f3137;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.line {
  display: inline-block;
  width: min(260px, 52vw);
  border-bottom: 1.5px solid #8d8d8d;
  min-height: 1px;
}

.divider {
  width: 100%;
  height: 13px;
  background: linear-gradient(90deg, var(--orange) 0 31%, transparent 31%);
  border-top: 3px solid rgba(245, 130, 32, 0.4);
  position: relative;
}

.divider-fill {
  position: absolute;
  left: 0;
  top: -3px;
  width: 32%;
  height: 100%;
  background: var(--orange);
  clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
}

.content {
  flex: 1;
  padding: 34px 0 40px;
  display: grid;
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(215, 216, 221, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 20px;
  padding: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
  max-width: 12ch;
}

.lead,
.about p,
.service-card p {
  color: var(--slate);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 22px rgba(245, 130, 32, 0.28);
}

.secondary {
  border: 1px solid rgba(44, 47, 56, 0.16);
  color: var(--ink);
  background: white;
}

.hero-panel {
  background: linear-gradient(180deg, #1f232b 0%, #353b46 100%);
  color: white;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-number {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  color: #ffe2c5;
}

.stat-label {
  color: rgba(255, 255, 255, 0.78);
}

.services {
  display: grid;
  gap: 18px;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
  align-items: center;
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
}

.contact-item {
  background: linear-gradient(180deg, rgba(245, 130, 32, 0.08), rgba(245, 130, 32, 0.02));
  border: 1px solid rgba(245, 130, 32, 0.15);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.contact-item a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  word-break: break-word;
}

.footer-band {
  padding-bottom: 24px;
}

.footer-line {
  height: 12px;
  background: linear-gradient(90deg, #3b3f49 0 48%, var(--orange) 48% 100%);
  border-radius: 999px 999px 0 0;
}

.footer-content {
  background: #3b3f49;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 0 0 20px 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .letterhead,
  .hero,
  .about,
  .contact,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .letterhead {
    flex-direction: column;
  }

  .meta-block {
    min-width: 0;
    width: 100%;
    padding-top: 0;
  }

  .meta-row {
    justify-content: flex-start;
  }

  .line {
    width: min(100%, 360px);
  }

  .brand-accent {
    left: 166px;
  }
}

@media (max-width: 640px) {
  .letterhead,
  .content,
  .footer-band {
    width: min(100% - 20px, 1180px);
  }

  .letterhead {
    padding-top: 26px;
  }

  .brand-tag {
    letter-spacing: 0.06em;
    font-size: 0.82rem;
  }

  .meta-row {
    font-size: 1rem;
  }

  .hero,
  .service-card,
  .about,
  .contact {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  body {
    background: white;
  }

  .card {
    box-shadow: none;
  }

  .btn,
  .footer-band {
    display: none;
  }
}
