/*
Theme Name: Securlock Technologies V2
Theme URI: https://securlock.com.au
Author: Securlock Technologies
Author URI: https://securlock.com.au
Description: Custom responsive WordPress theme for Securlock Technologies, Ballarat.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.8
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: securlock-technologies
*/

:root {
  --ink: #264653;
  --deep: #18323c;
  --green: #2a9d8f;
  --green-dark: #217f75;
  --accent: #2a9d8f;
  --mist: #e5f0ee;
  --paper: #f7f9f9;
  --line: #d7e2e2;
  --muted: #61727a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html, body { max-width: 100%; overflow-x: clip; }
main, section, header, footer, div, article, figure { min-width: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; white-space: nowrap; }
.site-content-basic { margin: 0 auto; max-width: 1100px; min-height: 60vh; padding: 90px 24px; }
.site-content-basic h1 { font-size: clamp(42px,6vw,76px); }
.site-content-basic .entry-content { color: var(--muted); font-size: 17px; line-height: 1.8; }
.admin-bar .site-header { top: 32px; }

.site-header {
  align-items: center;
  background: linear-gradient(105deg,rgba(38,70,83,.98),rgba(42,157,143,.97));
  border-bottom: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}
.brand { align-items: center; display: inline-flex; gap: 12px; width: fit-content; }
.brand-logo { display: block; height: auto; max-width: 248px; width: clamp(172px,17vw,248px); }
.brand-mark {
  align-items: center; background: linear-gradient(135deg,var(--ink),var(--green)); border-radius: 50%; display: flex;
  height: 38px; justify-content: center; position: relative; width: 38px;
}
.brand-mark::before, .brand-mark::after, .brand-mark span {
  background: white; content: ""; display: block; position: absolute;
}
.brand-mark::before { height: 18px; width: 4px; }
.brand-mark::after { height: 4px; width: 18px; }
.brand-mark span { border-radius: 50%; height: 6px; width: 6px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-size: 16px; letter-spacing: .13em; }
.brand-name small { color: var(--muted); font-size: 8px; letter-spacing: .36em; margin-top: 6px; }
nav { display: flex; gap: 34px; }
nav a { color: rgba(255,255,255,.91); font-size: 13px; font-weight: 600; }
nav a:hover { color: white; }
.menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; height: 44px; padding: 9px; width: 44px; }
.menu-toggle > span:not(.screen-reader-text) { background: white; border-radius: 2px; display: block; height: 3px; margin: 5px 0; transition: transform .2s, opacity .2s; width: 26px; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
.header-call { color: white; justify-self: end; font-size: 14px; font-weight: 700; }
.header-call span { color: rgba(255,255,255,.67); display: block; font-size: 9px; letter-spacing: .18em; margin-bottom: 3px; text-transform: uppercase; }

.hero {
  min-height: calc(100vh - 88px); overflow: hidden; padding: clamp(64px,8vw,118px) clamp(24px,7vw,112px) 24px;
  position: relative;
}
.hero::before {
  background-image: linear-gradient(rgba(38,70,83,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(38,70,83,.045) 1px,transparent 1px);
  background-size: 64px 64px; content: ""; inset: 0; mask-image: linear-gradient(to bottom,black,transparent 76%); pointer-events: none; position: absolute;
}
.hero-grid { align-items: center; display: grid; gap: 6vw; grid-template-columns: 1.05fr .95fr; margin: 0 auto; max-width: 1450px; position: relative; z-index: 1; }
.eyebrow { align-items: center; display: flex; font-size: 10px; font-weight: 800; gap: 10px; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { background: var(--accent); border-radius: 50%; height: 7px; box-shadow: 0 0 0 5px rgba(42,157,143,.14); width: 7px; }
h1 { font-size: clamp(57px,6.3vw,104px); letter-spacing: -.065em; line-height: .95; margin: 27px 0 30px; max-width: 850px; }
h1 em, h2 em { color: var(--green-dark); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { color: #4b5a55; font-size: clamp(17px,1.25vw,20px); line-height: 1.65; max-width: 635px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  align-items: center; border-radius: 4px; display: inline-flex; font-size: 13px; font-weight: 750;
  gap: 24px; justify-content: center; letter-spacing: .01em; min-height: 54px; padding: 0 23px; transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button-quiet { border: 1px solid var(--line); }
.button-outline { border: 1px solid rgba(255,255,255,.3); color: white; }
.proof-row { border-top: 1px solid var(--line); display: flex; gap: clamp(24px,4vw,70px); margin-top: 60px; max-width: 650px; padding-top: 26px; }
.proof-row div { align-items: center; display: flex; gap: 12px; }
.proof-row strong { font-size: 18px; }
.proof-row span { color: var(--muted); font-size: 9px; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }

.hero-visual { height: 580px; margin: 0; overflow: hidden; position: relative; box-shadow: 0 34px 75px rgba(38,70,83,.2); }
.hero-visual::after { background: linear-gradient(180deg,transparent 55%,rgba(17,35,42,.7)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-visual > img { height: 100%; object-fit: cover; width: 100%; }
.hero-visual figcaption { align-items: center; background: rgba(247,249,249,.94); bottom: 28px; display: flex; gap: 12px; left: 28px; padding: 16px 19px; position: absolute; z-index: 2; }
.hero-visual figcaption strong,.hero-visual figcaption small { display: block; }
.hero-visual figcaption strong { font-size: 12px; }
.hero-visual figcaption small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.live-dot { background: var(--accent); border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
.photo-index { color: white; font-size: 8px; letter-spacing: .17em; position: absolute; right: 24px; text-transform: uppercase; top: 24px; z-index: 2; }
.hero-footer { align-items: center; bottom: 25px; color: var(--muted); display: flex; font-size: 8px; gap: 14px; justify-content: space-between; letter-spacing: .13em; position: absolute; text-transform: uppercase; width: calc(100% - clamp(48px,14vw,224px)); }
.scroll-line { background: var(--line); flex: 1; height: 1px; max-width: 120px; }

.section-label { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.intro-section, .sectors-section, .faq-section { display: grid; gap: 8vw; grid-template-columns: 180px 1fr; margin: 0 auto; max-width: 1450px; padding: 130px clamp(24px,7vw,112px) 70px; }
.kicker { color: var(--green-dark); font-size: 9px; font-weight: 800; letter-spacing: .2em; margin: 0 0 20px; }
h2 { font-size: clamp(42px,5vw,78px); letter-spacing: -.055em; line-height: 1; margin: 0; max-width: 900px; }
.section-lead { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 30px 0 0; max-width: 650px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 auto; max-width: 1450px; padding: 0 clamp(24px,7vw,112px) 130px; }
.service-card { border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-height: 390px; padding: 34px; transition: background .25s,transform .25s; }
.service-card:nth-child(3n) { border-right: 1px solid var(--line); }
.service-card:nth-child(n+4) { border-bottom: 1px solid var(--line); }
.service-card:hover { background: white; transform: translateY(-4px); }
.service-top { color: var(--muted); display: flex; font-size: 10px; justify-content: flex-end; }
.service-arrow { align-items: center; background: var(--mist); border-radius: 50%; color: var(--green-dark); display: flex; font-size: 16px; height: 38px; justify-content: center; width: 38px; }
.service-card h3 { font-size: 26px; letter-spacing: -.035em; margin: 60px 0 18px; max-width: 280px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 310px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.tag-row span { background: var(--mist); border-radius: 3px; color: #53625c; font-size: 8px; letter-spacing: .06em; padding: 7px 9px; text-transform: uppercase; }

.systems-section {
  background: var(--mist); display: grid; gap: clamp(55px,8vw,130px); grid-template-columns: .9fr 1.1fr;
  padding: 105px clamp(24px,7vw,112px); position: relative;
}
.systems-section::before { background: var(--green); content: ""; height: 4px; inset: 0 0 auto; position: absolute; }
.systems-heading .section-label { margin-bottom: 65px; }
.systems-heading h2 { font-size: clamp(40px,4.6vw,68px); max-width: 690px; }
.systems-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 28px 0 0; max-width: 620px; }
.systems-list { border-top: 1px solid rgba(38,70,83,.18); }
.systems-list article { border-bottom: 1px solid rgba(38,70,83,.18); padding: 36px 0; }
.systems-list article > span { color: var(--green-dark); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.systems-list h3 { font-size: clamp(25px,2.6vw,39px); letter-spacing: -.035em; margin: 18px 0 14px; }
.systems-list p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; max-width: 720px; }

.image-showcase { background: white; padding: 30px clamp(24px,7vw,112px) 140px; }
.image-feature { align-items: center; display: grid; gap: clamp(40px,8vw,130px); grid-template-columns: 1.35fr .65fr; margin: 0 auto 100px; max-width: 1450px; }
.image-feature:last-child { margin-bottom: 0; }
.image-feature-reverse { grid-template-columns: .65fr 1.35fr; }
.image-feature-reverse .image-frame { grid-column: 2; }
.image-feature-reverse .image-feature-copy { grid-column: 1; grid-row: 1; }
.image-frame { height: 520px; overflow: hidden; position: relative; }
.image-frame::after { background: linear-gradient(180deg,transparent 60%,rgba(24,50,60,.7)); content: ""; inset: 0; position: absolute; }
.image-frame img { height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; }
.image-feature:hover .image-frame img { transform: scale(1.025); }
.image-frame > span { bottom: 24px; color: white; font-size: 9px; font-weight: 800; left: 26px; letter-spacing: .17em; position: absolute; text-transform: uppercase; z-index: 2; }
.image-feature-copy > span { color: var(--green-dark); font-family: monospace; font-size: 10px; }
.image-feature-copy h3 { font-size: clamp(32px,3.4vw,54px); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 24px; }
.image-feature-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; }

.why-section { background: var(--deep); color: white; display: grid; grid-template-columns: 1fr 1fr; }
.why-panel { padding: 110px clamp(32px,7vw,110px); }
.section-label.light { color: #879c94; margin-bottom: 100px; }
.green { color: #69c8bd; }
.why-panel h2 { font-size: clamp(44px,5vw,75px); }
.why-panel > p:not(.kicker) { color: #a8b8b2; font-size: 15px; line-height: 1.8; margin: 30px 0; max-width: 580px; }
.text-link { border-bottom: 1px solid var(--green); color: var(--green); display: flex; font-size: 12px; justify-content: space-between; margin-top: 65px; max-width: 240px; padding-bottom: 12px; }
.why-list { border-left: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 1fr 1fr; }
.why-list > div { border-bottom: 1px solid rgba(255,255,255,.12); padding: 75px 50px; }
.why-list > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.why-list span { color: var(--green); font-family: monospace; font-size: 10px; }
.why-list h3 { font-size: 20px; margin: 0 0 15px; }
.why-list p { color: #8fa19a; font-size: 12px; line-height: 1.7; }

.legacy-section {
  background: var(--mist); display: grid; gap: clamp(48px,8vw,130px); grid-template-columns: 1.1fr .9fr;
  margin: 0 auto; padding: 110px clamp(24px,7vw,112px); position: relative;
}
.legacy-section::before { background: var(--green); content: ""; height: 4px; left: 0; position: absolute; top: 0; width: 100%; }
.legacy-heading .section-label { margin-bottom: 70px; }
.legacy-heading h2 { font-size: clamp(42px,4.8vw,72px); max-width: 760px; }
.legacy-copy { align-self: end; border-left: 1px solid rgba(38,70,83,.18); padding-left: clamp(30px,4vw,70px); }
.legacy-copy p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 22px; max-width: 650px; }
.legacy-link { color: var(--green-dark); margin-top: 48px; max-width: 280px; }

.sectors-section { padding-bottom: 130px; }
.sectors-content h2 { max-width: 780px; }
.sector-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 60px; }
.sector-cloud span { border: 1px solid var(--line); border-radius: 100px; color: #43504c; font-size: clamp(17px,2vw,29px); padding: 15px 25px; }
.sector-cloud span.accent { background: var(--ink); border-color: var(--ink); color: white; }
.project-band { background: #dcebea; display: grid; grid-template-columns: 1.5fr 1fr; }
.project-copy { padding: 100px clamp(32px,8vw,130px); }
.project-copy h2 { font-size: clamp(42px,5vw,72px); }
.project-copy > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.75; margin-top: 30px; max-width: 650px; }
.project-stat { background: linear-gradient(145deg,var(--green),var(--green-dark)); color: white; display: flex; flex-direction: column; justify-content: space-between; min-height: 490px; padding: 55px; }
.project-stat > span { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.project-stat strong { font-size: clamp(30px,3vw,46px); letter-spacing: -.04em; line-height: 1.08; }
.project-stat a { border-top: 1px solid rgba(10,40,30,.25); display: flex; font-size: 12px; justify-content: space-between; padding-top: 18px; }

.faq-section { padding-bottom: 130px; }
.faq-section h2 { margin-bottom: 55px; }
.faq-list { border-top: 1px solid var(--line); max-width: 850px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; font-size: 16px; font-weight: 700; justify-content: space-between; list-style: none; padding: 25px 0; }
summary::-webkit-details-marker { display:none; }
summary span { color: var(--green-dark); font-size: 22px; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: -5px 45px 25px 0; max-width: 670px; }

.contact-section { background: var(--deep); color: white; padding: 110px clamp(24px,10vw,160px) 50px; text-align: center; }
.contact-section .eyebrow { justify-content: center; }
.contact-section h2 { font-size: clamp(48px,7vw,100px); margin: 35px auto; max-width: 1050px; }
.contact-section h2 em { color: #69c8bd; }
.contact-section > p:not(.eyebrow) { color: #9fb0aa; font-size: 16px; line-height: 1.7; margin: 0 auto; max-width: 600px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 45px; }
.contact-meta { border-top: 1px solid rgba(255,255,255,.13); color: #83968f; display: flex; font-size: 8px; justify-content: space-between; letter-spacing: .17em; margin-top: 100px; padding-top: 25px; text-transform: uppercase; }
footer { align-items: center; background: #102a34; color: white; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 40px clamp(24px,7vw,112px); }
.footer-brand .brand-logo { width: 210px; }
footer > p { color: #6e847c; font-size: 8px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
footer > div { color: #6e847c; display: flex; font-size: 8px; gap: 30px; justify-content: end; }
footer a:hover { color: var(--green); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; grid-column: 3; }
  nav { background: var(--deep); box-shadow: 0 20px 35px rgba(24,50,60,.22); display: none; flex-direction: column; gap: 0; left: 0; padding: 12px 24px 20px; position: absolute; right: 0; top: 100%; }
  nav.is-open { display: flex; }
  nav a { border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; padding: 16px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-footer { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:nth-child(3n) { border-right: 0; }
  .service-card:nth-child(2n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .why-section { grid-template-columns: 1fr; }
  .why-list { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .legacy-section { grid-template-columns: 1fr; }
  .systems-section { grid-template-columns: 1fr; }
  .legacy-copy { border-left: 0; border-top: 1px solid rgba(38,70,83,.18); padding-left: 0; padding-top: 42px; }
  .image-feature,.image-feature-reverse { gap: 45px; grid-template-columns: 1fr 1fr; }
  .image-feature-reverse .image-frame { grid-column: 2; }
}

@media (max-width: 700px) {
  .admin-bar .site-header { top: 46px; }
  .site-header { grid-template-columns: minmax(0,1fr) auto; height: 74px; padding: 0 16px 0 20px; }
  .menu-toggle { grid-column: 2; }
  .header-call { display: none; }
  .brand-mark { height: 34px; width: 34px; }
  .brand-logo { width: 170px; }
  .brand-name strong { font-size: 13px; }
  .brand-name small { font-size: 7px; }
  .hero { max-width: 100%; padding: 58px 20px 70px; }
  .hero-grid { gap: 55px; }
  .hero-visual { height: 390px; }
  h1 { font-size: clamp(40px,11.5vw,52px); letter-spacing: -.05em; overflow-wrap: anywhere; word-break: normal; }
  .hero-intro { font-size: 17px; overflow-wrap: anywhere; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .button { max-width: 100%; }
  .proof-row { display: grid; gap: 22px 12px; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  .proof-row div { align-items: start; flex-direction: column; gap: 5px; }
  .proof-row strong { font-size: 15px; }
  .proof-row span { font-size: 8px; overflow-wrap: anywhere; }
  .intro-section, .sectors-section, .faq-section { gap: 35px; grid-template-columns: 1fr; padding: 85px 22px 50px; }
  .services-grid { grid-template-columns: 1fr; padding: 0 22px 85px; }
  .service-card, .service-card:nth-child(2n), .service-card:nth-child(3n) { border: 1px solid var(--line); border-bottom: 0; min-height: 330px; padding: 28px; }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .service-card h3 { margin-top: 40px; }
  .image-showcase { padding: 20px 22px 85px; }
  .image-feature,.image-feature-reverse { gap: 34px; grid-template-columns: 1fr; margin-bottom: 75px; }
  .image-feature-reverse .image-frame,.image-feature-reverse .image-feature-copy { grid-column: 1; grid-row: auto; }
  .image-feature-reverse .image-frame { grid-row: 1; }
  .image-frame { height: 330px; }
  .why-panel { padding: 75px 24px; }
  .section-label.light { margin-bottom: 65px; }
  .why-list { grid-template-columns: 1fr; }
  .why-list > div, .why-list > div:nth-child(odd) { border-right: 0; padding: 48px 25px; }
  .why-list h3 { margin-top: 25px; }
  .legacy-section { gap: 38px; padding: 75px 22px; }
  .systems-section { gap: 48px; grid-template-columns: 1fr; padding: 75px 22px; }
  .systems-heading .section-label { margin-bottom: 48px; }
  .legacy-heading .section-label { margin-bottom: 48px; }
  .legacy-copy { padding-top: 34px; }
  .sectors-section { padding-bottom: 85px; }
  .sector-cloud { margin-top: 40px; }
  .sector-cloud span { font-size: 16px; padding: 11px 17px; }
  .project-band { grid-template-columns: 1fr; }
  .project-copy { padding: 75px 24px; }
  .project-stat { min-height: 370px; padding: 35px 24px; }
  .faq-section { padding-bottom: 85px; }
  .contact-section { padding: 80px 22px 35px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .contact-meta { align-items: center; flex-direction: column; gap: 13px; margin-top: 70px; }
  footer { gap: 30px; grid-template-columns: 1fr; justify-items: center; padding: 45px 22px; }
  footer > div { justify-content: center; }
}

@media (max-width: 390px) {
  h1 { font-size: 39px; }
  .proof-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
