/* Ridgeline Auto & Tire: example site (fictional business). */
:root {
  --color-primary: #1f2226;
  --color-on-primary: #ffffff;
  --ink: #1f2226;
  --coal: #2a2e33;
  --steel: #e9eaec;
  --muted: #4d535b;
  --orange: #e8590c;
  --orange-dark: #b84207;
  --condensed: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #ffffff; }
h1, h2, h3 { font-family: var(--condensed); font-stretch: condensed; line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

.example-bar { background: #fff4e6; color: #5c2a06; text-align: center; font-size: 0.875rem; padding: 0.45rem 1rem; }
.example-bar a { color: #5c2a06; font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 0; background: #ffffff; color: var(--ink); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.top { background: var(--ink); color: #ffffff; border-bottom: 4px solid var(--orange); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--condensed); font-stretch: condensed; font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; }
.logo svg { width: 2rem; height: 2rem; color: var(--orange); }
.logo b { color: #ffb380; font-weight: 700; }
.top__call { display: none; font-weight: 700; text-decoration: none; padding: 0.6rem 1rem; border: 2px solid #ffffff; border-radius: 4px; min-height: 2.75rem; }
.top__call:hover { background: #ffffff; color: var(--ink); }

.hero { background: var(--coal); color: #ffffff; padding: 3.5rem 0 4rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--ink) 18px 36px); }
.hero__grid { display: grid; gap: 2.5rem; }
.kicker { font-family: var(--condensed); font-stretch: condensed; text-transform: uppercase; letter-spacing: 0.12em; color: #ffb380; font-weight: 700; margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 1.25rem; }
.lead { font-size: 1.15rem; color: #e3e5e8; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: 4px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; border: 2px solid transparent; }
.btn--orange { background: var(--orange-dark); color: #ffffff; }
.btn--orange:hover { background: #8f3305; }
.btn--line { border-color: #ffffff; color: #ffffff; }
.btn--line:hover { background: #ffffff; color: var(--ink); }

.board { background: #15171a; border: 2px solid #3b4047; border-radius: 6px; padding: 1.5rem; box-shadow: 0 0 0 6px #23272c; align-self: start; }
.board h2 { font-size: 1.6rem; color: #ffb380; margin-bottom: 1rem; }
.board dl { margin: 0 0 1rem; }
.board dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed #4a5058; font-variant-numeric: tabular-nums; }
.board dt { font-weight: 600; }
.board dd { margin: 0; color: #ffffff; }
.board p { font-size: 0.95rem; color: #cfd3d8; margin: 0; }

.section-title { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 1.75rem; }
.services { padding: 4rem 0; background: var(--steel); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tiles li { background: #ffffff; border-left: 6px solid var(--orange); padding: 1.4rem 1.25rem; border-radius: 4px; }
.tiles svg { width: 2.25rem; height: 2.25rem; fill: none; stroke: var(--orange-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.5rem; }
.tiles h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.tiles p { margin: 0; color: var(--muted); }

.why { padding: 4rem 0; }
.why__grid { display: grid; gap: 1rem; }
.why__list { margin: 0; padding: 0; list-style: none; counter-reset: why; display: grid; gap: 1rem; }
.why__list li { counter-increment: why; padding: 1.1rem 1.25rem 1.1rem 4.25rem; position: relative; background: #fafafa; border: 1px solid #dcdfe3; border-radius: 4px; }
.why__list li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 1.1rem; top: 0.85rem; font-family: var(--condensed); font-stretch: condensed; font-size: 2rem; font-weight: 700; color: var(--orange-dark); line-height: 1; }

.visit { padding: 4rem 0 5rem; background: var(--ink); color: #ffffff; }
.visit p { color: #e3e5e8; }
.visit__grid { display: grid; gap: 2rem; align-items: center; }
.visit__phone a { font-family: var(--condensed); font-stretch: condensed; font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; color: #ffb380; text-decoration: none; }
.visit__card { background: var(--coal); border-top: 6px solid var(--orange); padding: 1.75rem; border-radius: 4px; }
.visit__card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

.foot { background: #111315; color: #c9cdd2; padding: 2rem 0 6.5rem; font-size: 0.95rem; }
.foot__inner { display: grid; gap: 0.35rem; text-align: center; }
.foot__inner p { margin: 0; }
.foot__name { font-family: var(--condensed); font-stretch: condensed; text-transform: uppercase; font-size: 1.3rem; color: #ffffff; }
.foot a { color: #ffb380; display: inline-block; min-height: 2.75rem; line-height: 2.75rem; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; min-height: 3.5rem; background: var(--orange-dark); color: #ffffff; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: env(safe-area-inset-bottom); }
.qsw-top { bottom: calc(4.5rem + env(safe-area-inset-bottom)); }

@media (min-width: 48rem) {
  .top__call { display: inline-flex; align-items: center; }
  .hero { padding: 5rem 0 5.5rem; }
  .hero__grid { grid-template-columns: 1.5fr 1fr; align-items: center; }
  .why__grid { grid-template-columns: 1fr 2fr; gap: 3rem; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .visit__grid { grid-template-columns: 1.2fr 1fr; }
  .callbar { display: none; }
  .foot { padding-bottom: 2rem; }
  .foot__inner { grid-template-columns: repeat(4, auto); justify-content: space-between; text-align: left; align-items: center; }
  .qsw-top { bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
