/* Trust and proof: the trust line, the roofs we have served, who we are, the entity in the footer.
   Added 12 Oct 2026 after leads asked by text whether we were insured, whether the price was firm
   and who we actually were. Kept in its own file so it can ship without touching ungrow.css. */

/* ── the trust line: four facts, middle dots between, under every call to action ── */
.ug-trust {
  display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 6px;
  margin: var(--space-4) 0 0; padding: 0; list-style: none;
  font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink-muted);
}
.ug-trust li { white-space: nowrap; }
.ug-trust li + li::before { content: "\00B7"; margin: 0 9px; font-weight: 900; }
.ug-trust a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ug-trust a:hover { color: var(--ink); }
.ug-trust--center { justify-content: center; }
/* In the hero it sits right under the sub, before the button or the notice (owner, 15 Oct 2026).
   It is a footnote to the sub, so the two share one block: the copy column's gap stays between
   the headline, the pitch and the button, and the line hangs a short step under the sub. */
.ug-hero__pitch > .ug-trust { margin-top: var(--space-3); }
/* three short facts fit one line down to a phone. If a narrow column ever wraps them, the dots go
   and the gap carries the separation, so no line can start with a dot. */
@media (max-width: 340px) {
  .ug-trust { column-gap: var(--space-4); }
  .ug-trust li + li::before { content: none; }
}

/* ── recently served: the roofs, traced from the air ── */
.ug-roofs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6); margin: var(--space-12) 0 0; padding: 0; list-style: none;
}
.ug-roof { margin: 0; min-width: 0; }
.ug-roof__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--petrol-deep); }
.ug-roof__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ug-roof .ug-served { right: 8px; bottom: 9px; font-size: 11px; padding: 3px 8px; border-width: 3px; border-radius: 5px; letter-spacing: .14em; }
.ug-roof figcaption {
  margin-top: var(--space-3); display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--space-2); min-width: 0;
}
.ug-roof__where { font-size: 15px; line-height: 20px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ug-roof__when { flex: none; font-size: 10px; line-height: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.ug-roofs__foot { margin-top: var(--space-12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.ug-roofs__credit { font-size: 11px; line-height: 16px; color: var(--ink-muted); }
@media (max-width: 899px) {
  .ug-roofs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); margin-top: var(--space-8); }
  .ug-roof figcaption { flex-direction: column; align-items: flex-start; gap: 2px; margin-top: var(--space-2); }
  .ug-roof__where { font-size: 14px; white-space: normal; }
  .ug-roofs__foot { margin-top: var(--space-8); }
}

/* one job worth showing big: two columns by two rows */
.ug-roofs__feature { grid-column: span 2; grid-row: span 2; display: flex; }
.ug-roofs__feature .ug-roof { flex: 1; display: flex; flex-direction: column; }
.ug-roofs__feature .ug-roof__img { flex: 1; aspect-ratio: auto; min-height: 0; }
.ug-roofs__feature .ug-roof__where { font-size: 18px; line-height: 24px; }

/* the sixteenth square: the one accent on this surface */
/* A true square at every width, the same size as the photo beside it. Everything inside is sized
   off the TILE (cqi, on its cell), not the screen, so the words shrink with the square instead of
   stretching it. In px they needed 197px of height in a 164px tile on a 375 phone, and the box
   grew into a tall rectangle. The caps hold the desktop where it was; the floors keep a phone
   readable and still fit a 320 screen's tile. */
.ug-roofs li:has(> .ug-roof-cta) { container-type: inline-size; }
.ug-roof-cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(4px, 3.2cqi, 8px);
  aspect-ratio: 1; padding: clamp(12px, 9.3cqi, 24px); background: var(--hivis); color: var(--charcoal); text-decoration: none;
}
.ug-roof-cta__big { font-size: clamp(19px, 14cqi, 36px); line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.ug-roof-cta__sub { font-size: clamp(11px, 6.6cqi, 14px); line-height: 1.32; font-weight: 600; }
.ug-roof-cta__go { margin-top: clamp(4px, 4.6cqi, 12px); font-size: clamp(10px, 5.2cqi, 11px); line-height: 1.3; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; border-top: 2px solid var(--charcoal); padding-top: clamp(6px, 4.6cqi, 12px); }
.ug-roof-cta:hover .ug-roof-cta__go, .ug-roof-cta:focus-visible .ug-roof-cta__go { text-decoration: underline; text-underline-offset: 3px; }
.ug-roof-cta:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }
.ug-roofs__foot { justify-content: flex-end; }

/* ── field records: the long-run pairs are not our jobs, so they say so ── */
.ug-records-k { display: inline-block; margin-top: var(--space-4); }

/* ── who we are: plain facts, set like the notice's rows ── */
.ug-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; margin-top: var(--space-8); }
.ug-who__copy .ug-body + .ug-body { margin-top: var(--space-4); }
.ug-who__link { margin-top: var(--space-8); }
.ug-facts { margin: var(--space-6) 0 0; border-top: 3px solid var(--ink); }
.ug-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.ug-facts dt { font-size: 11px; line-height: 22px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.ug-facts dd { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.ug-facts a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .ug-who { grid-template-columns: 1fr; gap: var(--space-8); }
  .ug-facts { margin-top: 0; }
  .ug-facts > div { grid-template-columns: 96px minmax(0, 1fr); }
}

/* ── the entity, in the footer ── */
.ug-footer__entity { margin-top: var(--space-4); text-align: center; color: var(--ink-muted); text-wrap: balance; }
.ug-footer__entity a { color: inherit; font-weight: 700; text-decoration: none; }
.ug-footer__entity a:hover { color: var(--hivis); }

/* Links into the Case files from the home page's own copy (SEO audit, 16 Oct 2026): the words stay
   as written, underlined so they read as links on any ground. */
.ug-beat p a, .ug-qa__a a, .ug-lineup__foot a, .ug-max a {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* ── strategic partner: AUSTILE Roofing (owner, 3 Nov 2026), its card in AUSTILE's own colours, the way their site
   carries an Ungrow card in ours. No link until their site is up. Below the questions and the last ask, above Who we
   are: petrol never meets the deep footer. The card holds 320 to 400px so the headline keeps to two lines at every
   desktop width. ── */
.ug-partner {
  --austile-green: #14352A; --austile-lime: #F4F0E8; --austile-muted: #56665E;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 34vw, 400px); gap: var(--space-12); align-items: center;
}
.ug-partner__copy .ug-body + .ug-body { margin-top: var(--space-4); }
.ug-partner__card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--austile-lime); color: var(--austile-green); border-radius: var(--radius-md);
  padding: var(--space-12) var(--space-8);
}
.ug-partner__logo { width: min(280px, 100%); height: auto; }
.ug-partner__what { margin: var(--space-6) 0 0; font-size: 11px; line-height: 16px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--austile-muted); }
@media (max-width: 1023px) {
  .ug-partner { grid-template-columns: 1fr; gap: var(--space-8); }
  .ug-partner__card { width: 100%; max-width: 520px; padding: var(--space-8) var(--space-6); }
  .ug-partner__logo { width: min(240px, 100%); }
}
