/* Functional additions only. The approved main.css is kept byte-for-byte. */
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font-family: var(--sans);
}
button.chip {
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
}
.filters button {
  padding: 11px 22px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.filters button.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
img {
  height: auto;
}
.hero__media img,
.phero img,
.cta__bg img,
.ba img,
.gallery img {
  height: 100%;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.custom-logo {
  max-width: 160px;
  max-height: 65px;
  width: auto;
}
.screen-reader-text,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-card fieldset {
  border: 0;
  min-width: 0;
}
.form-card fieldset > p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 26px;
}
.form-card .form-note {
  margin-bottom: 0;
}
.form-card .consent input {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
}
.form-card .consent label {
  cursor: pointer;
}
.form-status:not(:empty) {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--accent);
  color: var(--ink);
  background: var(--bg);
}
.form-status:empty {
  display: none;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.form-actions .btn--ghost {
  width: auto;
}
.upload {
  position: relative;
  cursor: pointer;
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload:focus-within {
  outline: 2px solid var(--accent);
}
.form-card .area-chips {
  grid-template-columns: repeat(3, 1fr);
}
.ba {
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba__handle {
  pointer-events: none;
}
.ba:focus-visible {
  outline-offset: 3px;
}
.ba img {
  pointer-events: none;
  user-select: none;
}
.gallery figure > a {
  display: block;
  height: 100%;
}
.prose ul {
  margin-left: 22px;
}
.prose h1 {
  margin-bottom: 24px;
}
.nc-contact a {
  text-decoration: underline;
}
.nav .submenu {
  display: flex;
  gap: 15px;
}
body.admin-bar .header {
  top: 32px;
}
@media (max-width: 900px) {
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 72px 0 0;
    background: var(--bg);
    padding: 32px var(--gutter) 90px;
    flex-direction: column;
    gap: 20px;
    font: 500 30px var(--serif);
    overflow: auto;
  }
  .menu-open {
    overflow: hidden;
  }
  .header .burger {
    background: transparent;
  }
  .form-card .area-chips {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-meta {
    gap: 15px;
    flex-wrap: wrap;
  }
  .stepper {
    letter-spacing: 0;
  }
  .stepper span {
    gap: 5px;
  }
  body.admin-bar .header {
    top: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.ba.real-comparison .before {
  filter: none;
}
.nc-quote {
  scroll-margin-top: 110px;
}
.nc-quote button:disabled {
  opacity: 0.6;
  cursor: wait;
}
/* The mockup's intrinsic pricing widths overflow narrow service pages. */
@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-layout > .prose,
  .svc-layout > .side {
    min-width: 0;
  }
  .incl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pricing div {
    padding: 18px 10px;
  }
  .pricing b {
    font-size: 28px;
  }
  .pricing span {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 900px) {
  .quote-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-page > div,
  .form-card,
  .qinfo li > div {
    min-width: 0;
  }
  .qinfo b {
    overflow-wrap: anywhere;
  }
}
