* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: #B8C4C4;
  color: #000000;
  font-family: Arial;
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Verdana;
  line-height: 1.2;
}

a {
  color: #000000;
}

a:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 3px;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  background: #F0EDE4;
  border-top: 3px solid #F0EDE4;
  border-left: 3px solid #F0EDE4;
  border-right: 3px solid #000000;
  border-bottom: 3px solid #000000;
  box-shadow: 6px 6px 0 #000000;
}

.system-header {
  background: #B8C4C4;
  border-bottom: 3px solid #000000;
}

.brand-strip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
}

.brand-name {
  font-family: Verdana;
  font-weight: 700;
  text-decoration: none;
}

.location-label {
  border: 2px inset #000000;
  background: #F0EDE4;
  padding: 4px 8px;
  white-space: nowrap;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  background: #3D7A7A;
  border-top: 2px solid #000000;
  padding: 5px;
  gap: 4px;
}

.toolbar a {
  min-width: 112px;
  padding: 7px 13px;
  background: #F0EDE4;
  border-top: 2px solid #F0EDE4;
  border-left: 2px solid #F0EDE4;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.toolbar a:active {
  border-top-color: #000000;
  border-left-color: #000000;
  border-right-color: #F0EDE4;
  border-bottom-color: #F0EDE4;
}

.window-section,
.prices-section,
.contact-section {
  scroll-margin-top: 12px;
}

.title-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 6px 12px;
  background: #3D7A7A;
  color: #000000;
  border-bottom: 3px solid #000000;
  font-family: Verdana;
  font-weight: 700;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: #B8C4C4;
  border-top: 2px solid #F0EDE4;
  border-left: 2px solid #F0EDE4;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  font-family: Arial;
  line-height: 1;
}

.inset-panel {
  background: #F0EDE4;
  border-top: 3px solid #000000;
  border-left: 3px solid #000000;
  border-right: 3px solid #B8C4C4;
  border-bottom: 3px solid #B8C4C4;
  box-shadow: inset 3px 3px 0 #B8C4C4;
}

.hero-panel {
  margin: 18px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 30px;
}

.dialog-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 8px;
  background: #B8C4C4;
  border: 2px solid #000000;
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(28px, 5vw, 52px);
}

.hero-copy > p:not(.dialog-label) {
  max-width: 670px;
  margin-bottom: 24px;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.system-button {
  display: inline-block;
  padding: 11px 16px;
  border-top: 3px solid #F0EDE4;
  border-left: 3px solid #F0EDE4;
  border-right: 3px solid #000000;
  border-bottom: 3px solid #000000;
  font-family: Arial;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.system-button:active {
  border-top-color: #000000;
  border-left-color: #000000;
  border-right-color: #F0EDE4;
  border-bottom-color: #F0EDE4;
}

.primary-button {
  background: #008000;
  color: #F0EDE4;
}

.secondary-button {
  background: #B8C4C4;
}

.chimney-mark {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: #B8C4C4;
  border-top: 3px solid #000000;
  border-left: 3px solid #000000;
  border-right: 3px solid #F0EDE4;
  border-bottom: 3px solid #F0EDE4;
}

.chimney-mark svg {
  width: 160px;
  height: 160px;
}

.prices-section {
  padding: 0 18px 18px;
}

.section-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
}

.section-caption h2 {
  margin: 0;
  font-size: 24px;
}

.caption-box {
  width: 24px;
  height: 24px;
  display: inline-block;
  background: #008000;
  border: 2px solid #000000;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}

.service-panel {
  padding: 8px;
}

.panel-heading {
  padding: 8px 10px;
  background: #3D7A7A;
  border: 2px solid #000000;
  font-family: Verdana;
  font-weight: 700;
}

.service-list {
  margin-bottom: 0;
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 16px 10px;
  border-bottom: 2px solid #000000;
}

.service-entry:last-child {
  border-bottom: 0;
}

.service-entry dt {
  font-family: Verdana;
  font-weight: 700;
}

.service-detail {
  grid-column: 1;
  margin: 0;
  font-size: 14px;
}

.service-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 86px;
  margin: 0;
  padding: 8px;
  background: #B8C4C4;
  border: 2px solid #000000;
  font-family: Verdana;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.contact-section {
  padding: 0 18px 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 24px;
}

.contact-panel h2,
.contact-panel h3 {
  margin-bottom: 12px;
}

.field-label {
  margin: 14px 0 3px;
  font-family: Verdana;
  font-weight: 700;
}

address {
  font-style: normal;
}

.phone-link {
  display: inline-block;
  font-weight: 700;
}

.privacy-copy {
  padding-left: 24px;
  border-left: 3px solid #000000;
}

.privacy-copy p {
  margin-bottom: 0;
}

.status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 9px;
  background: #B8C4C4;
  border-top: 3px solid #000000;
  border-left: 3px solid #000000;
  border-right: 3px solid #F0EDE4;
  border-bottom: 3px solid #F0EDE4;
  font-family: "Courier New";
  font-size: 13px;
}

.status-bar a {
  font-family: "Courier New";
}

@media (max-width: 760px) {
  .site-shell {
    width: calc(100% - 18px);
    margin: 9px auto;
    box-shadow: 3px 3px 0 #000000;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .location-label {
    white-space: normal;
  }

  .toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar a {
    min-width: 0;
  }

  .title-bar {
    align-items: flex-start;
    font-size: 14px;
  }

  .window-controls span {
    width: 23px;
    height: 23px;
  }

  .window-controls span:first-child {
    display: none;
  }

  .hero-panel {
    margin: 10px;
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .chimney-mark {
    min-height: 165px;
  }

  .chimney-mark svg {
    width: 135px;
    height: 135px;
  }

  .prices-section,
  .contact-section {
    padding-right: 10px;
    padding-left: 10px;
  }

  .price-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .service-price {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .contact-panel {
    padding: 18px;
  }

  .privacy-copy {
    padding-top: 18px;
    padding-left: 0;
    border-top: 3px solid #000000;
    border-left: 0;
  }

  .status-divider {
    display: none;
  }

  .status-bar span,
  .status-bar a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }

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

  .hero-panel {
    padding: 15px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .button-row,
  .system-button {
    width: 100%;
  }
}