/*
Theme Name: Wallace Structural Engineering
Description: Structural engineering practice and service area website.
Version: 1.12.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wallace
*/
:root{--ink:#192622;--dark:#14201d;--paper:#f7f5ef;--red:#a52321;--line:#d8dad2;--muted:#52605b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 "DM Sans",system-ui,sans-serif}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c45642;outline-offset:5px}img{max-width:100%;display:block}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.skip{position:absolute;left:8px;top:-100px;background:white;padding:10px;z-index:5}.skip:focus{top:8px}.header{background:white}.nav{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{width:185px;height:auto}.links{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.links a,.button{text-decoration:none;font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:white;padding:13px 20px;border-radius:4px}.button:hover{background:#7d1a18}.hero{display:grid;grid-template-columns:1fr 1.18fr;background:var(--dark);color:#fff;min-height:600px}.hero-copy{align-self:center;padding:64px clamp(28px,6vw,100px)}.hero figure{margin:0;position:relative;min-height:320px}.hero img{width:100%;height:100%;position:absolute;object-fit:cover}.eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:#9a2924}.hero .eyebrow,.contact .eyebrow{color:#ffc4ad}h1,h2,h3{font-family:"Instrument Sans",system-ui,sans-serif;line-height:1.04;margin:0 0 .45em;letter-spacing:-.045em}h1{font-size:clamp(2.8rem,5.6vw,5.6rem)}h2{font-size:clamp(2rem,4vw,3.8rem)}h3{font-size:1.5rem}.hero p:not(.eyebrow){color:#d6dfdb;max-width:35ch}.band{background:#e9ebe2;border-bottom:1px solid var(--line)}.band .wrap{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;padding:16px 0;font-weight:700;font-size:.9rem}.section{padding:80px 0}.section-heading{max-width:680px;margin-bottom:30px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:white;border:1px solid var(--line);padding:27px;border-radius:6px;display:flex;flex-direction:column}.card p{color:var(--muted)}.card a{margin-top:auto;font-weight:750;color:var(--red)}.feature{display:grid;grid-template-columns:1.2fr 1fr;background:#e5eae2}.feature img{width:100%;height:100%;object-fit:cover}.feature div{padding:clamp(28px,6vw,80px)}.quotes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.quotes blockquote{margin:0;background:white;padding:26px;border-left:3px solid var(--red)}cite{font-style:normal;font-weight:750}.contact{background:var(--dark);color:white}.contact a:not(.button){color:white;overflow-wrap:anywhere}.footer{padding:26px 0;border-top:1px solid var(--line);font-size:.9rem}.footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.inner{max-width:780px}.inner p,.inner li{color:var(--muted)}@media(max-width:830px){.hero,.feature{grid-template-columns:1fr}.hero{min-height:0}.hero-copy{padding:54px 28px}.hero figure{min-height:300px}.grid{grid-template-columns:1fr 1fr}.nav{padding:16px 0;align-items:flex-start;flex-direction:column}.links{gap:14px}.section{padding:52px 0}}@media(max-width:540px){.wrap{width:calc(100% - 32px)}.grid,.quotes{grid-template-columns:1fr}.links{font-size:.86rem}.hero figure{min-height:235px}.band .wrap{display:grid;gap:5px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.wallace-form{display:grid;gap:14px}.wallace-form label{display:grid;gap:5px;font-weight:700}.wallace-form input:not([type=checkbox]),.wallace-form textarea{width:100%;padding:10px 12px;border:1px solid #89938d;border-radius:4px;font:inherit;background:white;color:var(--ink)}.wallace-form .wallace-consent{display:flex;align-items:baseline;gap:8px;font-weight:400}.wallace-form .button{justify-self:start;border:0;font:inherit;font-weight:700;cursor:pointer}.wallace-map{display:block;width:100%;height:310px;border:0}.contact-details a{overflow-wrap:anywhere}#project-inquiry{margin-top:44px}

#about>img{aspect-ratio:1;object-position:center 25%;height:auto}#about>div{align-self:center}

.service-card { min-height: 300px; color: #fff; background: var(--dark); background-image: linear-gradient(115deg,rgba(13,23,19,.91),rgba(13,23,19,.74)),var(--service-photo); background-position: center; background-size: cover; }
.service-residential { --service-photo: url("assets/residential.webp"); }
.service-commercial-assessment { --service-photo: url("assets/commercial-assessment.webp"); }
.service-commercial { --service-photo: url("assets/commercial.webp"); }
.service-card p { color: #f3f5f1; }
.service-card a { color: #fff; text-underline-offset: .2em; }
.inner-banner { display: grid; align-items: center; min-height: clamp(180px, 21vw, 300px); overflow: hidden; position: relative; isolation: isolate; background: var(--dark); color: #fff; }
.inner-banner img, .inner-banner::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.inner-banner img { object-fit: cover; }
.inner-banner::after { content: ""; background: linear-gradient(90deg, rgba(13,23,19,.90), rgba(13,23,19,.53)); }
.inner-banner .wrap { padding-block: 32px; }
.inner-banner h1 { margin: 0; max-width: 23ch; font-size: clamp(2rem, 4.6vw, 4rem); }
.inner-banner + .section { padding-top: clamp(28px, 5vw, 64px); }

.services-inner { max-width: 1120px; }
.services-intro { max-width: 780px; margin-bottom: 44px; }
.service-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(20px,5vw,72px); margin-bottom: clamp(36px,8vw,92px); }
.service-detail h2 { font-size: clamp(1.85rem,3.5vw,3.2rem); }
.service-detail figure { margin: 0; }
.service-detail img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 6px; }
@media(min-width:761px) { .service-detail:nth-of-type(odd) figure { order: -1; } .service-detail:nth-of-type(even) figure { margin-top: 30px; } }
@media(max-width:760px) { .service-detail { grid-template-columns: 1fr; gap: 12px; } }

.quotes blockquote::before {
  content: "\2605\2605\2605\2605\2605" / "";
  display: block;
  text-align: right;
  color: #946000;
  letter-spacing: .14em;
  line-height: 1;
}

.inner-banner-photo::after { content: none; }
.services-inner h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); }
.facebook-link { display:inline-grid; place-items:center; width:36px; height:36px; flex:none; border-radius:50%; background:#0866ff; color:white; text-decoration:none; }
.facebook-link span { font:bold 25px/1 Arial,sans-serif; }
.links .nav-phone { padding:9px 14px; font-size:.88rem; }

.footer-business address { margin-top:14px; font-style:normal; overflow-wrap:anywhere; }


.footer .newsletter p { margin:0 0 14px; }
@media(max-width:760px) {   }

.contact { background: linear-gradient(90deg,rgba(20,32,29,.92),rgba(20,32,29,.66)),url("assets/residential.webp") center 54%/cover; }
.contact-band { display:grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items:center; gap:clamp(24px,5vw,68px); }
.contact-band p { max-width:62ch; margin-bottom:0; }
.contact-actions { display:grid; gap:12px; }
.contact .contact-outline { border:1px solid white; background:transparent; }
.contact .contact-outline:hover { background:var(--dark); }
.footer { padding:0; }
.footer .footer-top { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.75fr) minmax(0,1fr); align-items:start; gap:clamp(24px,5vw,64px); padding-block:44px; }
.footer-nav { display:grid; justify-items:start; gap:8px; }
.footer-nav a { font-weight:600; }
.footer-nav a:hover { text-decoration:underline; }
.footer-nav h2,.newsletter h2 { margin:0 0 8px; font-size:1.25rem; letter-spacing:-.02em; }
.footer .newsletter { max-width:320px; }
.footer-social { display:inline-block; margin-top:8px; }
.footer-bottom { background:var(--dark); color:white; padding:16px 0; }
@media(max-width:760px) { .footer .footer-top,.contact-band { grid-template-columns:1fr; } .footer .footer-top { padding-block:32px; } }
