/*
Theme Name: Stes Builder
Theme URI: https://ste.discovered.studio/
Author: Stes Building
Description: A photo-led building and renovation theme with project stories and private enquiries.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stes-builder
*/
:root {
  --ink: #252b28;
  --muted: #626760;
  --paper: #fffefa;
  --sand: #f2f0e8;
  --line: #d9dbd2;
  --gold: #9a741b;
  --gold-light: #dec58b;
  --dark: #26332d;
  --heading: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
  --width: 1320px;
  --gutter: clamp(24px, 4vw, 64px);
  --header: 96px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--header) + 24px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(.mobile-contact) {
  padding-bottom: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(44px, 5.4vw, 78px);
}
h2 {
  font-size: clamp(34px, 3.5vw, 50px);
}
h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
}
p {
  margin: 0 0 24px;
}
figure {
  margin: 0;
}
ul,
ol {
  padding-left: 24px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #dfcf9d;
  color: var(--ink);
}
.site-container {
  width: min(100% - var(--gutter) * 2, var(--width));
  margin-inline: auto;
}
.section {
  padding: 100px 0;
}
.section--compact {
  padding-top: 24px;
}
.section--sand {
  background: var(--sand);
}
.section--dark {
  background: var(--dark);
  color: var(--paper);
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--gold);
}
.section--dark .eyebrow {
  color: var(--gold-light);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 50px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > div:last-child:not(:first-child),
.section-heading > p {
  max-width: 390px;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}
.section--dark .section-heading p {
  color: #d0d7cf;
}
.actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--dark);
  color: white;
  border: 1px solid var(--dark);
  padding: 17px 25px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: normal;
  border-radius: 2px;
  text-align: center;
}
.button:hover,
.btn:hover {
  background: #3c5044;
  border-color: #3c5044;
}
.button--small {
  font-size: 13px;
  min-height: 48px;
  padding: 13px 20px;
  gap: 18px;
}
.button--light {
  background: var(--paper);
  color: var(--dark);
  border-color: var(--paper);
}
.button--light:hover {
  background: var(--gold-light);
  color: var(--dark);
  border-color: var(--gold-light);
}
.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding: 4px 0;
}
.text-link:hover {
  color: var(--gold);
}
.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 254, 250, 0.98);
  border-bottom: 1px solid rgba(37, 43, 40, 0.08);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1;
}
.wordmark strong {
  font-family: var(--heading);
  font-size: 27px;
  letter-spacing: -1.1px;
  font-weight: 800;
  white-space: nowrap;
}
.wordmark strong > span {
  color: var(--gold);
  font-size: 34px;
  line-height: 0.5;
}
.wordmark__strap {
  font-size: 8px;
  letter-spacing: 0.17em;
  margin-top: 10px;
  font-weight: 600;
}
.custom-logo-link {
  display: block;
}
.custom-logo {
  width: auto;
  max-width: 240px;
  max-height: 64px;
  height: auto;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-menu > li > a:not(.button) {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
}
.nav-menu > li > a:hover {
  color: var(--gold);
}
.nav-menu > li > a.button:hover {
  color: white;
}
.nav-menu li {
  position: relative;
}
.nav-menu .sub-menu {
  list-style: none;
  position: absolute;
  display: none;
  min-width: 220px;
  padding: 16px;
  background: var(--paper);
  box-shadow: 0 5px 20px #0001;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}
.sub-menu a {
  display: block;
  padding: 8px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--dark);
  color: white;
  padding: 12px 24px;
}
.skip-link:focus {
  top: 8px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-hero {
  padding: 46px 0 48px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: stretch;
  gap: clamp(32px, 5vw, 80px);
}
.hero-copy {
  padding: 54px 0 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.3vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}
.hero-intro {
  max-width: 425px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 34px;
}
.hero-copy .actions {
  gap: 28px;
}
.hero-photo {
  min-width: 0;
  position: relative;
  background: var(--dark);
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  max-height: 660px;
  min-height: 570px;
  object-fit: cover;
  object-position: 52% 50%;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 28px 25px;
  background: linear-gradient(transparent, #14201dcc);
  color: white;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
  line-height: 1.5;
}
.hero-photo figcaption > span {
  max-width: 120px;
  color: #e0e5e1;
}
.hero-photo figcaption a {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 45px;
}
.small-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-phone {
  font-size: 13px;
  margin-top: 22px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.credential-strip {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.project-card {
  min-width: 0;
}
.project-card__link {
  display: block;
}
.project-card__image {
  overflow: hidden;
  position: relative;
  background: var(--sand);
  aspect-ratio: 4/3;
  margin-bottom: 22px;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover .project-card__image img {
  transform: scale(1.025);
}
.image-action {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  transition: background 0.2s;
}
.project-card:hover .image-action {
  background: var(--gold-light);
}
.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.project-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.project-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.project-card .text-link {
  font-size: 12px;
}
.project-grid--archive {
  row-gap: 56px;
}
.project-grid--archive .project-card__image {
  aspect-ratio: 4/3;
}
.services-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.services-intro {
  max-width: 380px;
}
.services-intro > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.service-row:hover {
  color: var(--gold);
}
.service-row h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.service-row p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.service-number {
  font-size: 12px;
  color: var(--gold);
  padding-top: 5px;
}
.service-row > span:last-child {
  font-size: 22px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1.13;
  object-fit: cover;
}
.about-photo figcaption {
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
}
.about-copy {
  max-width: 460px;
}
.about-copy .prose {
  margin-bottom: 30px;
}
.prose {
  font-size: 17px;
  max-width: 760px;
}
.prose p {
  color: var(--muted);
}
.prose h2 {
  margin-top: 30px;
  font-size: 34px;
}
.prose h3 {
  margin-top: 24px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose img {
  height: auto;
}
.prose .alignwide {
  max-width: 100%;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}
.process-list li {
  padding-top: 24px;
  border-top: 1px solid #627267;
}
.process-list span {
  font-size: 12px;
  color: var(--gold-light);
}
.process-list h3 {
  margin: 24px 0 14px;
  font-size: 24px;
}
.process-list p {
  font-size: 15px;
  line-height: 1.8;
  color: #d0d7cf;
  margin: 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 35px 24px 0;
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 23px;
  font-weight: 400;
  top: 19px;
  color: var(--gold);
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: 15px;
  color: var(--muted);
  padding-right: 25px;
  margin-bottom: 25px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.review {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.review blockquote {
  margin: 0;
  font-family: var(--heading);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.review figcaption {
  font-size: 13px;
}
.review figcaption > * {
  display: block;
}
.review figcaption a {
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
}
.enquiry-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.enquiry-copy > p:not(.eyebrow) {
  max-width: 340px;
  color: var(--muted);
  font-size: 16px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 40px;
}
.contact-details > span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 15px;
}
.contact-details > a {
  font-size: 20px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.contact-details p {
  font-size: 16px;
}
.quote-form {
  padding: 36px;
  background: var(--paper);
  border: 1px solid #e3e5dc;
}
.form-heading {
  font-family: var(--heading);
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 0 0 5px;
  font-weight: 600;
}
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 20px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
}
.quote-form label span {
  font-weight: 400;
  color: var(--muted);
}
.quote-form input:not([type="file"]):not([type="hidden"]),
.quote-form textarea,
.quote-form select {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #babfb3;
  background: var(--paper);
  border-radius: 0;
  padding: 11px 12px;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 21px;
  min-height: 48px;
}
.quote-form textarea {
  resize: vertical;
  line-height: 1.6;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #75796f;
  font-size: 14px;
}
.upload-zone {
  border: 1px dashed #b7bba9;
  padding: 18px;
  margin: 4px 0 24px;
}
.upload-zone.is-dragging {
  background: #eee5cc;
  border-color: var(--gold);
}
.upload-zone input {
  max-width: 100%;
  font-size: 12px;
}
.upload-zone input::file-selector-button {
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  cursor: pointer;
  margin-right: 12px;
}
.upload-zone .form-hint {
  margin: 10px 0 0;
}
.file-list {
  font-size: 12px;
  margin: 0;
  list-style: none;
  padding: 0;
  overflow-wrap: anywhere;
}
.file-list li {
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.file-list button {
  border: 0;
  background: none;
  text-decoration: underline;
  font-size: 12px;
}
.privacy-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.privacy-note a {
  text-decoration: underline;
}
.quote-form > .button {
  width: 100%;
  justify-content: space-between;
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-message {
  padding: 16px;
  margin: 20px 0;
  background: #e5eddf;
  font-size: 14px;
  color: #243a25;
  border-left: 3px solid #3e6e37;
}
.form-message.is-error {
  background: #fff1ec;
  border-color: #983d26;
  color: #702b18;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  padding: 65px 0 24px;
  background: var(--paper);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 35px;
  gap: 30px;
}
.footer-top p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 70px;
  padding: 40px 0;
}
.footer-grid h2 {
  font-family: var(--body);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-grid a {
  display: block;
  font-size: 13px;
  line-height: 1.8;
  padding: 3px 0;
  overflow-wrap: anywhere;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-grid p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.mobile-contact {
  display: none;
}
.page-intro {
  padding-top: 75px;
  padding-bottom: 58px;
}
.page-intro h1 {
  max-width: 1000px;
  font-size: clamp(40px, 5vw, 68px);
}
.page-intro > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}
.project-cover img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: var(--sand);
}
.project-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
}
.project-story dt {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
}
.project-story dd {
  margin: 0 0 24px;
  font-size: 14px;
}
.project-story .prose h2 {
  margin-top: 0;
}
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
  align-items: start;
}
.project-gallery figure > a {
  display: block;
  position: relative;
  background: #e8e6dd;
}
.project-gallery img {
  width: 100%;
  height: 390px;
  object-fit: contain;
}
.project-gallery figcaption {
  padding-top: 18px;
}
.project-gallery figcaption .eyebrow {
  margin: 0;
  font-size: 10px;
}
.project-gallery figcaption p {
  font-size: 14px;
  margin: 8px 0 0;
  color: var(--muted);
}
.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.project-cta h2 {
  margin: 0;
}
.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 65px;
}
.service-hero h1 {
  font-size: clamp(40px, 4.5vw, 64px);
}
.service-hero p:not(.eyebrow) {
  color: var(--muted);
}
.service-hero img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.service-story {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
}
.photo-dialog {
  border: 0;
  padding: 55px 24px 16px;
  background: var(--dark);
  color: white;
  max-width: min(96vw, 1400px);
  max-height: 94dvh;
  width: max-content;
}
.photo-dialog::backdrop {
  background: #101814e8;
}
.photo-dialog img {
  max-height: 74dvh;
  max-width: 90vw;
  width: auto;
  object-fit: contain;
  margin: auto;
}
.photo-dialog p {
  font-size: 14px;
  text-align: center;
  margin: 15px 0 0;
}
.photo-dialog__close {
  position: absolute;
  right: 16px;
  top: 9px;
  padding: 8px 12px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  min-height: 36px;
}
/* Standard WordPress content templates. */
.hero--blog {
  padding: 70px 0 20px;
}
.hero--blog .hero__title {
  font-size: 64px;
}
.hero__subtitle {
  color: var(--muted);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.blog-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.blog-card__body {
  padding-top: 22px;
}
.blog-card__title {
  font-size: 26px;
}
.blog-card__meta,
.blog-card__excerpt {
  font-size: 14px;
  color: var(--muted);
}
.blog-card__more {
  font-size: 14px;
  text-decoration: underline;
}
.single-post__inner {
  max-width: 850px;
}
.single-post__title {
  font-size: clamp(40px, 5vw, 66px);
}
.single-post__back {
  display: inline-block;
  margin-bottom: 35px;
  font-size: 14px;
  text-decoration: underline;
}
.single-post__image-wrap {
  margin: 36px 0;
}
.single-post__content {
  max-width: 760px;
  margin: auto;
}
.entry-content a {
  text-decoration: underline;
}
.entry-content h2 {
  margin-top: 40px;
}
.entry-content li {
  margin-bottom: 10px;
}
.entry-content img {
  height: auto;
}
.single-post__meta {
  font-size: 13px;
  color: var(--muted);
}
.single-post__cta {
  border-top: 1px solid var(--line);
  padding-top: 35px;
  margin-top: 50px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.page-numbers.current {
  background: var(--dark);
  color: white;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-top: 70px;
  }
  .hero-photo > img {
    min-height: 650px;
  }
}
@media (max-width: 1100px) {
  .hero-layout {
    gap: 36px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-top: 25px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .hero-photo > img {
    min-height: 580px;
  }
  .hero-copy .actions {
    gap: 20px;
  }
  .hero-note {
    padding-top: 30px;
  }
  .services-layout,
  .about-layout,
  .faq-layout,
  .enquiry-layout,
  .project-story,
  .service-hero {
    gap: 55px;
  }
  .nav-menu {
    gap: 22px;
  }
  .wordmark strong {
    font-size: 24px;
  }
  .wordmark__strap {
    font-size: 7px;
  }
  .section {
    padding: 80px 0;
  }
  .section--compact {
    padding-top: 20px;
  }
  .project-grid {
    gap: 25px;
  }
  .project-card h3 {
    font-size: 22px;
  }
  .project-gallery img {
    height: 320px;
  }
}
@media (max-width: 900px) {
  :root {
    --header: 80px;
  }
  .header-inner {
    gap: 15px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 13px;
    min-height: 44px;
  }
  .menu-toggle__lines {
    width: 20px;
    height: 9px;
    border-top: 1px solid;
    border-bottom: 1px solid;
  }
  .js .main-navigation {
    display: none;
  }
  .js .main-navigation.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header));
    overflow: auto;
    padding: 12px var(--gutter) 25px;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-menu > li > a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu > li > a.button {
    margin-top: 18px;
  }
  .nav-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    padding: 4px 18px;
  }
  html:not(.js) .site-header {
    height: auto;
    min-height: var(--header);
  }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: 18px;
  }
  html:not(.js) .main-navigation {
    width: 100%;
  }
  .js .site-header {
    height: var(--header);
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-layout {
    gap: 25px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-photo figcaption {
    padding-inline: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-photo figcaption > span {
    max-width: none;
  }
  .hero-copy .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .services-layout,
  .about-layout,
  .faq-layout,
  .enquiry-layout {
    gap: 36px;
  }
  .section-heading {
    gap: 35px;
  }
  .section-heading > div:last-child:not(:first-child) {
    max-width: 330px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 25px;
  }
  .project-grid:not(.project-grid--archive)
    .project-card:last-child:nth-child(3) {
    grid-column: 1/-1;
    display: grid;
  }
  .project-grid:not(.project-grid--archive)
    .project-card:last-child:nth-child(3)
    .project-card__image {
    aspect-ratio: 2/1;
  }
  .quote-form {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process-list {
    gap: 30px;
  }
  .process-list h3 {
    font-size: 21px;
  }
  .footer-grid {
    gap: 35px;
  }
  .service-hero {
    gap: 35px;
  }
  .service-hero img {
    height: 470px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review {
    max-width: 750px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
    --header: 76px;
  }
  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 35px;
  }
  .section {
    padding: 64px 0;
  }
  .section--compact {
    padding-top: 10px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 19px;
  }
  .home-hero {
    padding: 30px 0 0;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-copy {
    padding: 12px 0 0;
  }
  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -0.055em;
    line-height: 1.05;
    margin-bottom: 22px;
  }
  .hero-intro {
    font-size: 16px;
    max-width: 440px;
    margin-bottom: 26px;
  }
  .hero-copy .actions {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
  }
  .hero-copy .button {
    padding: 15px 19px;
    font-size: 13px;
    gap: 16px;
  }
  .hero-copy .text-link {
    font-size: 13px;
  }
  .hero-note {
    padding-top: 26px;
    margin-top: 0;
  }
  .hero-photo > img {
    min-height: 0;
    height: 380px;
    max-height: none;
    object-position: 50% 48%;
  }
  .hero-photo figcaption {
    flex-direction: row;
    align-items: end;
    gap: 20px;
    font-size: 10px;
    padding: 60px 20px 22px;
  }
  .hero-photo figcaption a {
    font-size: 12px;
    gap: 10px;
  }
  .hero-photo figcaption > span {
    max-width: 120px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    margin-bottom: 22px;
  }
  .section-heading > div:last-child:not(:first-child) {
    max-width: none;
  }
  .section-heading p:not(.eyebrow) {
    font-size: 15px;
  }
  .project-grid,
  .project-grid--archive {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-grid:not(.project-grid--archive)
    .project-card:last-child:nth-child(3) {
    grid-column: auto;
  }
  .project-grid:not(.project-grid--archive)
    .project-card:last-child:nth-child(3)
    .project-card__image {
    aspect-ratio: 4/3;
  }
  .project-card__image {
    margin-bottom: 18px;
  }
  .project-card h3 {
    font-size: 25px;
  }
  .project-card__meta {
    font-size: 9px;
  }
  .project-card p {
    font-size: 14px;
  }
  .services-layout,
  .about-layout,
  .faq-layout,
  .enquiry-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .services-intro {
    max-width: 450px;
  }
  .service-row {
    padding: 23px 0;
    gap: 15px;
    grid-template-columns: 22px 1fr 16px;
  }
  .service-row h3 {
    font-size: 22px;
  }
  .about-layout {
    gap: 32px;
  }
  .about-photo img {
    aspect-ratio: 4/3;
  }
  .about-copy {
    max-width: none;
  }
  .about-copy .prose {
    font-size: 16px;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 34px;
  }
  .process-list li {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 0 20px;
    padding-top: 24px;
  }
  .process-list span {
    padding-top: 3px;
  }
  .process-list h3 {
    margin: 0 0 12px;
    font-size: 23px;
  }
  .process-list p {
    grid-column: 2;
    font-size: 14px;
  }
  .faq-layout {
    gap: 12px;
  }
  .faq-layout h2 {
    margin-bottom: 16px;
  }
  summary {
    font-size: 16px;
  }
  .quote-form {
    padding: 24px;
  }
  .form-heading {
    font-size: 23px;
  }
  .quote-form input:not([type="file"]):not([type="hidden"]),
  .quote-form textarea,
  .quote-form select {
    font-size: 16px;
  }
  .enquiry-copy h2 {
    margin-bottom: 20px;
  }
  .enquiry-copy > p:not(.eyebrow) {
    max-width: none;
  }
  .contact-details:empty {
    display: none;
  }
  .contact-details {
    margin-top: 15px;
  }
  .footer-top {
    display: block;
  }
  .footer-top p {
    margin-top: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 32px 0;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid a {
    padding: 6px 0;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .site-footer {
    padding-top: 45px;
  }
  .page-intro {
    padding-top: 45px;
    padding-bottom: 32px;
  }
  .page-intro h1 {
    font-size: 43px;
  }
  .page-intro > p:not(.eyebrow) {
    font-size: 16px;
  }
  .back-link {
    margin-bottom: 30px;
  }
  .project-cover img {
    max-height: 420px;
  }
  .project-story {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-story aside {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-gallery img {
    height: auto;
    max-height: 470px;
    object-fit: contain;
  }
  .project-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .service-hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 40px;
  }
  .service-hero h1 {
    font-size: 45px;
  }
  .service-hero img {
    height: 330px;
  }
  .service-story {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prose {
    font-size: 16px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero--blog .hero__title {
    font-size: 48px;
  }
  .photo-dialog {
    padding: 55px 12px 12px;
  }
  .photo-dialog p {
    font-size: 12px;
  }
  .credential-strip {
    gap: 15px;
    justify-content: flex-start;
    font-size: 12px;
  }
  .mobile-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    z-index: 45;
    background: var(--paper);
    box-shadow: 0 -3px 15px #0001;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-contact a {
    padding: 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
  }
  .mobile-contact a:last-child {
    background: var(--dark);
    color: white;
  }
  body:has(.mobile-contact) {
    padding-bottom: 60px;
  }
  body:has(input:focus, textarea:focus, select:focus) .mobile-contact {
    display: none;
  }
}
@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 49px;
  }
  .hero-copy .actions {
    gap: 20px;
  }
  .hero-copy .button {
    width: 100%;
    justify-content: space-between;
  }
  .wordmark strong {
    font-size: 22px;
  }
  .wordmark__strap {
    font-size: 6px;
  }
  .quote-form {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .mobile-contact,
  .photo-dialog,
  .quote-form {
    display: none;
  }
  .section {
    padding: 20px 0;
  }
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }
  body {
    color: black;
    background: white;
  }
}

/* Grid children must be allowed to shrink around native upload controls. */
.enquiry-layout > *,
.form-grid > * {
  min-width: 0;
}
.quote-form {
  width: 100%;
  min-width: 0;
}
.upload-zone {
  min-width: 0;
  overflow-wrap: anywhere;
}
.upload-zone input {
  width: 100%;
  min-width: 0;
}
