/* Warhorse Disability Support Services: temporary landing page */
:root {
  --red: #d93420;       /* brand red, darkened slightly from #e63926 so white text passes WCAG AA */
  --red-dark: #c42d1c;  /* text-safe red on white */
  --black: #000;
  --ink: #1a1a1a;
  --grey: #e8eaed;
  --white: #fff;
  --max: 1100px;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 860px; }

/* Logo */
.site-header { background: var(--white); border-top: 8px solid var(--red); padding: 1.75rem 1.25rem 0; }
.logo { width: 220px; margin: 0 auto; }

/* Intro */
.hero {
  color: var(--white); text-align: center;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("images/hero.jpg") center top / cover no-repeat, #222;
  padding: clamp(6.5rem, 16vw, 12rem) 0;
  width: 90%; margin: clamp(1.25rem, 3vw, 2.5rem) auto 0;
  border-radius: clamp(14px, 2vw, 24px); overflow: hidden;
}
.hero__content { max-width: 860px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.hero__sub { font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }

/* Welcome */
.welcome { text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.welcome h2 { color: var(--red-dark); font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1.5rem; }

/* What we do */
.services { background: var(--black); color: var(--white); text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.services h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }

/* NDIS + Commitment */
.cards { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cards__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 25%; border-radius: 10px; margin-bottom: 1.5rem; }
.card h2 { color: var(--red-dark); font-size: 1.85rem; }

/* Contact */
.contact { background: var(--red); color: var(--white); text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.contact p { max-width: 560px; margin-left: auto; margin-right: auto; }
.contact-list {
  display: flex; flex-direction: column; align-items: center;
  max-width: 640px; margin: 2.5rem auto 0; padding: 0;
}
.contact-item {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  width: 100%; padding: 1.75rem 0;
}
.contact-item + .contact-item { border-top: 1px solid rgba(255,255,255,.4); }
.contact-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .5rem;
  border-radius: 50%; background: var(--white); color: var(--red);
}
.contact-list dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; opacity: .9; }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.contact-phone { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.contact-email { font-size: clamp(1.05rem, 2.6vw, 1.4rem); }
.contact-email a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-email a:hover { text-decoration-thickness: 2px; }
.contact-email a:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; border-radius: 4px; }

/* Footer */
.site-footer { background: var(--grey); text-align: center; padding: 2rem 1.25rem; font-size: .95rem; }
.site-footer p { margin-bottom: .5rem; }

@media (max-width: 760px) {
  .cards__grid { grid-template-columns: 1fr; max-width: 560px; }
  .logo { width: 170px; }
}
