/* Austin Plumbing: site-specific styles. Ink + van orange from the logo, Archivo at two widths. */

/* Archivo, variable (weight 400–800, width 100–125), latin subset. Declared here instead of a css2 <link> for a faster first paint. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: optional;
  src: url(https://fonts.gstatic.com/s/archivo/v25/k3kQo8UDI-1M0wlSfdnoLg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1, h2, .wide { font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-weight: 700; }
:focus-visible { outline-color: var(--accent); }

/* ---- Header (on ink, continuous with the first screen) ---- */
.site-header { background: var(--ink); border-bottom: 1px solid #2c2c2c; backdrop-filter: none; }
.site-header .brand { color: #fff; font-stretch: 125%; font-size: var(--fs-md); }
.site-header .brand img { height: 48px; width: 48px; border-radius: 50%; }
.site-header .nav a { color: #d9d9d6; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { color: var(--accent); }
.site-header .nav a.btn-primary { background: var(--accent); color: var(--ink); box-shadow: none; }
.site-header .nav-toggle { color: #fff; min-width: 44px; min-height: 44px; }
@media (max-width: 860px) {
  .site-header .nav { background: var(--ink); border-color: #2c2c2c; }
  .site-header .nav a { border-color: #2c2c2c; }
}

/* ---- First screen: H1, then the number, the way it's painted on the van ---- */
.hero { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.4rem); max-width: 15ch; margin-bottom: var(--s-5); }
.hero .lede { color: #d9d9d6; max-width: 52ch; }
.callout { margin-top: clamp(2rem, 5vw, 3.5rem); }
.callout p { color: #d9d9d6; font-weight: 600; margin-bottom: var(--s-2); }
.number {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.1rem, 9.2vw, 7.2rem);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding-block: .08em;
}
@media (max-width: 560px) { .number { font-stretch: 100%; font-size: 11.5vw; letter-spacing: -.03em; } }
.number:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }
.hero-links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-5); }
.hero-links a { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .25em; }
.hero-links a:hover { color: var(--accent); }

/* ---- The crew ---- */
.crew { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 880px) { .crew { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.crew figure { margin: 0; }
.crew img { width: 100%; height: auto; aspect-ratio: 865 / 590; object-fit: cover; border-radius: var(--radius); }
.crew figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-2); }
.crew h2 { margin-bottom: var(--s-4); }
.crew blockquote { margin: var(--s-6) 0 0; padding-left: var(--s-5); border-left: 4px solid var(--brand); }
.crew blockquote p { font-size: var(--fs-lg); line-height: 1.45; max-width: 40ch; }
.crew blockquote footer { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-2); }

/* ---- Services ---- */
.services { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 880px) { .services { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.list-rows h3 { font-size: var(--fs-lg); }
.list-rows li > span:last-child { color: var(--brand); font-weight: 600; }
@media (max-width: 560px) {
  .list-rows li { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .list-rows li > span:last-child { white-space: normal; }
}

/* The one place the logo's dashed ring appears: the first-visit offer */
.offer { margin-top: var(--s-7); border: 2px dashed var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 760px) { .offer { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-6); } }
.offer strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1; color: var(--brand); }
.offer p { margin: 0; }
.offer small { display: block; margin-top: var(--s-2); }

/* ---- Reviews ---- */
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.reviews li { border-top: 3px solid var(--ink); padding-top: var(--s-4); }
.reviews blockquote { margin: 0; }
.reviews blockquote p { font-size: var(--fs-md); }
.reviews cite { display: block; margin-top: var(--s-3); font-style: normal; font-weight: 700; font-size: var(--fs-sm); }
.reviews cite span { font-weight: 400; color: var(--ink-2); }

/* ---- Area ---- */
.area { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 880px) { .area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.towns { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4em var(--s-4); font-weight: 600; }
.nap { font-style: normal; display: grid; gap: var(--s-2); }
.nap a { font-weight: 600; }
.map { aspect-ratio: 4 / 3; }

/* ---- Footer ---- */
.site-footer .brand img { height: 56px; width: 56px; border-radius: 50%; }
.site-footer address { font-style: normal; }
.site-footer .footer-call { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: var(--fs-xl); color: var(--accent); }
