/*
Theme Name: WA Tiling Solutions — V1 Preview
Theme URI: https://watilingsolutions.com.au/
Author: WA Tiling Solutions
Description: Single-page theme for WA Tiling Solutions. Quote requests are emailed to the business, with an optional photo. Old brochure URLs redirect home.
Version: 1.0.9
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: wa-tiling-v1
*/
:root{--cop:#9c592f;--cop2:#824623;--copper-light:#dbab87;--char:#2e3134;--paper:#faf9f6;--stone:#e7e3dd;--muted:#62666a;--line:#e3dfd8}
*{box-sizing:border-box}html{scroll-padding-top:104px}body{font-size:15px;line-height:1.75;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}a{text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b97143;outline-offset:4px}[hidden]{display:none!important}.wrap{max-width:1240px;padding:0 36px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.18em;line-height:1.5;color:var(--cop);margin:0 0 18px;text-transform:uppercase}.eyebrow.light{color:var(--copper-light)}.h2{font-size:clamp(28px,3.2vw,42px);font-weight:600;letter-spacing:-.045em;line-height:1.18;margin-bottom:16px}.intro{font-size:15px;margin-bottom:38px}.btn{border-radius:2px;font-size:13px;font-weight:600;padding:14px 20px;line-height:1.4;transition:background .2s,transform .2s;min-height:46px}.btn:hover{transform:translateY(-1px)}.btn.outline{background:transparent;color:var(--char);border:1px solid var(--char)}.btn.outline:hover{background:var(--char);color:white}.skip-link{position:fixed;top:-100px;left:12px;z-index:10000;padding:10px 18px;background:white;color:var(--char)}.skip-link:focus{top:10px}
header{border-bottom:3px solid var(--cop);box-shadow:0 3px 16px #00000008}.bar{height:90px;gap:24px}.brand{flex-shrink:0}.brand img{height:auto;width:190px;max-height:66px;object-fit:contain}nav{gap:3px}nav>a,.ddbtn{font-size:12px;font-weight:600;padding:12px 10px;white-space:nowrap}nav>a.btn{font-size:12px;padding:13px 16px}nav>a.btn.ghost{box-shadow:inset 0 0 0 1px #c9c3bb;margin-left:12px;margin-right:6px}.ddbtn span{margin-left:5px}.ddmenu{border-top:3px solid var(--cop);min-width:265px;max-height:75vh;overflow:auto;padding:8px;box-shadow:0 16px 40px #14171924}.ddmenu a{font-size:12px;padding:10px 12px;border-radius:2px}.dd:hover .ddmenu{display:none}.dd.open .ddmenu{display:block}.dd:focus-within .ddbtn{color:var(--cop)}.menu{font-size:25px;min-width:44px;min-height:44px}
.hero{background:radial-gradient(ellipse at 0 20%,#424447 0%,#303336 65%)}.hero:before{background-size:90px 90px;opacity:.5;mask-image:linear-gradient(90deg,transparent,#000)}.herogrid{grid-template-columns:1.07fr .93fr;gap:80px;padding-top:68px;padding-bottom:68px;align-items:center}.hero h1{font-size:clamp(38px,4.35vw,57px);letter-spacing:-.055em;line-height:1.09;max-width:none;margin:0 0 24px;font-weight:600}.hero h1 em{font-style:normal;color:var(--copper-light)}.lead{font-size:15px;line-height:1.8;max-width:48ch;margin-bottom:18px;color:#d6d6d4}.hero-links{margin:18px 0 27px}.text-link{font-size:12px;font-weight:600;color:#fff;text-decoration:none;border-bottom:1px solid #a57755;padding-bottom:7px}.text-link span{margin-left:30px;color:var(--copper-light)}.checks{gap:10px;margin-bottom:24px}.checks li{font-size:12px;padding-left:23px;color:#e1e1de}.checks li:before{width:6px;height:6px;top:8px;background:var(--copper-light)}.small{background:#ffffff05;border-left:2px solid var(--cop);font-size:12px;color:#d4cfca;padding:12px 16px;max-width:49ch}.quote{scroll-margin-top:110px}form.quote{border-top:4px solid var(--cop);padding:28px 30px 24px;box-shadow:0 20px 50px #0000001c;border-radius:3px}form.quote .eyebrow{font-size:9px;margin:0 0 10px}form.quote h2{font-weight:600;font-size:25px;letter-spacing:-.04em}form.quote .sub{font-size:12px;margin-bottom:10px}label{font-size:11px;margin-top:11px;margin-bottom:5px}input,select,textarea{font-family:inherit;font-size:13px;padding:10px 11px;border-color:#dcd8d1;min-height:42px;border-radius:2px}input[type=file]{font-size:11px;padding:7px}input[type=file]::file-selector-button{background:#eeeae4;border:0;padding:7px 10px;color:var(--char);margin-right:10px;font:inherit}textarea{resize:vertical;min-height:74px}.row{gap:14px}form.quote .btn{font-size:13px;margin-top:15px;padding:13px}.form-note{font-size:10px;line-height:1.6;color:#76716b;margin:12px 0 0}.form-note a{color:var(--cop);font-weight:600}.form-status{font-size:12px;line-height:1.6;padding:12px;background:#f1eee8;border-left:3px solid var(--cop);margin-bottom:0}
section{padding:92px 0}.car{background:#eeeae3;color:var(--char);padding:34px 0;border-bottom:1px solid #e0dbd3}.carin{gap:30px;align-items:center}.car svg{width:51px;height:51px}.car h2{font-size:20px;letter-spacing:-.025em;font-weight:600;color:var(--char);margin-bottom:8px;max-width:55ch}.car p{font-size:12px;line-height:1.8;color:var(--muted);max-width:100ch}.svcs{grid-template-columns:repeat(5,1fr);gap:0;background:white;border:1px solid var(--line)}.svc{position:relative;padding:28px 22px 25px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;transition:background .2s}.svc:nth-child(5n){border-right:0}.svc:nth-child(n+6){border-bottom:0}.svc:hover{background:#f6f2ec}.svc-number{position:absolute;right:17px;top:17px;color:#aaa096;font-size:10px;letter-spacing:.05em}.ic,.ic svg,.ic img{width:37px;height:37px}.ic{margin-bottom:23px}.svc h3{font-size:15px;font-weight:600;line-height:1.45;letter-spacing:-.025em;margin-bottom:10px;min-height:43px}.svc p{font-size:11px;line-height:1.8;margin-bottom:24px}.more{font-size:11px;border-bottom:1px solid #c6ab97;padding:5px 0}.more span{margin-left:12px;color:var(--cop)}.process{background:#eae6df}.steps{gap:24px}.steps li{border-top:1px solid #b7ada2;padding-top:20px}.steps li:before{font-size:28px;font-weight:500;content:counter(s,decimal-leading-zero);margin-bottom:23px}.steps b{font-size:13px;font-weight:600;line-height:1.5;margin-bottom:10px}.steps span{font-size:11px;line-height:1.8;display:block}.about{grid-template-columns:.9fr 1.1fr;gap:100px}.about p:not(.eyebrow){font-size:13px;line-height:1.95;color:var(--muted);margin-bottom:18px}.trust{grid-template-columns:1fr 1fr;gap:16px}.trust div{border:1px solid var(--line);border-top:2px solid var(--cop);padding:21px 19px;background:#fff}.trust b{font-size:12px;font-weight:600;margin-bottom:8px}.trust span{font-size:11px;line-height:1.8;display:block}#portfolio{background:#f0ede7}.ph{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#73695f;margin:44px 0 20px}.port{gap:20px}.port figure{border:1px solid #e0dad1;overflow:hidden}.port img{aspect-ratio:4/4.3;transition:transform .4s ease}.port figcaption{font-size:11px;color:#5e5b56;padding:14px 17px;line-height:1.6}.photo-open{display:block;width:100%;padding:0;border:0;position:relative;background:#e1dbd2;cursor:zoom-in;overflow:hidden}.photo-open:hover img{transform:scale(1.035)}.zoom-mark{position:absolute;right:12px;bottom:12px;background:#fff;color:var(--char);width:30px;height:30px;display:grid;place-items:center;font-size:16px;box-shadow:0 2px 8px #0001}.photos .grp{gap:14px}.photos .grp img{aspect-ratio:4/4.3}.photos.is-collapsed>:nth-child(n+6){display:none}.gallery-actions{text-align:center;margin:30px 0 6px}.gallery-actions .btn{font-size:11px}.gallery-actions span{margin-left:24px}.vids{grid-template-columns:repeat(3,1fr)}.port video{aspect-ratio:4/4.5;object-fit:contain;background:#27292a}.contact{background:#2e3134}.contact .eyebrow{color:var(--copper-light)}.contact .h2{font-size:clamp(36px,5vw,58px);max-width:8ch;line-height:1.1}.contact p{font-size:13px}.contact .big{font-size:32px;font-weight:500;letter-spacing:-.04em;color:white}.contact a[href^=mailto]{font-size:14px;color:#d6d3ce;overflow-wrap:anywhere}.contact .btn{margin-top:12px}.cgrid{grid-template-columns:1fr 1fr;gap:100px}.contact .cgrid>div:nth-child(2){padding-left:40px;border-left:1px solid #626363}footer{font-size:10px;padding:26px 0}.back-top{text-decoration:none;color:#d6d1ca}
dialog{max-width:900px;width:calc(100% - 32px);max-height:88dvh;overscroll-behavior:contain;border-radius:4px;box-shadow:0 40px 100px #0005;color:var(--char)}dialog::backdrop{background:#202325cc;backdrop-filter:blur(4px)}.dhead{padding:20px 28px}.dhead h3{font-size:20px;font-weight:600;letter-spacing:-.035em}.x{min-height:44px;min-width:44px;font-size:30px;font-weight:400}.dialog-intro{padding:24px 28px 0;margin:0;color:var(--muted);font-size:14px;max-width:70ch}.dsteps{padding:6px 28px 12px}.dsteps li{grid-template-columns:190px 1fr;gap:30px;padding:24px 0}.med{border-radius:3px;background:#f4efe9;aspect-ratio:4/3;object-fit:contain}.n{font-size:10px;letter-spacing:.12em;text-transform:uppercase}.dsteps h4{font-size:17px;font-weight:600;letter-spacing:-.025em;margin:5px 0 10px}.dsteps p{font-size:13px;line-height:1.8}.dfoot{background:#f3efe9;padding:22px 28px}.photo-dialog{max-width:1000px;background:#202224;overflow:auto;padding:15px}.photo-dialog img{max-height:76dvh;object-fit:contain;width:100%}.photo-dialog p{color:#fff;font-size:13px;text-align:center;padding:8px 36px;margin:0}.photo-close{position:absolute;right:20px;top:20px;background:#202224df;border-radius:50%;z-index:3}.mobile-cta{display:none}.admin-bar header{top:32px}
@media(min-width:1101px){.bar{padding-left:28px;padding-right:28px}}
@media(max-width:1100px){.wrap{padding-left:28px;padding-right:28px}.bar{gap:12px}.brand img{width:160px}nav>a,.ddbtn{font-size:11px;padding:10px 8px}nav>a.btn{padding:13px 12px;font-size:10px}nav>a.btn.ghost{margin-left:2px;margin-right:1px}.herogrid{gap:45px}.svcs{grid-template-columns:repeat(3,1fr)}.svc:nth-child(5n){border-right:1px solid var(--line)}.svc:nth-child(n+6){border-bottom:1px solid var(--line)}.svc:nth-child(3n){border-right:0}.svc:last-child{border-bottom:0}.svc h3{min-height:0}.about{gap:48px}.steps{gap:16px}.svc p{font-size:12px}.svc h3{font-size:16px}}
@media(max-width:980px){.herogrid{grid-template-columns:1fr 1fr;gap:32px;padding-top:54px;padding-bottom:54px}.hero h1{font-size:42px}.lead{font-size:13px}.checks li{font-size:11px}.small{font-size:11px}form.quote{padding:24px 22px}.about{grid-template-columns:1fr 1fr}.steps{grid-template-columns:repeat(3,1fr);gap:30px}.cgrid{grid-template-columns:1fr 1fr;gap:40px}.port{grid-template-columns:repeat(3,1fr)}.trust{grid-template-columns:1fr}.port figcaption{font-size:10px;padding:12px}.vids{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.bar{height:76px}.brand img{width:172px;max-height:54px}.menu{display:block}nav{display:none;position:absolute;top:76px;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:14px 24px 24px;max-height:calc(100dvh - 90px);overflow-y:auto;box-shadow:0 15px 30px #0002;margin:0}nav.show{display:flex}nav>a,.ddbtn{font-size:14px;padding:13px 8px}.ddbtn{width:100%;text-align:left}.ddbtn span{float:right}.ddmenu{position:static;min-width:0;max-height:none;box-shadow:none;border:0;background:#f3efe8;display:none}.ddmenu a{font-size:13px;line-height:1.6;padding:10px 14px}nav>a.btn{font-size:13px;text-align:center;margin-top:6px;margin-left:0}.herogrid{grid-template-columns:1fr;gap:36px;max-width:720px}.hero h1{font-size:clamp(39px,7vw,58px);max-width:18ch}.lead{font-size:15px;max-width:58ch}.checks li{font-size:13px}.small{font-size:13px;max-width:none}.hero-links{margin-bottom:25px}.hero .eyebrow{font-size:10px}form.quote{padding:27px}.quote .row{grid-template-columns:1fr 1fr}label{font-size:12px}input,select,textarea{font-size:16px}form.quote h2{font-size:28px}.form-note{font-size:11px}.about{gap:35px}.port{grid-template-columns:repeat(2,1fr)}.vids{grid-template-columns:repeat(3,1fr)}.photos .grp{grid-column:span 2}.admin-bar header{top:46px}}
@media(max-width:600px){html{scroll-padding-top:90px}.wrap{padding-left:22px;padding-right:22px}.bar{height:73px}.brand img{width:160px}nav{top:73px}section{padding:60px 0}.h2{font-size:32px}.eyebrow{font-size:9px;margin-bottom:14px}.herogrid{padding-top:42px;padding-bottom:38px;gap:30px}.hero h1{font-size:42px;letter-spacing:-.055em}.lead{font-size:13px;line-height:1.9}.checks li{font-size:11px;line-height:1.8}.small{font-size:11px}form.quote{padding:22px}.quote .row{gap:10px}form.quote h2{font-size:25px}.form-note{font-size:10px}label{font-size:11px}label span{font-size:10px}.car{padding:30px 0}.carin{flex-direction:row;gap:18px;align-items:flex-start}.car svg{width:36px;height:36px;flex:none;margin-top:4px}.car h2{font-size:17px;line-height:1.5}.car p{font-size:11px}.svcs{grid-template-columns:repeat(2,1fr)}.svc{padding:25px 17px 22px}.svc:nth-child(3n){border-right:1px solid var(--line)}.svc:nth-child(2n){border-right:0}.svc:nth-last-child(-n+2){border-bottom:0}.svc h3{font-size:14px;min-height:40px}.svc p{font-size:11px}.ic,.ic svg,.ic img{width:34px;height:34px}.svc-number{right:12px;top:15px}.more{font-size:11px}.more span{margin-left:7px}.steps{grid-template-columns:repeat(2,1fr);gap:28px 20px}.steps li:before{font-size:26px;margin-bottom:18px}.steps b{font-size:12px}.steps span{font-size:11px}.about{grid-template-columns:1fr;gap:25px}.about p:not(.eyebrow){font-size:13px}.trust{grid-template-columns:1fr 1fr;gap:10px}.trust div{padding:18px 14px}.trust b{font-size:11px}.trust span{font-size:10px}.port{gap:12px}.port img,.photos .grp img{aspect-ratio:4/5}.port figcaption{font-size:10px;padding:10px;line-height:1.6}.photos .grp{gap:10px}.vids{grid-template-columns:repeat(2,1fr)}.port video{aspect-ratio:9/14}.zoom-mark{width:25px;height:25px;right:8px;bottom:8px}.ph{margin-top:36px;font-size:11px}.cgrid{grid-template-columns:1fr;gap:24px}.contact .h2{font-size:44px;max-width:none}.contact .cgrid>div:nth-child(2){padding:20px 0 0;border-left:0;border-top:1px solid #626363}.contact .big{font-size:30px}.contact p,.contact a[href^=mailto]{font-size:12px}footer{padding-bottom:85px;font-size:9px}.fgrid{gap:10px}.mobile-cta{display:grid;grid-template-columns:1fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:45;background:white;box-shadow:0 -4px 20px #0001;padding-bottom:env(safe-area-inset-bottom)}.mobile-cta a{font-size:11px;text-align:center;padding:17px 9px;text-decoration:none;font-weight:600}.mobile-cta a:last-child{background:var(--cop);color:white}.mobile-cta span{margin-left:12px}.dhead{padding:12px 17px}.dhead h3{font-size:18px;max-width:85%}.dialog-intro{padding:20px 20px 0;font-size:12px}.dsteps{padding:4px 20px 12px}.dsteps li{grid-template-columns:1fr;gap:16px;padding:22px 0}.med{max-height:180px;width:100%}.dsteps h4{font-size:16px}.dsteps p{font-size:12px}.dfoot{padding:20px}.dfoot .btn{display:block;text-align:center}.photo-dialog{padding:10px}.photo-dialog p{font-size:11px}.admin-bar header{top:0}}
@media(max-width:360px){.wrap{padding-left:16px;padding-right:16px}.hero h1{font-size:37px}.quote .row{grid-template-columns:1fr}.svc{padding:24px 13px}.svc h3{font-size:13px}.trust{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* V1.0.1: align the Tiling dropdown chevron with its label. */
.ddbtn{display:inline-flex;align-items:center;gap:8px}
.ddbtn .nav-chevron{display:block;flex:none;width:12px;height:12px}
@media(max-width:850px){.ddbtn .nav-chevron{margin-left:auto}}

/* Quote job types. Checkboxes sit inside a form that otherwise stretches every input. */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.job-types{border:0;margin:12px 0 0;padding:0;min-inline-size:0}
.job-types legend{font-size:11px;font-weight:600;padding:0;margin:0 0 8px}
.job-types legend span{font-weight:400;color:var(--muted)}
.job-options{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
.job-options label{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:12px;font-weight:500;line-height:1.35;cursor:pointer}
.job-options input{width:16px;height:16px;min-height:16px;margin:1px 0 0;padding:0;border:0;accent-color:var(--cop);flex:none}
.job-shot{position:relative;aspect-ratio:9/16;background:#27292a;overflow:hidden}
.job-shot img,.job-shot video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.job-play{position:absolute;inset:0;z-index:2;border:0;padding:0;background:linear-gradient(transparent,rgba(0,0,0,.28));cursor:pointer;display:grid;place-items:end center}
.job-play span{width:52px;height:52px;margin-bottom:18px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.job-play span:before{content:"";border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent var(--char);margin-left:3px}
@media(max-width:600px){.job-options{grid-template-columns:1fr}.job-types legend{font-size:12px}.job-options label{font-size:13px}.quote .row-size{grid-template-columns:1fr}}

/* Header uses the supplied lockup: diamond, name, and tagline, kept in proportion. */
.brand img{width:auto;height:62px;max-width:none;max-height:none;object-fit:contain}
@media(max-width:1100px){.brand img{width:auto;height:50px;max-height:none}}
@media(max-width:850px){.brand img{width:auto;height:56px;max-height:none}}
@media(max-width:600px){.brand img{width:auto;height:50px;max-height:none}}
@media(max-width:400px){.brand img{width:auto;height:44px;max-height:none}}
