/*
Theme Name: TEQ BUILT – Carpentry & First Fix
Theme URI: https://teqbuilt.com.au/
Author: OpenAI
Description: Custom editorial-style one-page theme for TEQ BUILT, specialising in carpentry, timber framing and first-fix construction.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: teqbuilt
*/
html body{margin:0!important;padding:0!important;background:#111315!important;color:#fff!important;font-family:'DM Sans',Arial,sans-serif!important;line-height:1.65!important}html body #page,html body .site,html body .site-content,html body #content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}html body .entry-content,html body .wp-site-blocks{margin:0!important;padding:0!important;max-width:none!important}:root{--ink:#111315;--paper:#f4f3ef;--white:#fff;--muted:#a8aaa8;--accent:#e96e39;--line:rgba(255,255,255,.14);--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--ink);color:var(--white);font-family:"DM Sans",Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}
.topbar{position:absolute;z-index:10;top:0;left:0;width:100%;border-bottom:1px solid var(--line);background:rgba(13,16,16,.18);backdrop-filter:blur(7px)}
.nav{height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{width:205px;max-height:72px;object-fit:contain}.navlinks{display:flex;gap:30px;align-items:center;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.navlinks a{opacity:.9;transition:.2s}.navlinks a:hover{color:var(--accent)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;background:var(--accent);color:#151515;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;transition:.2s;border:1px solid var(--accent)}
.nav-cta:hover,.btn:hover{background:transparent;color:var(--accent);transform:translateY(-2px)}
.menu-toggle{display:none;background:transparent;border:1px solid #aaa;color:white;padding:9px 12px}
.hero{min-height:790px;display:flex;align-items:center;position:relative;isolation:isolate;background:#202326 url("assets/first-fix-framing.jpg") center 46%/cover no-repeat;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,11,12,.91) 0%,rgba(9,11,12,.70) 48%,rgba(9,11,12,.18) 100%),linear-gradient(0deg,rgba(9,11,12,.36),transparent 60%);z-index:-1}
.hero:after{content:"TEQ BUILT  /  CARPENTRY  /  FIRST FIX";position:absolute;right:26px;bottom:30px;writing-mode:vertical-rl;font-size:9px;letter-spacing:.25em;color:rgba(255,255,255,.7)}
.hero-content{padding:155px 0 85px;max-width:850px}
.eyebrow{display:flex;align-items:center;gap:12px;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}
.eyebrow:before{content:"";width:32px;height:2px;background:var(--accent)}
h1,h2,h3{font-family:Manrope,"Arial",sans-serif;line-height:1.02;letter-spacing:-.055em;margin:0}
h1{font-size:clamp(58px,8vw,108px);font-weight:800;margin:25px 0;text-transform:uppercase}
h1 span{color:var(--accent)}
.hero p{max-width:570px;color:#e0e1df;font-size:17px;line-height:1.8;margin:0 0 32px}
.hero-meta{display:flex;gap:25px;flex-wrap:wrap;margin-top:54px;color:#c2c4c2;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.hero-meta span{border-left:2px solid var(--accent);padding-left:12px}
.intro{background:var(--paper);color:var(--ink);padding:115px 0;position:relative}
.intro:after{content:"01";position:absolute;right:5%;top:20px;font:800 150px Manrope,sans-serif;color:rgba(0,0,0,.035);letter-spacing:-.1em}
.intro-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:90px;align-items:start;position:relative;z-index:1}
.intro h2{font-size:clamp(40px,5.3vw,66px);max-width:470px;margin-top:22px}
.intro-copy{font-size:17px;color:#505653;line-height:1.85;max-width:640px}
.intro-copy p{margin:0 0 22px}.text-link{display:inline-flex;gap:12px;align-items:center;color:var(--ink);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;border-bottom:2px solid var(--accent);padding-bottom:8px;margin-top:10px}
.services{padding:115px 0;background:#191c1e;color:#fff;position:relative}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:52px}
.section-head h2{font-size:clamp(42px,5.5vw,68px);max-width:600px;margin-top:20px;text-transform:uppercase}
.section-head p{max-width:360px;color:var(--muted);margin:0;font-size:14px;line-height:1.8}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
.service{padding:30px 26px 30px 0;border-bottom:1px solid var(--line);min-height:220px;position:relative}
.service:not(:first-child){padding-left:26px;border-left:1px solid var(--line)}
.num{color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.16em}
.service h3{font-size:clamp(21px,2.5vw,29px);margin:32px 0 13px;text-transform:uppercase}
.service p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}
.work{background:var(--paper);color:var(--ink);padding:115px 0}
.work .section-head p{color:#626765}
.gallery{display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:270px 270px;gap:16px}
.gallery figure{margin:0;position:relative;overflow:hidden;background:#d4d4d0}
.gallery figure:first-child{grid-row:span 2}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s}
.gallery figure:hover img{transform:scale(1.045)}
.gallery figure:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.65))}
.gallery figcaption{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:28px 22px 18px;color:#fff;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;display:flex;justify-content:space-between}
.gallery figcaption span{color:var(--accent)}
.gallery-note{font-size:11px;color:#737875;margin-top:18px;letter-spacing:.03em}
.approach{padding:110px 0;background:#dfe4d8;color:var(--ink)}
.approach-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}
.approach h2{font-size:clamp(40px,5.2vw,64px);margin-top:20px;text-transform:uppercase}
.steps{border-top:1px solid #c5cbc1}
.step{display:grid;grid-template-columns:55px 1fr;gap:20px;padding:24px 0;border-bottom:1px solid #c5cbc1}
.step b{font-size:10px;color:#bd542a;letter-spacing:.1em}
.step h3{font-size:19px;margin-bottom:8px;text-transform:uppercase}
.step p{margin:0;color:#626a64;font-size:13px;line-height:1.8}
.contact{padding:115px 0;background:#111315 url("assets/site-and-vehicle.jpg") center/cover no-repeat;position:relative;isolation:isolate}
.contact:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,13,.94),rgba(10,12,13,.76));z-index:-1}
.contact-grid{display:flex;align-items:end;justify-content:space-between;gap:40px}
.contact h2{font-size:clamp(48px,6.5vw,82px);max-width:760px;margin:20px 0 22px;text-transform:uppercase}
.contact p{color:#c1c4c1;max-width:520px;margin:0;line-height:1.8}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border:1px solid rgba(255,255,255,.6);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.btn-outline:hover{border-color:var(--accent);color:var(--accent)}
footer{background:#0b0d0e;padding:28px 0;color:#8f9491;font-size:11px}
.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center}

.footer-brand {
    width: 145px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.footer-brand img {
    display: block;
    width: 145px;
    max-height: 65px;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.social{color:#fff;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.content-area{padding:140px 0 80px;min-height:60vh}
@media(max-width:800px){.wrap{width:calc(100% - 36px)}.nav{height:76px}.brand img{width:175px}.menu-toggle{display:block}.navlinks{display:none;position:absolute;top:76px;left:0;right:0;background:#17191a;padding:22px 24px;flex-direction:column;align-items:flex-start;gap:18px}.navlinks.is-open{display:flex}.hero{min-height:700px}.hero-content{padding-top:130px}.intro-grid,.approach-grid{grid-template-columns:1fr;gap:30px}.intro,.services,.work,.approach,.contact{padding:78px 0}.section-head{display:block}.section-head p{margin-top:20px}.service-grid{grid-template-columns:1fr}.service,.service:not(:first-child){padding:25px 0;border-left:0;min-height:0}.service h3{margin:20px 0 10px}.contact-grid{display:block}.contact-actions{margin-top:28px}}
@media(max-width:520px){.wrap{width:calc(100% - 34px)}h1{font-size:54px}.hero p{font-size:15px}.hero-meta{gap:13px;margin-top:38px}.gallery{display:flex;flex-direction:column}.gallery figure,.gallery figure:first-child{height:230px}.footer-row{align-items:flex-start;flex-direction:column}.contact h2{font-size:48px}}

/* v1.2.0 hardening: keep the intended TEQ BUILT one-page design independent of host theme styles */
body.teqbuilt-home .topbar{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:rgba(13,16,16,.28)!important;z-index:999!important}
body.teqbuilt-home .hero{display:flex!important;width:100%!important;min-height:790px!important;max-width:none!important;background-color:#202326!important;background-image:url("assets/first-fix-framing.jpg")!important;background-position:center 46%!important;background-size:cover!important;background-repeat:no-repeat!important}
body.teqbuilt-home .hero:before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(9,11,12,.91) 0%,rgba(9,11,12,.70) 48%,rgba(9,11,12,.18) 100%),linear-gradient(0deg,rgba(9,11,12,.36),transparent 60%)!important;z-index:-1!important}
body.teqbuilt-home .hero-content{width:100%!important;max-width:850px!important}
body.teqbuilt-home .hero h1{font-size:clamp(58px,8vw,108px)!important;color:#fff!important}
body.teqbuilt-home .hero p{color:#e0e1df!important}
body.teqbuilt-home .btn,body.teqbuilt-home .nav-cta{background:#e96e39!important;border-color:#e96e39!important;color:#151515!important;border-radius:0!important}
body.teqbuilt-home .intro,body.teqbuilt-home .work{background:#f4f3ef!important;color:#111315!important}
body.teqbuilt-home .services{background:#191c1e!important;color:#fff!important}
body.teqbuilt-home .approach{background:#dfe4d8!important;color:#111315!important}
body.teqbuilt-home .contact{background-color:#111315!important;color:#fff!important}
body.teqbuilt-home .navlinks a{font-family:'DM Sans',Arial,sans-serif!important}
body.teqbuilt-home main,body.teqbuilt-home section{max-width:none!important}
@media(max-width:800px){body.teqbuilt-home .hero{min-height:700px!important}}

/* Front-page template enforcement: v1.3.0 */
body.teqbuilt-home .topbar,
body.teqbuilt-home header.topbar {
  position:absolute!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;min-height:88px!important;height:auto!important;
  background:rgba(13,16,16,.34)!important;border-bottom:1px solid rgba(255,255,255,.14)!important;
  z-index:1000!important;backdrop-filter:blur(7px)!important;
}
body.teqbuilt-home .topbar .wrap {max-width:1200px!important;width:calc(100% - 48px)!important;margin:0 auto!important}
body.teqbuilt-home .topbar .nav {height:88px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body.teqbuilt-home .navlinks a:not(.nav-cta) {color:#fff!important}
body.teqbuilt-home .hero {display:flex!important;align-items:center!important;min-height:790px!important;width:100%!important;margin:0!important;padding:0!important;background:#202326 url("assets/first-fix-framing.jpg") center 46%/cover no-repeat!important}
body.teqbuilt-home .hero-content {padding:155px 0 85px!important;max-width:850px!important}
body.teqbuilt-home .hero h1 {color:#fff!important}
body.teqbuilt-home .hero h1 span {color:#e96e39!important}
body.teqbuilt-home .hero .btn,body.teqbuilt-home .nav-cta {background:#e96e39!important;color:#151515!important;border-radius:0!important}
body.teqbuilt-home .hero p,body.teqbuilt-home .hero-meta {color:#fff!important}
body.teqbuilt-home main#top {display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

/* TEQ BUILT - Project Video Showcase */
.video-showcase {
    background: #191c1e;
    color: #fff;
    padding: 100px 0;
}

.video-showcase .section-head {
    margin-bottom: 45px;
}

.video-showcase .section-head h2 {
    color: #fff;
}

.video-showcase .section-head p {
    color: #a8aaa8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #111315;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #292d30;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.04);
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e96e39;
    color: #111315;
    font-size: 22px;
    padding-left: 4px;
}

.video-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.video-number {
    color: #e96e39;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.video-caption strong {
    font-size: 15px;
    letter-spacing: .04em;
}

.video-caption > span:last-child {
    color: #a8aaa8;
    font-size: 12px;
}

.teq-video-modal {
    width: min(900px, 94vw);
    max-width: 94vw;
    padding: 45px 16px 16px;
    border: 1px solid #444;
    background: #111315;
    color: white;
}

.teq-video-modal::backdrop {
    background: rgba(0,0,0,.88);
}

.teq-video-modal video {
    display: block;
    width: 100%;
    max-height: 78vh;
    background: #000;
}

.video-close {
    position: absolute;
    top: 5px;
    right: 12px;
    border: 0;
    background: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

@media(max-width:800px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:520px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-thumb {
        aspect-ratio: 9 / 16;
        max-height: 520px;
    }

    .video-showcase {
        padding: 75px 0;
    }
}
