/*
Theme Name: Allectrixs Signal Workshop
Theme URI: https://allectrixs.au/
Author: Allectrixs
Description: A responsive electrical-services WordPress theme built for the Allectrixs Signal Workshop homepage. Elementor compatible.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: allectrixs-signal-workshop
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root { --ink: #181b1b; --ink-2: #242521; --mineral: #f1f0eb; --workshop: #d8d7ce; --amber: #f3a51b; --copy: #565750; --line: rgba(36,37,33,.2); --font-body: 'DM Sans', sans-serif; --font-display: 'Barlow Condensed', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mineral); color: var(--ink-2); font-family: var(--font-body); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.allectrixs-shell { overflow: hidden; }
.allectrixs-wrap { width: min(100% - 40px, 1440px); margin: 0 auto; }
.utility-bar { background: var(--ink); color: #d8d7ce; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.utility-bar .allectrixs-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0; }
.utility-bar a { transition: color .16s ease; }
.utility-bar a:hover { color: var(--amber); }
.site-header { position: relative; z-index: 50; background: var(--ink); color: white; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 82px; }
.site-branding { display: flex; align-items: center; gap: 16px; }
.site-branding img { width: 175px; height: auto; }
.brand-subtitle { border-left: 1px solid rgba(255,255,255,.2); padding-left: 16px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.main-navigation { display: flex; justify-content: center; }
.main-navigation ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .16s ease; }
.main-navigation a:hover { color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { color: white; font-size: 14px; font-weight: 600; }
.signal-button, .quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .16s ease, color .16s ease, border-color .16s ease; }
.signal-button { padding: 15px 18px; background: var(--amber); color: var(--ink); }
.signal-button:hover { background: #ffd075; }
.signal-button:active, .quiet-button:active { transform: scale(.97); }
.quiet-button { padding: 14px 17px; border: 1px solid rgba(255,255,255,.28); color: white; }
.quiet-button:hover { border-color: var(--amber); color: var(--amber); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.2); background: transparent; color: white; font-size: 0; }
.menu-toggle::before { content: '☰'; font-size: 22px; }
.hero { position: relative; min-height: 680px; background: var(--ink); color: white; }
.hero-copy { position: relative; z-index: 2; display: flex; min-height: 680px; flex-direction: column; justify-content: space-between; width: min(100% - 40px, 1440px); margin: 0 auto; padding: 80px min(51%, 720px) 42px 0; }
.hero-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 35px; color: var(--amber); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-tag::before { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid rgba(243,165,27,.7); border-radius: 50%; content: 'A'; font-size: 8px; }
.hero h1, .section-heading, .process-title, .contact-title { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; text-transform: uppercase; }
.hero h1 { max-width: 680px; font-size: clamp(58px, 7.3vw, 108px); line-height: .82; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-intro { max-width: 500px; margin: 35px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin: 48px 0 0; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-points span::before { margin-right: 8px; color: var(--amber); content: '✓'; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; overflow: hidden; clip-path: polygon(20% 0,100% 0,100% 100%,0 100%,12% 67%,0 58%,10% 43%,0 43%); }
.hero-media::before { position: absolute; z-index: 2; top: 16%; left: 12%; width: 26px; height: 40%; background: var(--amber); content: ''; clip-path: polygon(100% 0,42% 50%,100% 50%,0 100%,33% 57%,0 57%); }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg,var(--ink),rgba(24,27,27,.12) 45%,transparent); content: ''; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.project-register { position: absolute; z-index: 4; top: 20px; left: 20%; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; padding: 7px 12px; background: rgba(24,27,27,.82); color: rgba(255,255,255,.85); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.image-note { position: absolute; z-index: 4; right: 30px; bottom: 25px; left: 30%; border-top: 1px solid rgba(255,255,255,.28); padding-top: 13px; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.4; }
.image-note strong { display: block; margin-bottom: 5px; color: var(--amber); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.section-padding { position: relative; padding: 112px 0; }
.technical-surface::before { position: absolute; inset: 0; background-image: linear-gradient(to right,rgba(36,37,33,.04) 1px,transparent 1px),linear-gradient(to bottom,rgba(36,37,33,.025) 1px,transparent 1px); background-size: 42px 42px; content: ''; mask-image: linear-gradient(90deg,black,transparent 38%,transparent 62%,black); pointer-events: none; }
.technical-stamp { position: absolute; top: 28px; right: max(20px,calc((100vw - 1440px)/2)); z-index: 1; color: rgba(36,37,33,.35); font-size: 8px; font-weight: 800; letter-spacing: .17em; writing-mode: vertical-rl; }
.section-intro { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; margin-bottom: 56px; }
.eyebrow { margin: 0 0 16px; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.live-rule { display: flex; align-items: center; gap: 12px; color: rgba(36,37,33,.45); }
.live-rule::before { width: 48px; height: 1px; background: currentColor; content: ''; }
.live-rule::after { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(243,165,27,.15); content: ''; }
.section-heading { font-size: clamp(50px,5vw,74px); line-height: .86; }
.section-intro p:last-child { max-width: 530px; margin: 24px 0 0; color: var(--copy); font-size: 16px; line-height: 1.7; }
.service-ledger { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 90px minmax(0,1fr) 42px; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); padding: 28px 0; transition: padding .22s cubic-bezier(.23,1,.32,1), background-color .22s ease; }
.service-row:hover { padding-right: 12px; padding-left: 12px; background: rgba(243,165,27,.12); }
.service-index { color: var(--amber); font-family: var(--font-display); font-size: 42px; }
.service-content { display: flex; align-items: center; gap: 28px; }
.service-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid var(--line); font-size: 18px; transition: background .16s ease, border-color .16s ease; }
.service-row:hover .service-icon { border-color: var(--amber); background: var(--amber); }
.service-title { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.service-copy { max-width: 580px; margin: 10px 0 0; color: var(--copy); font-size: 15px; line-height: 1.55; }
.service-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.service-row:hover .service-arrow { border-color: var(--amber); background: var(--amber); transform: translateX(4px); }
.service-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--copy); font-size: 14px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.text-link:hover { color: #bd7310; }
.projects { background: var(--ink-2); color: white; }
.projects .eyebrow { color: var(--amber); }
.projects .live-rule { color: rgba(255,255,255,.45); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 48px; }
.projects-heading .section-heading { max-width: 780px; }
.project-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 300px 240px; gap: 20px; }
.project-card { position: relative; overflow: hidden; min-height: 250px; background: var(--ink); }
.project-card:first-child { grid-row: 1 / span 2; }
.project-card::after { position: absolute; z-index: 3; top: 0; right: 0; width: 65px; height: 85px; background: var(--ink-2); content: ''; clip-path: polygon(100% 0,100% 100%,55% 100%,75% 56%,0 56%,40% 0); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.23,1,.32,1); }
.project-card:hover img { transform: scale(1.04); }
.project-card::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,rgba(24,27,27,.05) 20%,rgba(24,27,27,.86) 100%); content: ''; }
.project-card .project-register { top: 16px; left: 16px; z-index: 3; font-size: 8px; }
.project-caption { position: absolute; z-index: 3; right: 22px; bottom: 20px; left: 22px; }
.project-category, .project-detail { font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-category { margin: 0; color: var(--amber); }
.project-caption h3 { max-width: 430px; margin: 5px 0 0; font-family: var(--font-display); font-size: clamp(29px,3vw,42px); font-weight: 600; line-height: .9; text-transform: uppercase; }
.project-detail { margin: 12px 0 0; color: rgba(255,255,255,.62); letter-spacing: .08em; }
.project-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }
.project-footer p { max-width: 800px; margin: 0; }
.project-footer a { flex: 0 0 auto; color: var(--amber); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.process { background: var(--workshop); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.process-title { font-size: clamp(50px,5vw,74px); line-height: .86; }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding: 28px 0; }
.process-index { color: var(--amber); font-family: var(--font-display); font-size: 36px; }
.process-item h3 { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.process-item p { max-width: 550px; margin: 10px 0 0; color: var(--copy); font-size: 15px; line-height: 1.65; }
.contact-console { background-color: var(--ink); background-image: linear-gradient(to right,rgba(255,255,255,.055) 1px,transparent 1px); background-size: 44px 100%; color: white; padding: 28px 0; }
.contact-console-inner { display: grid; grid-template-columns: 1fr .9fr; overflow: hidden; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 25px 60px rgba(0,0,0,.22); }
.contact-intro { position: relative; padding: 80px 56px; background: var(--amber); color: var(--ink); }
.contact-routes { position: relative; padding: 56px 48px; }
.contact-register { position: absolute; top: 20px; left: 20px; font-size: 8px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.contact-routes .contact-register { color: var(--amber); }
.contact-title { max-width: 680px; margin-top: 38px; font-size: clamp(58px,6.2vw,86px); line-height: .8; }
.contact-intro p:last-child { max-width: 490px; margin: 30px 0 0; color: rgba(24,27,27,.75); font-size: 16px; line-height: 1.65; }
.contact-location { display: flex; align-items: center; gap: 12px; margin-top: 35px; color: rgba(24,27,27,.65); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-location::before { width: 40px; height: 1px; background: rgba(24,27,27,.5); content: ''; }
.contact-list { margin-top: 35px; border-top: 1px solid rgba(255,255,255,.25); }
.contact-route { display: grid; grid-template-columns: 86px minmax(0,1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.2); padding: 18px 0; transition: padding .16s cubic-bezier(.23,1,.32,1); }
.contact-route:hover { padding-left: 8px; }
.contact-route span { color: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-route strong { overflow: hidden; color: white; font-family: var(--font-display); font-size: clamp(23px,3vw,32px); line-height: 1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.contact-route b { color: var(--amber); font-size: 18px; }
.contact-form-note { margin: 20px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; }
.allectrixs-form-slot { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.allectrixs-form-slot p { margin: 0 0 14px; }
.allectrixs-form-slot label { display: block; margin-bottom: 7px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.allectrixs-form-slot input:not([type="checkbox"]):not([type="radio"]), .allectrixs-form-slot select, .allectrixs-form-slot textarea { width: 100%; border: 1px solid rgba(255,255,255,.25); border-radius: 0; background: rgba(255,255,255,.05); color: white; font: inherit; padding: 12px 13px; }
.allectrixs-form-slot textarea { min-height: 110px; resize: vertical; }
.allectrixs-form-slot input:focus, .allectrixs-form-slot select:focus, .allectrixs-form-slot textarea:focus { border-color: var(--amber); outline: 2px solid rgba(243,165,27,.25); outline-offset: 1px; }
.allectrixs-form-slot input[type="submit"], .allectrixs-form-slot button[type="submit"] { border: 0; border-radius: 0; background: var(--amber); color: var(--ink); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .13em; padding: 14px 18px; text-transform: uppercase; }
.allectrixs-form-slot input[type="submit"]:hover, .allectrixs-form-slot button[type="submit"]:hover { background: #ffd075; }
.site-footer { background: var(--ink); color: white; padding: 42px 0 25px; }
.footer-main { display: flex; align-items: end; justify-content: space-between; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 40px; }
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 430px; margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px 32px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255,255,255,.4); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.page-content { width: min(100% - 40px, 900px); margin: 70px auto; }
.page-content h1 { font-family: var(--font-display); font-size: 64px; text-transform: uppercase; }
.elementor-page .page-content { width: 100%; max-width: none; margin: 0; }

@media (max-width: 1000px) {
  .header-grid { grid-template-columns: auto 1fr auto; gap: 18px; }
  .brand-subtitle, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .main-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; justify-content: stretch; border-bottom: 1px solid rgba(255,255,255,.1); background: var(--ink); padding: 20px; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: grid; gap: 0; }
  .main-navigation li { border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
  .hero, .hero-copy { min-height: auto; }
  .hero-copy { padding-top: 65px; padding-right: 48%; }
  .hero-media { width: 52%; }
  .section-intro, .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 260px; }
  .project-card:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .contact-console-inner { grid-template-columns: 1fr; }
  .footer-main { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
}
@media (max-width: 640px) {
  .allectrixs-wrap { width: min(100% - 32px, 1440px); }
  .utility-bar .allectrixs-wrap { padding: 9px 0; }
  .utility-bar span { font-size: 8px; }
  .site-branding img { width: 115px; }
  .header-grid { min-height: 66px; }
  .signal-button { padding: 12px 13px; font-size: 9px; }
  .hero-copy { width: min(100% - 32px,1440px); padding: 52px 0 26px; }
  .hero h1 { max-width: 310px; font-size: 56px; }
  .hero-intro { max-width: 300px; margin-top: 25px; font-size: 13px; line-height: 1.6; }
  .hero-actions { margin-top: 28px; }
  .hero-points { gap: 11px 18px; margin-top: 30px; font-size: 8px; }
  .hero-media { position: relative; top: auto; right: auto; width: 100%; height: 265px; margin-top: 25px; clip-path: polygon(12% 0,100% 0,100% 100%,0 100%,9% 68%,0 61%); }
  .hero-media::before { left: 10%; }
  .hero-media::after { background: linear-gradient(0deg,rgba(24,27,27,.55),transparent 50%); }
  .project-register { top: 15px; left: 18px; font-size: 7px; }
  .image-note { right: 18px; bottom: 16px; left: 18px; font-size: 9px; }
  .section-padding { padding: 72px 0; }
  .section-heading, .process-title { font-size: 48px; }
  .technical-stamp { top: 20px; right: 12px; }
  .service-row { grid-template-columns: 44px minmax(0,1fr); align-items: start; gap: 14px; padding: 20px 0; }
  .service-content { align-items: start; gap: 14px; }
  .service-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 14px; }
  .service-index { font-size: 28px; }
  .service-title { font-size: 29px; }
  .service-copy { margin-top: 7px; font-size: 12px; line-height: 1.5; }
  .service-arrow { display: none; }
  .service-footer { align-items: start; flex-direction: column; gap: 12px; padding-top: 20px; font-size: 12px; }
  .projects-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
  .project-card, .project-card:first-child { min-height: 250px; grid-column: auto; }
  .project-card:first-child { min-height: 330px; }
  .project-caption { right: 16px; bottom: 16px; left: 16px; }
  .project-caption h3 { font-size: 30px; }
  .project-detail { font-size: 7px; }
  .project-footer { align-items: start; flex-direction: column; gap: 10px; font-size: 10px; }
  .process-item { grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; }
  .process-index { font-size: 28px; }
  .process-item h3 { font-size: 28px; }
  .process-item p { margin-top: 8px; font-size: 12px; line-height: 1.55; }
  .contact-console { padding: 16px 0; }
  .contact-intro { padding: 65px 24px 42px; }
  .contact-routes { padding: 55px 24px 35px; }
  .contact-title { font-size: 55px; }
  .contact-intro p:last-child { margin-top: 22px; font-size: 13px; }
  .contact-route { grid-template-columns: 55px minmax(0,1fr) auto; gap: 10px; padding: 15px 0; }
  .contact-route strong { font-size: 23px; }
  .contact-route span { font-size: 7px; }
  .footer-main { gap: 26px; padding-bottom: 28px; }
  .footer-brand img { width: 170px; }
  .footer-brand p { font-size: 11px; }
  .footer-links { gap: 11px 20px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 7px; font-size: 7px; }
}
@media (prefers-reduced-motion: no-preference) { .hero-copy > div:first-child { animation: allectrixs-arrive .44s cubic-bezier(.23,1,.32,1) both; } }
@keyframes allectrixs-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
