/* -----------------------------------------------------------------------------
 * au-supplement.css, base layout classes that premium.css enhances.
 * Loaded BETWEEN styles.css and premium.css. Content-free, AU-only.
 * Holds the base service-card grid + team grid that premium.css adds hover /
 * polish on top of. Brought across from the shared Smarta design system so the
 * AU site matches the UK skeleton (TWO-SITE-BLUEPRINT).
 * --------------------------------------------------------------------------- */

/* Typography polish */
body { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
a[href^="tel:"] { white-space: nowrap; }

/* Service-card grid (base box; premium.css Section C adds the richer hover) */
.svc-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  margin-top: 28px;
  max-width: 1040px;
  margin-inline: auto;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 26px 24px 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px -24px rgba(45, 45, 45, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--svc-accent, var(--magenta));
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -26px rgba(45, 45, 45, 0.45);
  border-color: color-mix(in srgb, var(--svc-accent, var(--magenta)) 40%, transparent);
}
.svc-card h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.svc-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--svc-accent, var(--magenta));
  margin-bottom: 12px;
}
.svc-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--charcoal);
  opacity: 0.85;
  flex: 1;
}
.svc-link {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--svc-accent, var(--magenta));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-card:hover .svc-link { gap: 10px; }

/* Illustrated banner on top of each card, flush to the rounded edges. */
.svc-illus {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: -26px -24px 20px;
  background: radial-gradient(
    120% 118% at 50% -12%,
    color-mix(in srgb, var(--svc-accent, var(--magenta)) 20%, #fff),
    color-mix(in srgb, var(--svc-accent, var(--magenta)) 5%, #fff)
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.svc-illus img {
  height: 126px;
  width: auto;
  max-width: 80%;
  display: block;
  transition: transform 0.18s ease;
}
.svc-card:hover .svc-illus img { transform: scale(1.05); }
@media (max-width: 600px) {
  .svc-illus { height: 138px; }
  .svc-illus img { height: 112px; }
}

/* Team grid with photo + initials fallback (founders first) */
.team-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 8px;
}
.team-grid-aus { max-width: 560px; margin-inline: auto; }
.team-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 40px -26px rgba(45, 45, 45, 0.35);
}
.team-photo, .team-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  display: block;
}
.team-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
}
.team-card h3 { margin: 0 0 2px; font-size: 18px; }
.team-role {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.team-bio {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
  opacity: 0.85;
}
.team-contact {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--magenta-dark, #784090);
  text-decoration: none;
}
.team-contact:hover { text-decoration: underline; }
