:root {
  color-scheme: light;
  --paper: #f6f7fb;
  --white: #fff;
  --ink: #121739;
  --muted: #49516a;
  --green: #242d60;
  --deep: #12183c;
  --red: #b31728;
  --red-light: #ff9aaa;
  --line: #dfe3ef;
  --side: clamp(1.1rem, 4.5vw, 4rem);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9c2041; outline-offset: 4px; }
.hero :focus-visible, .enquiry-intro :focus-visible { outline-color: var(--red-light); }
h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 730; }
h3 { font-size: 1.36rem; font-weight: 720; }
.wrap { width: min(100% - var(--side) * 2, 77rem); margin-inline: auto; }
.section { padding-block: clamp(3.7rem, 7vw, 6.5rem); }
.symbols, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .75rem 1rem; background: var(--white); }
.skip:focus { transform: translateY(0); }
.eyebrow { font-size: .875rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; color: #5b3250; margin-bottom: .7rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .38rem; text-decoration: none; font-size: .9375rem; font-weight: 720; text-align: center; line-height: 1.3; transition: background-color .16s, border-color .16s, color .16s; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #273263; }
.button-dark:disabled { background: #e5e7f0; color: #5b6278; }
.button-accent { background: var(--red); color: #fff; }
.button-accent:hover { background: #941223; }
.button-outline-light { border-color: #bdc4df; color: var(--white); background: #1c244b77; }
.button-outline-light:hover { background: #edf0ff22; border-color: var(--white); }
.button-quiet { background: var(--white); border-color: #cdd3e7; color: var(--ink); }
.button-quiet:hover { background: #eef0f8; border-color: #9aa4c6; }
.site-header { background: var(--white); position: relative; z-index: 2; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; min-width: 0; text-decoration: none; line-height: 1.2; }
.brand img { flex-shrink: 0; }
.header-brand img { width: clamp(13.5rem, 24vw, 17rem); height: auto; }
.site-footer .brand img { border-radius: .35rem; background: #fff; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.04rem; font-weight: 800; letter-spacing: -.03em; }
.brand small { margin-top: .15rem; font-size: .8125rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.35rem); }
.nav a:not(.button) { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 630; text-decoration: none; }
.nav a:not(.button):hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.menu-toggle { display: none; }
.hero {
  color: var(--white);
  background-color: #171d40;
  background-image: linear-gradient(90deg, #101632fa 0%, #121837ed 23%, #151a3fc9 49%, #1418323b 80%, #11152c21 100%), url("assets/silverton-site.webp");
  background-position: center, center 63%;
  background-size: cover;
}
.hero-inner { min-height: clamp(31.5rem, 42vw, 38rem); display: flex; align-items: center; position: relative; padding-block: 4.4rem 4.85rem; }
.hero-copy { position: relative; z-index: 1; }
.hero-location { color: var(--red-light); display: flex; align-items: center; gap: .4rem; margin-bottom: 1.05rem; }
.hero h1 { font-size: clamp(2.75rem, 5.45vw, 5.35rem); font-weight: 750; line-height: .99; letter-spacing: -.064em; text-wrap: balance; }
.hero-intro { color: #f0f1fa; font-size: clamp(1.04rem, 1.55vw, 1.22rem); line-height: 1.62; max-width: 34rem; margin-top: 1.4rem; }
.hero .actions { margin-top: 1.75rem; }
.hero .button { min-height: 3.22rem; }
.image-note { position: absolute; bottom: .9rem; right: 0; max-width: 100%; padding: .22rem .5rem; border-radius: .2rem; background-color: #121735ed; color: #f0f1fa; font-size: .8125rem; }
.facts { background: #edf0f8; border-bottom: 1px solid #dde2ef; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-inner > div { padding: 1.22rem clamp(.65rem, 2.8vw, 2rem); border-left: 1px solid #d5dbed; }
.facts-inner > div:first-child { border-left: none; padding-left: 0; }
.fact-title, .fact-note { display: block; }
.fact-title { font-weight: 770; letter-spacing: -.025em; font-size: 1.13rem; }
.fact-note { font-size: .875rem; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.15rem 2.3rem; align-items: end; margin-bottom: clamp(1.65rem, 4vw, 2.6rem); }
.section-heading > p { max-width: 31rem; color: var(--muted); padding-bottom: .14rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1rem, 1.6vw, 1.45rem); gap: .9rem; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; }
.service-card h3 { min-height: 2.28em; }
.service-card p { color: var(--muted); }
.service-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .38rem; background: #edf0fa; color: #252f66; }
.service-icon .icon { width: 1.5rem; height: 1.5rem; }
.service-action { margin-top: auto; margin-bottom: -.1rem; padding: .6rem 0; border: 0; background: transparent; color: #263367; font-size: .9375rem; font-weight: 740; text-align: left; text-decoration: underline; text-decoration-color: #c88491; text-underline-offset: .23em; }
.service-action:hover { text-decoration-color: currentColor; }
.enquiry-section { background: var(--deep); padding-block: clamp(3.7rem, 7vw, 6.4rem); }
.enquiry-layout { display: grid; grid-template-columns: minmax(15rem, .85fr) minmax(0, 1.55fr); gap: clamp(2rem, 6vw, 6.6rem); align-items: start; }
.enquiry-intro { color: var(--white); padding-top: .5rem; }
.enquiry-intro .eyebrow { color: var(--red-light); }
.enquiry-intro > p:not(.eyebrow) { margin-top: 1rem; color: #e6e9f8; max-width: 30rem; font-size: 1.05rem; }
.privacy-note { display: flex; align-items: start; gap: .63rem; border-top: 1px solid #4e577d; color: #dce1f5; margin-top: 1.7rem; padding-top: 1rem; max-width: 22rem; font-size: .9375rem; }
.privacy-note .icon { color: var(--red-light); margin-top: .08rem; }
.wizard { border-radius: .65rem; background: var(--white); min-width: 0; box-shadow: 0 14px 35px #080d2638; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; padding: 1rem clamp(.8rem, 3vw, 1.85rem); margin: 0; border-bottom: 1px solid var(--line); list-style: none; }
.steps li { display: flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 650; color: #515b77; }
.steps li span { display: grid; flex-shrink: 0; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid #dfe3f0; border-radius: 50%; background: #eff1f8; }
.steps [aria-current="step"] { color: var(--ink); font-weight: 810; }
.steps [aria-current="step"] span { background: #fae4e9; border-color: #c78293; }
.steps .done span { background: #e4e8f7; border-color: #ccd3ed; color: #2a386e; }
.step-panel { padding: clamp(1.05rem, 3.4vw, 1.85rem); }
.step-panel h3 { font-size: clamp(1.35rem, 2.7vw, 1.72rem); }
.step-help { margin-top: .35rem; margin-bottom: 1.1rem; color: var(--muted); }
.choices { padding: 0; margin: 0; border: 0; min-width: 0; }
#service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.option { display: flex; align-items: center; gap: .55rem; min-height: 3.1rem; padding: .56rem .68rem; border: 1px solid #d8deef; border-radius: .35rem; color: var(--ink); background: #f8f9fd; font-size: .9375rem; cursor: pointer; font-weight: 650; line-height: 1.3; }
.option:hover { border-color: #7b8bb6; }
.option:has(:checked) { background: #fdf0f3; border-color: #a24058; }
.option:has(:focus-visible) { outline: 3px solid #9c2041; outline-offset: 2px; }
.option input { margin: 0; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: #a51b32; }
.step-actions { margin-top: 1.15rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .86rem .85rem; }
.field-grid label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; line-height: 1.35; font-size: .9375rem; font-weight: 690; }
.field-grid small { color: var(--muted); font-size: .875rem; font-weight: 480; }
.field-grid input, .field-grid select, .field-grid textarea, .draft { width: 100%; min-width: 0; border-radius: .33rem; border: 1px solid #b8c1d9; background-color: #fcfcff; color: var(--ink); font-size: 1rem; font-weight: 470; line-height: 1.45; padding: .58rem .68rem; }
.field-grid input, .field-grid select { min-height: 2.78rem; }
.field-grid select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #3f4b79 50%), linear-gradient(135deg, #3f4b79 50%, transparent 50%); background-position: calc(100% - 1.03rem) 52%, calc(100% - .72rem) 52%; background-size: .32rem .32rem; background-repeat: no-repeat; padding-right: 1.75rem; }
.field-grid ::placeholder { color: #616981; opacity: 1; font-size: .9375rem; }
.full-field { grid-column: 1 / -1; }
.field-grid textarea, .draft { resize: vertical; }
.draft { font-family: ui-monospace, "Courier New", monospace; font-size: .9375rem; display: block; background: #f4f6fc; min-height: 12rem; }
.form-status { color: #293b72; margin-top: .62rem; font-size: .9375rem; }
.form-status:empty { margin: 0; }
.draft-contact { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; margin-top: .5rem; color: var(--ink); font-size: .9375rem; font-weight: 680; text-decoration-color: #9d6280; text-underline-offset: .23em; }
.draft-contact:hover { text-decoration-color: currentColor; }
.featured-projects, .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.featured-project { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; }
.project-photo { overflow: hidden; aspect-ratio: 16 / 10; background: #d8ddec; }
.project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fencing-photo img { object-position: center 63%; }
.featured-project-copy { padding: clamp(1.1rem, 3vw, 1.9rem); }
.featured-project-copy .project-kicker { margin-bottom: .48rem; color: #713451; font-size: .875rem; font-weight: 720; }
.featured-project-copy > p:last-child { margin-top: .55rem; color: var(--muted); }
.project-subheading { margin-block: clamp(1.7rem, 4vw, 2.5rem) .9rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.project-gallery figure { margin: 0; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; }
.project-gallery .project-photo { aspect-ratio: 4 / 3; }
.roof-photo img { object-position: center 19%; }
.waterproofing-photo img { object-position: center 30%; }
.ceiling-photo img { object-position: center 69%; }
.project-gallery figcaption { padding: .65rem .9rem; font-size: .9375rem; font-weight: 670; color: var(--ink); }
.project-grid { margin-top: clamp(1.7rem, 4vw, 2.5rem); }
.project-card { min-width: 0; padding: clamp(1.05rem, 2.6vw, 1.85rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid #763453; border-radius: .1rem .1rem .5rem .5rem; }
.project-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem .65rem; font-size: .875rem; font-weight: 730; color: #5b3250; margin-bottom: 1.2rem; }
.project-top > :last-child { font-weight: 550; color: var(--muted); white-space: nowrap; }
.project-card p { margin-top: .65rem; color: var(--muted); }
.company-section { border-top: 1px solid #dde2ef; background: #edf0f8; }
.company-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.7rem, 7vw, 6rem); align-items: center; }
.company-intro { margin-top: 1rem; max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
.director-training { margin-top: .75rem; max-width: 34rem; color: var(--muted); }
.client-types { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.client-types span { padding: .35rem .66rem; border: 1px solid #c5cce4; border-radius: .25rem; font-size: .875rem; font-weight: 650; }
.credential-card { background: var(--white); border: 1px solid #dde2ef; border-radius: .5rem; padding: clamp(1.15rem, 3vw, 1.85rem); }
.credential-card ul { list-style: none; margin: .55rem 0 0; padding: 0; }
.credential-card li { display: flex; align-items: flex-start; gap: .7rem; padding: .82rem 0; border-bottom: 1px solid var(--line); }
.credential-card li:last-child { border: 0; padding-bottom: 0; }
.credential-card .icon { color: #3c4a82; margin-top: .15rem; }
.credential-card strong, .credential-card span { display: block; }
.credential-card span { color: var(--muted); font-size: .9375rem; }
.contact-layout h2 { margin-bottom: clamp(1.35rem, 3vw, 2rem); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.contact-card { padding: clamp(1.12rem, 2.8vw, 1.85rem); background: var(--white); border: 1px solid var(--line); border-radius: .55rem; }
.contact-card h3 { display: flex; align-items: center; gap: .45rem; }
.contact-card h3 .icon { color: #763453; }
.contact-card p, .office-address { margin-top: .65rem; color: var(--muted); font-style: normal; }
.contact-card .button { margin-top: .75rem; }
.site-footer { background: #0e1432; color: #eff1ff; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding-block: 1.45rem; gap: 1.1rem; }
.footer-inner > :last-child { justify-self: end; }
.footer-email { justify-self: center; text-align: center; overflow-wrap: anywhere; }
.site-footer small, .site-footer p { color: #d0d7ee; font-size: .875rem; }
.site-footer a { font-size: .9375rem; font-weight: 680; text-decoration-color: #a9b3d5; text-underline-offset: .2em; min-height: 2.75rem; display: inline-flex; align-items: center; }

@media (max-width: 66rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card h3 { min-height: auto; }
}
@media (max-width: 51rem) {
  .hero h1 { letter-spacing: -.052em; }
  .wide-break { display: none; }
  .hero-copy { max-width: 37rem; }
  .enquiry-layout, .company-layout { grid-template-columns: 1fr; }
  .enquiry-intro { padding-top: 0; }
  .privacy-note { margin-top: 1rem; }
}
@media (max-width: 52rem) {
  .header-inner { min-height: 4.4rem; flex-wrap: wrap; }
  .menu-ready .menu-toggle { display: inline-flex; align-items: center; gap: .32rem; min-height: 2.75rem; padding: .45rem .6rem; border: 1px solid #d8ddef; border-radius: .35rem; background: #f7f8fc; color: var(--ink); font-weight: 700; font-size: .875rem; }
  .nav { width: 100%; flex-wrap: wrap; gap: .25rem 1rem; padding-bottom: .7rem; }
  .menu-ready .nav { display: none; }
  .menu-ready .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: .15rem; padding-bottom: 1rem; }
  .nav a:not(.button) { border-top: 1px solid var(--line); }
}
@media (max-width: 45rem) {
  .hero { background-image: linear-gradient(90deg, #121837ed, #141a3f8a), linear-gradient(0deg, #131838e6, #171a3b25 72%), url("assets/silverton-site-small.webp"); background-position: center, center, 74% center; }
  .hero-inner { min-height: 28rem; padding-block: 3.7rem 4rem; }
  .hero-intro { margin-top: 1.1rem; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .facts-inner > div { padding: .8rem .8rem .8rem 1rem; }
  .facts-inner > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-inner > div:nth-child(n+3) { border-top: 1px solid #d5dbed; }
  .section-heading { grid-template-columns: 1fr; gap: .65rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-projects { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .5rem; }
  .footer-inner > :last-child { justify-self: center; }
}
@media (max-width: 32rem) {
  .header-inner { column-gap: .5rem; }
  .header-brand img { width: clamp(9.2rem, 55vw, 12rem); height: auto; }
  .menu-ready .menu-toggle { gap: .25rem; padding-inline: .43rem; }
  .hero .actions { align-items: stretch; flex-direction: column; width: min(100%, 16.5rem); }
  .service-grid, .project-grid, .project-gallery, .field-grid, .contact-grid, #service-options { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); column-gap: .75rem; row-gap: .55rem; align-items: center; padding: 1rem; }
  .service-card p, .service-action { grid-column: 2; }
  .service-action { min-height: 2.75rem; }
  .step-actions .button { flex-grow: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-photo-reveal].photo-revealed img { animation: photo-entrance .45s ease-out both; }
  @keyframes photo-entrance {
    from { opacity: .42; transform: translateY(.7rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
