/* Thomas Ford Roofing — Retro Americana */

:root {
  --cream: #f5ecd7;
  --cream-2: #ecdfc0;
  --red: #a62a1c;
  --red-dark: #861f13;
  --teal: #1c5551;
  --teal-dark: #133d3a;
  --mustard: #e3a92b;
  --ink: #2b1d16;
  --ink-soft: #4d3b30;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

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

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

.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;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 6px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-lg { min-height: 56px; padding: 12px 26px; font-size: 1.05rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-cream:hover { background: #fff; color: var(--ink); }
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal);
  border-bottom: 4px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--cream); line-height: 1; }
.logo:hover { color: var(--cream); }
.logo-name { font-family: var(--display); font-size: 1.45rem; letter-spacing: .01em; }
.logo-tag {
  align-self: flex-start; margin-top: 5px;
  background: var(--mustard); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 3px 8px 2px;
}

.nav { display: none; }
.header-call { box-shadow: 3px 3px 0 var(--ink); }
.header-call .long { display: none; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 44px 0 0; }
.hero-grid { display: grid; gap: 40px; padding-bottom: 52px; }

.eyebrow { margin-bottom: 18px; }
.eyebrow span {
  display: inline-block;
  font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
  border-top: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  padding: 5px 2px;
}

.hero h1 {
  font-size: clamp(2.35rem, 10.5vw, 4.6rem);
  color: var(--ink);
  letter-spacing: -.005em;
}
.hero h1 em {
  font-style: normal; color: var(--red);
  display: inline-block;
  text-decoration: underline; text-decoration-color: var(--mustard);
  text-decoration-thickness: .12em; text-underline-offset: .12em;
}

.lead { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; }

.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.hero-actions .btn { width: 100%; }

.rating { margin-top: 22px; font-weight: 600; color: var(--ink); }
.stars { color: var(--red); letter-spacing: .1em; margin-right: 6px; }

/* Ticket-stub fact card */
.ticket {
  position: relative;
  background: var(--cream-2);
  border: 3px solid var(--ink);
  border-radius: 10px;
  margin-top: 18px;
}
.ticket-head {
  position: relative;
  background: var(--red); color: #fff;
  border-bottom: 3px dashed var(--cream);
  padding: 22px 24px 30px; border-radius: 7px 7px 0 0;
  font-family: var(--display); font-size: 1.6rem; line-height: 1;
}
/* punched ticket notches where the stub tears off */
.ticket-head::before, .ticket-head::after {
  content: ""; position: absolute; bottom: -16px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--ink);
}
.ticket-head::before { left: -19px; clip-path: inset(0 0 0 50%); }
.ticket-head::after { right: -19px; clip-path: inset(0 50% 0 0); }
.ticket-body { margin: 0; padding: 20px 24px 6px; }
.ticket-body div { padding: 12px 0; border-bottom: 2px dotted var(--ink-soft); }
.ticket-body div:last-child { border-bottom: 0; }
.ticket-body dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.ticket-body dd { margin: 2px 0 0; font-weight: 600; font-size: 1.05rem; }
.ticket-foot {
  background: var(--ink); color: var(--cream);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 0 0 7px 7px;
}

.burst {
  position: absolute; top: -34px; right: -6px; width: 96px; height: 96px;
  transform: rotate(10deg);
}
.burst polygon { fill: var(--mustard); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.burst text { fill: var(--ink); }
.burst-big { font-family: var(--display); font-size: 30px; }
.burst-small { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 2px; }

/* Awning stripes */
.awning {
  height: 34px;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--red) 0 36px, var(--cream) 36px 72px);
}

/* ---------- Services: sign board ---------- */

.services { background: var(--ink); padding: 56px 0; }

.board {
  background: var(--teal);
  border: 4px solid var(--cream);
  outline: 4px solid var(--teal); outline-offset: 0;
  box-shadow: 0 0 0 8px var(--ink), 0 0 0 11px var(--mustard);
  border-radius: 6px;
  color: var(--cream);
  padding: 34px 20px 24px;
  margin: 11px;
}

.board-head { text-align: center; padding-bottom: 22px; border-bottom: 3px double var(--cream); margin-bottom: 8px; }
.board-kicker {
  font-family: var(--display); color: var(--mustard); font-size: 1.3rem;
  transform: rotate(-4deg); display: inline-block;
}
.board h2 { font-size: clamp(1.9rem, 8vw, 3.4rem); color: var(--cream); margin-top: 4px; }
.board-sub {
  display: inline-block; margin-top: 14px;
  background: var(--mustard); color: var(--ink);
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px;
}

