/* Public homepage: project photography, readable services and a clear enquiry. */
.home-intro { background: #111b1a; color: #fff; padding: 120px 0 64px; }
.home-intro-inner { max-width: 1280px; padding: 0 24px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.home-eyebrow { color: #a8c3b9; font: 500 11px/1.7 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 24px; }
.home-eyebrow span { color: #5a7a70; padding: 0 7px; }
.home-intro h1 { font: 600 clamp(38px, 4.1vw, 60px)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.045em; }
.home-intro h1 > span { color: #79d7be; }
.home-intro-description { color: #cad7d1; font-size: 16px; line-height: 1.8; max-width: 470px; margin: 24px 0 30px; }
.home-enquire { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; background: #0c634e; color: #fff; font-size: 14px; font-weight: 700; padding: 16px 20px; border-radius: 6px; transition: background .2s; }
.home-enquire:hover { background: #084b3b; color: #fff; }
.home-project-photo { margin: 0; overflow: hidden; border-radius: 8px; background: #1c2d28; min-width: 0; }
.home-project-photo > img { display: block; width: 100%; height: 350px; object-fit: cover; }
.home-project-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; }
.home-project-photo figcaption > span { display: grid; gap: 4px; }
.home-project-photo small { color: #9db9ae; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.home-project-photo strong { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 500; }
.home-project-photo figcaption > span > span { color: #b8cbc2; font-size: 12px; }
.home-project-photo a {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #79d7be;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid rgba(121, 215, 190, 0.35);
  border-radius: 6px;
  background: rgba(121, 215, 190, 0.08);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-project-photo a:hover {
  background: rgba(121, 215, 190, 0.22);
  border-color: #79d7be;
  color: #fff;
  text-decoration: none;
}
.public-home [data-home-services] { padding-top: 64px; padding-bottom: 64px; }
.public-home [data-home-services] h2 { font-size: clamp(28px, 3vw, 38px); text-transform: none; }
.public-home [data-home-services] .grid > div {
  border-radius: 12px;
  padding: 26px;
  background: #f6f8f7;
  border: 1px solid #dce5df;
  transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.public-home [data-home-services] .grid > div:hover {
  border-color: rgba(12, 99, 78, 0.45);
  box-shadow: 0 10px 24px rgba(17, 27, 26, 0.05);
}
.public-home [data-home-services] h3 { text-transform: none; font-size: 20px; }
.public-home [data-home-services] p { font-size: 14px; line-height: 1.65; color: #4b5563; }
.public-home [data-home-services] .grid > div > div:last-child { min-height: auto; }
.home-service-enquire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(12, 99, 78, 0.07);
  border: 1px solid rgba(12, 99, 78, 0.22);
  border-radius: 6px;
  color: #0c634e;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all .2s ease;
}
.home-service-enquire:hover {
  background: #0c634e;
  border-color: #0c634e;
  color: #fff;
  text-decoration: none;
}
.public-home #projects-showcase,
.public-home #scope-builder,
.public-home [data-home-services] {
  scroll-margin-top: calc(var(--nav-height, 72px) + 16px);
}
.public-home #projects-showcase h2 { text-transform: none; }
.public-home #scope-builder { background: #10251e; }
.public-home #scope-builder h2 { text-transform: none; font-size: clamp(30px, 4vw, 42px); }
.public-home .site-enquiry-panel {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px;
  color: #162e24;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.home-form-note { font-size: 13px; line-height: 1.6; color: #52685d; margin-bottom: 24px; }
.public-home .site-enquiry-fields { gap: 22px; }
.public-home .site-enquiry-fields label { font-size: 14px; font-weight: 500; color: #263c31; }
.public-home .site-enquiry-fields :is(input,select,textarea) {
  background: #f8faf9;
  border: 1px solid #94a89c;
  border-radius: 8px;
  color: #162e24;
  min-height: 48px;
  font-size: 16px;
  font-weight: 400;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.public-home .site-enquiry-fields ::placeholder { color: #64796c; opacity: 1; }
.public-home .site-enquiry-fields :is(input,select,textarea):focus {
  background-color: #fff;
  border-color: #0c634e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 99, 78, 0.18);
}
.public-home .site-enquiry-options summary {
  color: #0c634e;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: color .15s ease;
}
.public-home .site-enquiry-options summary:hover { color: #084b3b; }
.public-home .site-enquiry-submit {
  background: #0c634e;
  color: #fff;
  min-height: 50px;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
}
.public-home .site-enquiry-submit:hover:not(:disabled) {
  background: #084b3b;
  box-shadow: 0 4px 14px rgba(12, 99, 78, 0.3);
}
.public-home .site-enquiry-submit:active:not(:disabled) {
  transform: translateY(1px);
}
.public-home .site-enquiry-submit:disabled { cursor: wait; opacity: 0.8; }
.public-home .site-enquiry-note { color: #52685d; font-size: 12px; line-height: 1.7; max-width: 560px; }
.home-form-contact { font-size: 13px; line-height: 1.8; margin-top: 18px; color: #52685d; }
.home-form-contact a { color: #0c634e; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.public-home #scope-error-box:not(.hidden) { color: #8b2323; background: #fff4f3; border-color: #e6aaa5; font-size: 14px; line-height: 1.6; }
.public-home #scope-error-box ul { list-style: disc; padding-left: 20px; }
.public-home #scope-success-screen h3 { color: #162e24; }
.public-home #scope-success-screen > p { color: #52685d; }
.public-home #scope-success-screen > div:first-child { background: #e7f6ef; color: #0c634e; border-color: #0c634e; }
.public-home #scope-success-screen a { background: #0c634e; }
@media (max-width: 1100px) and (min-width: 900px) {
  .home-intro-inner { gap: 28px; }
  .home-intro h1 { font-size: 43px; }
}
@media (max-width: 899px) {
  .home-intro { padding: 96px 0 36px; }
  .home-intro-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-intro-copy { max-width: 630px; }
  .home-intro h1 { font-size: clamp(36px, 7vw, 56px); }
  .home-project-photo > img { height: 280px; }
  .public-home [data-home-services] { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 479px) {
  .home-intro-inner { padding: 0 20px; gap: 28px; }
  .home-eyebrow { font-size: 10px; letter-spacing: .025em; margin-bottom: 18px; }
  .home-intro h1 { font-size: clamp(32px, 9.3vw, 43px); }
  .home-intro-description { font-size: 15px; line-height: 1.7; margin: 20px 0 24px; }
  .home-enquire { width: 100%; }
  .home-project-photo > img { height: 210px; }
  .home-project-photo figcaption { padding: 18px; gap: 12px; }
  .home-project-photo strong { font-size: 18px; }
  .home-project-photo a { font-size: 11px; }
  .public-home .site-enquiry-panel { padding: 24px 20px; }
  .public-home .site-enquiry-fields { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* A clearer first impression and visible routes into the portfolio. */
.home-intro { background: radial-gradient(ellipse at 10% 0%, #23483d 0, transparent 58%), #111b1a; padding-top: 140px; padding-bottom: 72px; }
.home-intro-inner { gap: 56px; }
.home-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.home-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.home-enquire { background: #80dec1; color: #102b22; min-height: 52px; border-radius: 8px; padding: 16px 22px; }
.home-enquire:hover { background: #a0ecd5; color: #102b22; }
.home-secondary-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; color: #e4f1eb; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #698d7f; }
.home-secondary-link:hover { color: #80dec1; text-decoration-color: currentColor; }
.home-intro-assurance { margin-top: 18px; font-size: 12px; line-height: 1.7; color: #b4c9bf; }
.home-project-photo { border: 1px solid #416052; border-radius: 16px; box-shadow: 0 24px 64px #0003; }
.home-project-photo > img { height: 380px; }
.home-project-photo figcaption { background: #1b3028; }
.home-trust-strip { background: #edf3ef; border-bottom: 1px solid #d6e2da; }
.home-trust-inner { max-width: 1280px; margin: auto; padding: 28px 24px; display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); align-items: center; gap: 24px; }
.home-trust-inner > p { color: #52665b; font-size: 13px; line-height: 1.6; }
.home-trust-inner > p strong { color: #1b392b; font-weight: 600; }
.home-trust-inner > a { display: grid; gap: 6px; border-left: 1px solid #c9d8ce; padding: 6px 0 6px 22px; min-height: 56px; }
.home-trust-inner > a strong { color: #193c2c; font-family: "Space Grotesk", sans-serif; font-size: 16px; }
.home-trust-inner > a span { color: #53685b; font-size: 12px; line-height: 1.5; }
.home-trust-inner > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.public-home [data-home-services] .grid > div { background: #fff; border-top: 3px solid #bdd9ca; box-shadow: 0 4px 16px #173d2705; }
.public-home [data-home-services] .grid > div:hover,
.public-home [data-home-services] .grid > div:focus-within { border-color: #478d70; box-shadow: 0 12px 30px #173d2710; }
.home-service-enquire { min-height: 44px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.public-home .project-filter-card { border-radius: 14px; }
.public-home :is(.home-intro, .home-trust-strip) a:focus-visible { outline: 3px solid #36a37c; outline-offset: 5px; }
@media (max-width: 1100px) { .home-intro-inner { gap: 28px; } .home-trust-inner { gap: 14px; } .home-trust-inner > a { padding-left: 14px; } }
@media (max-width: 899px) {
  .home-intro { padding-top: 112px; padding-bottom: 40px; }
  .home-project-photo > img { height: 320px; }
  .home-trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px; gap: 20px; }
  .home-trust-inner > p { grid-column: 1 / -1; }
  .home-trust-inner > p br { display: none; }
}
@media (max-width: 479px) {
  .home-intro { padding-top: 104px; }
  .home-intro-actions { gap: 8px; }
  .home-secondary-link { justify-content: center; width: 100%; }
  .home-project-photo > img { height: 230px; }
  .home-project-photo figcaption { flex-wrap: wrap; }
  .home-trust-inner { padding: 24px 20px; gap: 18px 12px; }
  .home-trust-inner > a strong { font-size: 14px; }
}

/* Keep the keyboard shortcut available without adding a permanent banner. */
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 12px 18px; border-radius: 6px; background: #fff; color: #123c2c; font-weight: 600; }
.skip-link:focus { top: 12px; outline: 3px solid #36a37c; outline-offset: 3px; }
