/* A quieter finish for the existing homepage. Hero layouts are separate. */
.site-header {
  border-bottom-color: #173b4314;
  box-shadow: 0 2px 16px #173b4303;
}

.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
}

:is(.services-section, .work-section, .about-section, .process-section, .faq-section, .contact-section) {
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
}

.section-heading {
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.section-heading h2, .faq-grid h2 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading > p, .work-intro > p {
  max-width: 25rem;
  line-height: 1.8;
}

.section-heading .eyebrow {
  margin-bottom: 1.1rem;
}

/* Equal-height cards follow their content instead of fixed empty text rows. */
.service-grid {
  align-items: stretch;
  border-color: #dde8e8;
  border-radius: 10px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.75rem 1.5rem 0;
  border-color: #e1eaea;
}

.service-icon {
  margin-bottom: 1.4rem;
}

.service-card h3 {
  font-size: 1.125rem;
  letter-spacing: -.035em;
  margin-bottom: .875rem;
}

.service-card > p {
  flex: 1;
  min-height: 0;
  line-height: 1.8;
}

.service-tags {
  min-height: 0;
  margin-block: 1.25rem 1rem;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.7;
}

.service-details {
  border-color: #e1eaea;
}

.service-details summary {
  min-height: 3.5rem;
  padding-block: 1rem;
}

.service-details > div {
  padding-bottom: 1.5rem;
}

.service-card:focus-within {
  background: #f7fbfb;
}

.service-details summary:focus-visible {
  outline-offset: 2px;
}

.work-controls {
  margin-bottom: 1.75rem;
}

.filter {
  min-height: 44px;
  transition: color .2s, background-color .2s, border-color .2s;
}

.project-grid {
  gap: 2.75rem 1.75rem;
}

.project-image {
  border-radius: 9px;
  box-shadow: 0 1px 0 #173b4308;
}

.project-view {
  padding: .75rem .875rem;
  background: #fffffff5;
}

.project-meta {
  padding-top: 1.4rem;
}

.project-meta > span {
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.6;
}

.project-meta h3 {
  margin-top: .5rem;
  letter-spacing: -.025em;
}

.project-meta > p {
  margin-top: .75rem;
  line-height: 1.8;
}

.about-copy > p:not(.eyebrow) {
  line-height: 1.85;
}

.about-values {
  gap: .875rem 1.5rem;
}

.process-grid {
  margin-top: 2.75rem;
}

.process-grid article:not(:last-child)::after {
  border-top-color: #d6e3e3;
}

.process-grid p {
  max-width: 27ch;
  line-height: 1.8;
}

.faq-list, .faq-list > details {
  border-color: #d8e4e6;
}

.faq-list summary {
  padding-block: 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-list details[open] > summary {
  color: var(--teal);
}

.faq-list details > p {
  padding-bottom: 1.5rem;
  line-height: 1.85;
}

.contact-grid {
  gap: clamp(2rem, 6vw, 5.5rem);
}

.enquiry-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-color: #d8e7e7;
  border-radius: 12px;
  box-shadow: 0 12px 35px #173b4305;
}

.form-heading h3 {
  line-height: 1.45;
  letter-spacing: -.03em;
}

.form-heading > p {
  margin-bottom: 1.75rem;
}

.enquiry-card :is(input:not([type=checkbox]), select, textarea) {
  background-color: #fbfcfc;
  border-color: #cedddd;
  border-radius: 5px;
  margin-bottom: 1.375rem;
}

.enquiry-card :is(input, select, textarea):focus-visible {
  background-color: white;
  border-color: var(--teal);
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.form-row {
  gap: 1rem;
}

.form-navigation {
  gap: .875rem;
}

.form-notice {
  font-size: .875rem;
  line-height: 1.7;
}

.footer-main {
  padding-bottom: 2rem;
}

.footer-main > p {
  font-size: .875rem;
  color: #aec4ca;
}

.footer-bottom {
  gap: 1.5rem 2rem;
}

.footer-bottom p > span {
  color: #9db6be;
  font-size: .8125rem;
}

.footer-bottom nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

@media (max-width: 1180px) {
  .service-card { padding-inline: 1.25rem; }
}

@media (max-width: 760px) {
  .section-heading { margin-bottom: 2rem; }
  .project-grid { gap: 2.25rem 1.25rem; }
  .service-card { padding: 1.5rem 1.25rem 0; }
  .faq-list summary { gap: 1.25rem; }
  .process-grid p { max-width: none; }
}

@media (max-width: 450px) {
  .service-card { padding-inline: 1.5rem; }
  .project-grid { row-gap: 2.5rem; }
  .form-navigation { gap: .75rem; }
}
