:root {
  --bg: #fff;
  --bg-alt: #ebebeb;
  --text: #2f2f2f;
  --muted: #5f5f5f;
  /* original Ingenia greens */
  --green-1: #50a497;
  --green-2: #7db885;
  --green-3: #a3c772;
  --accent: var(--green-1);
  --accent-text: #2f7f73;   /* darker teal for text on white (contrast) */
  --line: #d0d0d0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent-text); }

.container { width: min(100% - 2rem, 62rem); margin-inline: auto; }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { padding-block: .6rem; }
.brand img { display: block; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--accent-text); }

.hero {
  padding-block: clamp(3rem, 9vw, 6.5rem);
  background: linear-gradient(135deg, var(--green-1), var(--green-2) 55%, var(--green-3));
  color: #fff;
}
.hero h1 { margin: 0 0 1.5rem; font-size: clamp(1.7rem, 4.5vw, 2.8rem); line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hero blockquote { margin: 0 0 2rem; max-width: 40rem; color: #fff; font-size: 1.15rem; font-style: italic; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hero cite { display: block; margin-top: .25rem; font-size: .9rem; }
.hero cite::before { content: "— "; }

.button {
  display: inline-block;
  padding: .7rem 1.4rem;
  background: #fff;
  color: var(--accent-text);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--bg-alt); }

section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section.alt { background: var(--bg-alt); }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; }
h3 { margin: 0 0 .4rem; font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2rem; }
.grid article { padding-left: 1rem; border-left: 3px solid var(--accent); }
.grid p { margin: 0; color: var(--muted); }
.note { margin: 2.5rem 0 0; padding: 1rem 1.25rem; background: var(--bg-alt); border-radius: 4px; }

.services { margin: 0 0 1.5rem; padding-left: 1.2rem; }
.services li { margin-block: .35rem; }

.why { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.5rem 2.5rem; }
.why dt { font-weight: 700; }
.why dd { margin: .25rem 0 0; color: var(--muted); }

.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1.5rem; align-items: center; }
/* white tiles: the logo PNGs have a white box, so give them a white card instead of fighting the section colour */
.logos li { display: flex; align-items: center; justify-content: center; padding: .75rem; background: #fff; border-radius: 4px; }
.logos img { max-height: 3rem; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos li:hover img, .logos li:focus-within img { filter: none; opacity: 1; }

address { font-style: normal; }

.site-footer { padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer .copy { display: flex; align-items: center; gap: .75rem; }
.site-footer .copy img { display: block; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--muted); }

.legal { padding-block: 2.5rem; }
.legal h1 { margin-top: 0; }
.legal h2 { margin: 2rem 0 .5rem; font-size: 1.2rem; }
.legal p { max-width: 46rem; }
.inline-img { vertical-align: middle; height: 1.4em; width: auto; }
