.home-project {
  --hp-ink: #19272d;
  --hp-dark: #18252b;
  --hp-muted: #4d5a5e;
  --hp-accent: #a33d15;
  --hp-border: #e0d9d1;
  --hp-cream: #f8f4ee;
  margin: 0;
  background: #fff;
  color: var(--hp-ink);
  font: 1rem/1.6 Arial, "Segoe UI", sans-serif;
}

.home-project *, .home-project *::before, .home-project *::after { box-sizing: border-box; }
.home-project h1, .home-project h2, .home-project h3 { margin: 0 0 .65em; line-height: 1.13; }
.home-project h1 { font-size: clamp(2.45rem, 6.1vw, 4.7rem); letter-spacing: -.055em; }
.home-project h2 { font-size: clamp(1.8rem, 3.75vw, 3.05rem); letter-spacing: -.04em; }
.home-project h3 { font-size: 1.22rem; }
.home-project p { margin: 0 0 1em; }
.home-project p:last-child { margin-bottom: 0; }
.home-project a { color: inherit; }
.home-project [hidden] { display: none !important; }

.hp-wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 3rem); }
.hp-skip { position: absolute; z-index: 3; left: 1rem; top: -6rem; padding: .75rem; background: white; }
.hp-skip:focus { top: .5rem; }
.hp-header { background: var(--hp-dark); color: #fff; border-bottom: 1px solid #405158; }
.hp-header .hp-wrap, .hp-footer .hp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hp-header .hp-wrap { min-height: 4.25rem; padding-block: .75rem; }
.hp-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1.06; }
.hp-brand img { width: 46px; height: 46px; object-fit: contain; }
.hp-header-contact { color: #fff; font-weight: 700; text-decoration-color: #f2a784; text-underline-offset: .26em; text-align: right; }

.hp-hero, .hp-report { background: var(--hp-dark); color: #fff; }
.hp-hero { padding-block: clamp(1.7rem, 4.1vw, 4rem) clamp(1.7rem, 3.8vw, 3.4rem); }
.hp-hero-grid, .hp-two-col, .hp-enquiry-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.75rem);
  grid-template-columns: minmax(0, 1fr);
}
.hp-hero .hp-eyebrow { color: #ffb18e; font-weight: 700; font-size: .93rem; margin-bottom: 1rem; }
.hp-hero h1 { margin-bottom: .28em; }
.hp-hero .hp-lead { max-width: 34ch; color: #e3ebed; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hp-hero figure { margin: 0; align-self: center; }
.hp-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: .4rem; }
.hp-hero figcaption { color: #d6dfe1; margin-top: .45rem; font-size: .875rem; }
.hp-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.home-project .hp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: .65rem 1rem;
  color: #fff;
  background: var(--hp-accent);
  border: 1px solid var(--hp-accent);
  border-radius: .28rem;
  font: 700 1rem/1.35 Arial, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.home-project .hp-button:hover { background: #853112; border-color: #853112; }
.home-project .hp-button-outline { background: transparent; border-color: #aebcbe; }
.home-project .hp-button-outline:hover { background: #2b3e47; border-color: #e5ebed; }
.home-project .hp-button-light { background: #fff; color: var(--hp-accent); }
.home-project .hp-button-light:hover { background: #fff0e6; color: #853112; }
.home-project .hp-button:disabled { background: #695952; border-color: #695952; cursor: default; }
.home-project .hp-text-link { color: var(--hp-accent); font-weight: 700; text-underline-offset: .2em; }
.home-project .hp-text-link:hover { text-decoration-thickness: .14em; }

.hp-section { padding-block: clamp(2.2rem, 5.15vw, 4.75rem); }
.hp-why, .hp-reviews { background: var(--hp-cream); }
.hp-strengths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.5rem; margin: 1.1rem 0 0; }
.hp-strengths div { padding-top: .8rem; border-top: 2px solid #b45025; }
.hp-strengths dt { font-weight: 700; margin-bottom: .2rem; }
.hp-strengths dd { margin: 0; color: var(--hp-muted); }

.hp-section-head { margin-bottom: 1rem; }
.hp-section-head h2 { margin: 0 0 .35rem; }
.hp-projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.hp-project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: .4rem;
  overflow: hidden;
  text-decoration: none;
}
.hp-project:hover { border-color: #b45025; }
.hp-project:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.hp-project img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.hp-project div { padding: .85rem 1rem; }
.hp-project h3 { margin: 0 0 .35rem; }
.hp-project p { color: var(--hp-muted); }

.hp-report p { color: #e4ebed; max-width: 62ch; }
.hp-report .hp-report-note { margin-top: .8rem; font-size: .875rem; color: #d1dddf; }
.hp-report-contents {
  min-width: 0;
  align-self: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #22343b;
  border-top: 3px solid #ed956e;
}
.hp-report-contents ul, .hp-resource-links { padding: 0; margin: 0 0 .8rem; list-style: none; }
.hp-report-contents li { padding: .55rem 0; border-bottom: 1px solid #4d5e65; }
.hp-report .hp-text-link { color: #ffbc9b; }
.hp-support img { display: block; margin-bottom: .65rem; }
.hp-support .hp-two-col { align-items: start; }
.hp-support .hp-two-col > div + div { border-top: 1px solid var(--hp-border); padding-top: 1.25rem; }
.hp-resource-links { display: grid; gap: .35rem; }

.hp-review-grid { display: grid; gap: 1rem; margin-bottom: 1.15rem; }
.hp-review-grid blockquote { margin: 0; padding: 1rem; background: #fff; border-left: 3px solid #bb552c; }
.hp-review-grid blockquote p { font-size: 1.15rem; margin-bottom: .45rem; }
.hp-review-grid blockquote footer { color: var(--hp-muted); font-size: .875rem; }
.hp-enquiry { background: #f0ebe4; }
.hp-enquiry-grid > div { max-width: 33rem; }
.hp-form {
  background: #fff;
  padding: clamp(1rem, 3vw, 1.85rem);
  border: 1px solid var(--hp-border);
  border-radius: .4rem;
}
.hp-fields { display: grid; gap: .8rem; grid-template-columns: minmax(0, 1fr); }
.hp-form label { display: block; font-weight: 700; line-height: 1.4; }
.hp-form label span { overflow-wrap: anywhere; }
.hp-form input:not([type="checkbox"], [type="hidden"]), .hp-form select, .hp-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin-top: .3rem;
  padding: .5rem .6rem;
  border: 1px solid #807c77;
  border-radius: .25rem;
  background: #fff;
  color: var(--hp-ink);
  font: inherit;
  font-weight: 400;
}
.hp-form textarea { resize: vertical; }
.hp-form input:focus-visible, .hp-form textarea:focus-visible, .hp-form select:focus-visible {
  outline: 2px solid var(--hp-accent);
  outline-offset: 2px;
}
.hp-form small, .hp-form-note { display: block; margin-top: .3rem; color: var(--hp-muted); font-size: .875rem; font-weight: 400; }
.hp-upload { margin-top: 1rem; }
.hp-upload label span { color: var(--hp-muted); font-weight: 400; }
.hp-form .hp-check { display: flex; align-items: flex-start; gap: .6rem; margin: .9rem 0; font-weight: 400; }
.hp-check input { flex: none; width: 1.15rem; height: 1.15rem; margin: .12rem 0 0; accent-color: var(--hp-accent); }
.hp-status { margin-top: .8rem !important; padding: .75rem; border-left: 3px solid #b45025; background: var(--hp-cream); }
.hp-trap { position: absolute; left: -10000px; }
.hp-footer { padding-block: 1.3rem; background: var(--hp-dark); color: #fff; }
.hp-footer .hp-wrap { flex-wrap: wrap; }
.hp-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.hp-footer p { margin: 0; }

@media (min-width: 560px) {
  .hp-strengths, .hp-projects, .hp-review-grid, .hp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-fields .hp-full { grid-column: 1 / -1; }
  .hp-review-grid > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 850px) {
  .hp-hero-grid { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; }
  .hp-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .hp-strengths, .hp-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-review-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hp-review-grid > blockquote { grid-column: span 2; }
  .hp-review-grid > blockquote:nth-last-child(-n + 2) { grid-column: span 3; }
  .hp-two-col { grid-template-columns: minmax(0, 1.22fr) minmax(0, .8fr); }
  .hp-support .hp-two-col { align-items: end; }
  .hp-support .hp-two-col > div + div { border-top: 0; border-left: 1px solid var(--hp-border); padding: 0 0 0 clamp(1.2rem, 4vw, 3rem); }
  .hp-enquiry-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
}
@media (max-width: 420px) {
  .hp-hero .hp-actions > a { flex: 1 1 100%; }
  .hp-header-contact { font-size: .875rem; }
}
