/* Loaded after the shared stylesheet, so this file only adds what the shared
   one has no opinion about: the page shell, the navigation, the project and fee
   grids, and the enquiry form. */

.wrap {
  max-width: 52rem;
}

/* --- Navigation ---------------------------------------------------------- */

.primary-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.primary-nav {
  margin-bottom: 2.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.primary-nav a,
.footer-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.primary-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
}

/* --- Page shell ---------------------------------------------------------- */

.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 34rem;
}

.cta a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.panel {
  margin: 2.25rem 0;
}

.panel h2,
.case h2,
.band h2 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.services {
  margin: 0;
  padding-left: 1.1rem;
}

.services li {
  margin-bottom: 0.3rem;
}

/* --- Grids --------------------------------------------------------------- */

.case-grid,
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.case p,
.band p {
  margin: 0;
}

.footnote {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* --- Enquiry form -------------------------------------------------------- */

.enquiry-form {
  margin: 2rem 0;
  max-width: 30rem;
}

.enquiry-form .row {
  margin-bottom: 1.1rem;
}

.enquiry-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  font: inherit;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 3px;
  background: transparent;
  color: inherit;
}

.enquiry-form .actions {
  margin-top: 1.4rem;
}

.enquiry-form button {
  font: inherit;
  font-weight: 500;
  padding: 0.5rem 1.3rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.confirmation {
  padding: 0.75rem 1rem;
  border-left: 3px solid rgba(128, 128, 128, 0.6);
  background: rgba(128, 128, 128, 0.08);
}

/* --- Footer -------------------------------------------------------------- */

.page-footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  font-size: 0.9rem;
}

.colophon {
  margin-top: 1rem;
  opacity: 0.75;
}