.menu { list-style: none; margin: 0; padding: 0; display: grid; }
.menu li { padding: 20px 0; border-bottom: 2px dashed rgba(245, 236, 215, .45); }
.menu li:last-child { border-bottom: 0; }
.menu h3 {
  font-size: 1.35rem; color: var(--cream);
  display: flex; align-items: baseline; gap: 12px;
}
.menu .num {
  font-family: var(--body); font-weight: 700; font-size: .9rem; color: var(--ink);
  background: var(--mustard); border-radius: 3px; padding: 2px 7px; flex: none;
  position: relative; top: -2px;
}
.menu p { margin-top: 8px; color: #eef2ea; }

/* ---------- Why ---------- */

.why { padding: 64px 0 56px; }

.section-title { text-align: center; font-size: clamp(1.6rem, 6.4vw, 2.8rem); margin-bottom: 36px; }
.section-title span {
  display: inline-block; position: relative;
  background: var(--red); color: #fff;
  padding: 10px 28px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
}
.section-title.left { text-align: left; }

.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.badge {
  display: grid; grid-template-columns: 84px 1fr; gap: 4px 18px; align-items: start;
  border-top: 3px solid var(--ink); padding-top: 22px;
}
.badge-mark {
  grid-row: span 2;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--teal); color: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 4px var(--teal), inset 0 0 0 6px var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.7rem; line-height: 1;
}
.badge-mark small {
  font-family: var(--body); font-weight: 700; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; color: var(--mustard);
}
.badge h3 { font-size: 1.3rem; color: var(--ink); }
.badge p:not(.badge-mark) { color: var(--ink-soft); }

/* ---------- Visit ---------- */

.visit { background: var(--cream-2); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); padding: 60px 0; }
.visit-grid { display: grid; gap: 36px; }

.hours { width: 100%; border-collapse: collapse; border: 3px solid var(--ink); background: var(--cream); }
.hours th, .hours td { padding: 14px 16px; text-align: left; border-bottom: 2px dotted var(--ink-soft); }
.hours th { font-weight: 600; }
.hours td { font-weight: 700; text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.em { background: var(--mustard); }

address { font-style: normal; margin-top: 24px; font-size: 1.05rem; line-height: 1.7; }
address a { font-weight: 700; word-break: break-word; }

.area { margin-top: 24px; padding-left: 16px; border-left: 4px solid var(--red); }
.area h3 { font-size: 1.15rem; color: var(--teal); }
.area p { margin-top: 6px; color: var(--ink-soft); }

.map { margin: 0; }
.map-frame { border: 4px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--cream); box-shadow: 8px 8px 0 var(--teal); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map figcaption { margin-top: 18px; font-weight: 600; }

/* ---------- CTA ---------- */

.cta { background: var(--red); color: #fff; padding: 60px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta h2 { font-size: clamp(1.8rem, 7vw, 3rem); max-width: 18em; }
.cta p { font-size: 1.1rem; }
.cta .btn { margin-top: 8px; }

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

.site-footer {
  background: var(--ink); color: var(--cream); padding: 40px 0 46px;
  border-top: 10px solid var(--mustard);
}
.footer-inner { display: grid; gap: 6px; font-size: .95rem; }
.footer-name { font-family: var(--display); font-size: 1.4rem; margin-bottom: 6px; }
.site-footer a { color: var(--mustard); }
.site-footer a:hover { color: #fff; }
.copy { margin-top: 10px; color: #cbbfa8; font-size: .85rem; }

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .header-call .short { display: none; }
  .header-call .long { display: inline; }
  .board { padding: 44px 40px 30px; }
  .menu { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .menu li:nth-last-child(2) { border-bottom: 0; }
}

@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .nav { display: flex; gap: 28px; margin-left: auto; }
  .nav a {
    color: var(--cream); text-decoration: none; font-weight: 700;
    font-size: .88rem; letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 0; border-bottom: 2px solid transparent;
  }
  .nav a:hover { border-bottom-color: var(--mustard); color: var(--cream); }
  .logo-name { font-size: 1.7rem; }

  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; padding-bottom: 80px; }
  .ticket { margin-top: 0; }
  .burst { width: 116px; height: 116px; top: -46px; right: -26px; }

  .services { padding: 88px 0; }
  .board { padding: 56px 64px 40px; }
  .menu { grid-template-columns: repeat(3, 1fr); }
  .menu li { border-bottom: 0; padding: 24px 0; }
  .menu li:nth-child(-n+3) { border-bottom: 2px dashed rgba(245, 236, 215, .45); }

  .why { padding: 96px 0 88px; }
  .badges { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .badge { grid-template-columns: 1fr; gap: 14px; }
  .badge-mark { grid-row: auto; width: 96px; height: 96px; font-size: 2rem; }

  .visit { padding: 88px 0; }
  .visit-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .map iframe { height: 460px; }

  .cta { padding: 80px 0; }

  .footer-inner { grid-template-columns: 1fr auto; column-gap: 40px; }
  .footer-name { grid-column: 1 / -1; }
}
