/* Western Appliance — static legacy site
   Single stylesheet. No frameworks, no build step. */

:root {
  --orange: #f7941e;
  --orange-dark: #d97a08;
  --gray-dark: #58595b;
  --gray-darker: #3d3e40;
  --ink: #222;
  --body: #444;
  --rule: #ddd;
  --bg: #fff;
  --maxw: 1100px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 4px solid var(--orange);
  background: #fff;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo img {
  display: block;
  width: 240px;
  max-width: 60vw;
  height: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  display: inline-block;
}

.site-nav a:hover,
.site-nav a:focus { color: var(--orange-dark); border-bottom-color: var(--orange); }

.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

/* ---------- Content ---------- */

main { padding: 44px 0 56px; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .5em;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.75rem; margin-top: 1.6em; }
h3 { font-size: 1.3rem;  margin-top: 1.5em; }
h4 { font-size: 1.08rem; margin-top: 1.4em; color: var(--gray-dark); }

h1:first-child, h2:first-child { margin-top: 0; }

p { margin: 0 0 1.15em; }

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

strong { color: var(--ink); }

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

figure { margin: 32px 0; }

/* width:auto keeps small images (award badges) at natural size instead of
   upscaling them into a blur; large photos still fill the container. */
figure img { display: block; width: auto; max-width: 100%; border-radius: 3px; }

/* Small logos/badges: center, cap the size, drop the rounded corner */
figure.badge { text-align: center; }
figure.badge img { margin: 0 auto; border-radius: 0; }

figcaption {
  font-size: .9rem;
  color: #777;
  padding-top: 8px;
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

/* Readable measure for long text pages */
.prose { max-width: 46rem; }
.prose ol, .prose ul { margin: 0 0 1.15em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }

/* ---------- Home hero ---------- */

.hero {
  text-align: center;
  max-width: 44rem;
  margin: 8px auto 40px;
  padding: 34px 34px 38px;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 5px solid var(--orange);
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
}

.hero h1 {
  font-size: 2.9rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: .35em;
}

.hero p {
  font-size: 1.2rem;
  max-width: 34rem;
  margin: 0 auto;
}

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

@media (max-width: 700px) {
  .hero { padding: 24px 20px 28px; margin-bottom: 30px; }
}

/* ---------- Card grid (home tiles) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 36px 0;
}

.tile {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
  background: var(--gray-dark);
  transition: transform .15s ease, box-shadow .15s ease;
}

.tile img { width: 100%; display: block; }

a.tile:hover, a.tile:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* ---------- History timeline ---------- */

.entry { margin: 0 0 52px; }

.entry h2 {
  margin: 0 0 .4em;
  padding-left: 14px;
  border-left: 5px solid var(--orange);
}

.entry img { border-radius: 3px; margin-bottom: 18px; width: 100%; }

.entry .body { max-width: 46rem; }

/* ---------- Contact / phone lists ---------- */

.contact-list {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 28px;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 7px 0;
}

/* Dot leaders. The name cell grows to fill the row and clips a long string of
   periods, so the dots always run right up to the phone number. */
.contact-list .name {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  color: var(--ink);
}

.contact-list .name::after {
  content: " ..........................................................................................";
  color: #b9b9b9;
  padding-left: 6px;
  letter-spacing: 1px;
}

.contact-list a[href^="tel:"] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-decoration: none;
}

.contact-list a[href^="tel:"]:hover { text-decoration: underline; }

/* ---------- Callout ---------- */

.callout {
  background: #faf6f0;
  border-left: 5px solid var(--orange);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 3px 3px 0;
}

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

/* ---------- Footer ---------- */

.site-footer {
  background: var(--gray-darker);
  color: #c9cacb;
  padding: 34px 0 40px;
  font-size: .92rem;
  text-align: center;
}

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

.site-footer p { margin: 0 0 .5em; }

.to-top {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  font-weight: 700;
}

.to-top:hover { color: var(--orange); }

/* ---------- Small screens ---------- */

@media (max-width: 700px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .site-header .wrap { justify-content: center; text-align: center; }
  .site-nav ul { justify-content: center; gap: 4px 18px; }

  /* Drop the dot leaders on narrow screens — long company names would get
     clipped. Fall back to hairline-separated rows. */
  .contact-list li {
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--rule);
  }
  .contact-list .name { flex: 0 1 auto; white-space: normal; overflow: visible; }
  .contact-list .name::after { content: none; }
}

@media print {
  .site-nav, .to-top { display: none; }
  body { font-size: 12pt; color: #000; }
}
