/*
Theme Name: APMEX IT Solutions
Theme URI: https://apmexitsolutions.com/
Author: APMEX Information Technology Solutions
Description: A modern, responsive landing-page theme for APMEX Information Technology Solutions.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: apmex
*/

:root {
  --night: #07110c;
  --night-soft: #0a1710;
  --panel: #0e2016;
  --panel-light: #142a1c;
  --ink: #f2f8f3;
  --muted: #9eafa3;
  --green: #70ed75;
  --green-dark: #45c95a;
  --line: rgba(164, 211, 174, .14);
  --line-bright: rgba(112, 237, 117, .36);
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--ink); font-family: var(--body); line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--green); color: #07110c; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container.wide { width: min(1320px, calc(100% - 48px)); }
.section { position: relative; padding: 120px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; border-radius: 8px; background: white; color: #111; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(7, 17, 12, .9); box-shadow: 0 10px 36px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; font-weight: 800; line-height: 1.1; }
.brand > a > img, .brand .custom-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand .custom-logo-link { display: flex; }
.brand > span { max-width: 175px; font-size: .86rem; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; color: #cad7cd; font-size: .9rem; font-weight: 650; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active { color: var(--green); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: white; font-size: 1.7rem; cursor: pointer; }
.button, .nav-cta { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: #07110c; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); background: #88f58c; box-shadow: 0 12px 35px rgba(112,237,117,.18); }
.button:focus-visible, .nav-cta:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(112,237,117,.3); outline-offset: 3px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: var(--green); }
.hero { min-height: 100svh; display: grid; align-items: center; padding: 145px 0 88px; overflow: hidden; background-image: linear-gradient(rgba(112,237,117,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(112,237,117,.035) 1px, transparent 1px); background-size: 46px 46px; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; top: -220px; right: -180px; border-radius: 50%; background: rgba(55,179,83,.13); filter: blur(100px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero h1, .section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .88; letter-spacing: -.025em; text-transform: uppercase; }
.hero h1 { max-width: 760px; font-size: clamp(4.5rem, 8.1vw, 7.7rem); }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #d9e4db; font-size: .91rem; font-weight: 700; }
.text-link span { color: var(--green); }
.text-link:hover { color: var(--green); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 3px; padding-right: 16px; }
.hero-proof strong { font-size: .87rem; }
.hero-proof span { color: var(--muted); font-size: .72rem; }
.hero-visual { position: relative; }
.hero-image { position: relative; z-index: 2; width: 100%; min-height: 490px; border: 1px solid var(--line-bright); border-radius: 32px 8px 32px 8px; object-fit: cover; box-shadow: var(--shadow); }
.hero-glow { position: absolute; inset: 8%; border-radius: 50%; background: rgba(112,237,117,.24); filter: blur(80px); }
.signal-card { position: absolute; z-index: 3; display: grid; padding: 15px 18px; border: 1px solid rgba(187,235,195,.2); border-radius: 13px; background: rgba(8,23,14,.86); box-shadow: 0 16px 40px rgba(0,0,0,.32); backdrop-filter: blur(15px); }
.signal-card span { color: var(--muted); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.signal-card strong { margin-top: 2px; font-size: .86rem; }
.signal-card-top { top: 9%; left: -34px; padding-left: 44px; }
.signal-card-top i { position: absolute; left: 18px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(112,237,117,.1), 0 0 18px var(--green); }
.signal-card-bottom { right: -24px; bottom: 8%; }

.capability-strip { border-block: 1px solid var(--line); background: #0b1911; }
.strip-list { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; overflow: hidden; }
.strip-list span { color: #d1ddd3; font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.strip-list i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(112,237,117,.8); }

.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(3rem, 5.5vw, 5.3rem); }
.section-heading > p { max-width: 500px; margin: 0 0 4px; color: var(--muted); }
.services { background: linear-gradient(180deg, #08130d, #0a1810); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: 32px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); transition: background .25s, transform .25s, box-shadow .25s; }
.service-card::before { content: ""; position: absolute; width: 180px; height: 180px; top: -90px; left: -90px; border-radius: 50%; background: rgba(112,237,117,.1); opacity: 0; filter: blur(42px); transition: opacity .25s; pointer-events: none; }
.service-card:hover, .service-card:focus-within { z-index: 1; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(112,237,117,.68), 0 0 24px rgba(78,220,91,.18), 0 18px 42px rgba(0,0,0,.28); transform: translateY(-5px); }
.service-card:hover::before, .service-card:focus-within::before { opacity: 1; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 14px; background: rgba(112,237,117,.06); color: var(--green); box-shadow: 0 0 18px rgba(112,237,117,.08); transition: box-shadow .25s, background .25s; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { background: rgba(112,237,117,.11); box-shadow: 0 0 25px rgba(112,237,117,.22); }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-number { color: #607166; font-family: var(--display); font-size: 1.1rem; }
.service-card h3 { margin: 55px 0 12px; font-family: var(--display); font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.service-card > p { margin: 0; color: var(--muted); font-size: .93rem; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 26px 0 0; list-style: none; }
.service-card li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #bdcbc0; font-size: .7rem; }

.work { background: #07110c; }
.project-list { display: grid; gap: 34px; }
.project-card { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 500px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.project-card.reverse { grid-template-columns: .75fr 1.25fr; }
.project-card.reverse .project-media { order: 2; }
.project-media { position: relative; display: block; min-height: 500px; overflow: hidden; background: #10251a; }
.project-media::after { content: "View project"; position: absolute; right: 20px; bottom: 20px; padding: 10px 14px; border-radius: 999px; background: rgba(7,17,12,.85); color: white; font-size: .72rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.project-media:hover::after { opacity: 1; transform: translateY(0); }
.project-media img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.project-media:hover img { transform: scale(1.025); }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 70px); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project-meta span { padding: 6px 9px; border: 1px solid var(--line-bright); border-radius: 999px; color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-copy h3 { margin: 28px 0 15px; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.7rem); line-height: .9; text-transform: uppercase; }
.project-copy p { margin: 0; color: var(--muted); font-size: .92rem; }
.project-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 32px; color: white; font-size: .82rem; font-weight: 800; }
.project-link span { color: var(--green); }
.project-link:hover { color: var(--green); }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.about-visual { position: relative; }
.about-visual::before { content: ""; position: absolute; z-index: -1; inset: -25px 60px 55px -25px; border: 1px solid var(--line-bright); border-radius: 28px 8px 28px 8px; }
.about-visual img { width: 100%; min-height: 570px; border-radius: 8px 30px 8px 30px; object-fit: cover; filter: saturate(.82); box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -30px; bottom: 34px; display: grid; min-width: 210px; padding: 22px 24px; border-left: 3px solid var(--green); background: #12271a; box-shadow: var(--shadow); }
.about-badge strong { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; }
.about-badge span { color: var(--muted); font-size: .75rem; }
.about-copy .lead { max-width: 610px; margin: 28px 0 40px; color: #c5d2c8; font-size: 1.08rem; }
.value-list { border-top: 1px solid var(--line); }
.value-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.value-list > div > span { color: var(--green); font-family: var(--display); font-size: 1rem; }
.value-list section h3 { margin: 0 0 4px; font-size: .97rem; }
.value-list section p { margin: 0; color: var(--muted); font-size: .88rem; }

.founders { overflow: hidden; background: linear-gradient(180deg, #0a1810, #08130d); }
.founders::before { content: ""; position: absolute; width: 620px; height: 620px; top: 10%; right: -360px; border-radius: 50%; background: rgba(70,202,91,.09); filter: blur(90px); }
.founders-heading { position: relative; }
.founder-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.founder-card { overflow: hidden; display: grid; grid-template-rows: 500px 1fr; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); transition: transform .25s, border-color .25s; }
.founder-card:hover { transform: translateY(-6px); border-color: var(--line-bright); }
.founder-photo { position: relative; height: 500px; overflow: hidden; background: #d2d3d6; }
.founder-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(8,19,13,.7)); pointer-events: none; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; transition: transform .45s ease; }
.founder-card:hover .founder-photo img { transform: scale(1.025); }
.founder-john .founder-photo img { transform: translateY(-24px) scale(1.13); }
.founder-john:hover .founder-photo img { transform: translateY(-24px) scale(1.155); }
.founder-info { min-height: 245px; height: 100%; display: flex; flex-direction: column; padding: 27px 28px 30px; }
.founder-info > span { color: var(--green); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.founder-info h3 { margin: 13px 0 12px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: .95; text-transform: uppercase; }
.founder-info p { margin: 0; color: var(--muted); font-size: .86rem; }
.founder-primary { border-color: rgba(112,237,117,.3); }

.process { background: var(--panel); }
.process-heading { margin-bottom: 40px; }
.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 130px .7fr 1fr; align-items: center; min-height: 142px; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s; }
.process-list article:hover { padding-inline: 18px; background: rgba(112,237,117,.025); }
.process-list article > span { color: var(--green); font-family: var(--display); font-size: 1rem; }
.process-list article > div { display: contents; }
.process-list h3 { margin: 0; font-family: var(--display); font-size: 2.1rem; text-transform: uppercase; }
.process-list p { max-width: 520px; margin: 0; color: var(--muted); }

.faq { background: #09150e; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 9vw, 130px); align-items: start; }
.faq h2 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 5.5vw, 5.3rem); font-weight: 800; line-height: .88; text-transform: uppercase; }
.faq-intro { max-width: 430px; margin: 28px 0 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 25px 4px; color: #edf5ef; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--green); font-size: 1.35rem; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -4px 0 24px; padding-right: 50px; color: var(--muted); font-size: .9rem; }

.contact { overflow: hidden; background-image: linear-gradient(rgba(112,237,117,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(112,237,117,.035) 1px, transparent 1px); background-size: 46px 46px; }
.contact::before { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -280px; border-radius: 50%; background: rgba(64,200,87,.12); filter: blur(90px); }
.contact-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 8vw, 115px); align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; margin: 28px 0 0; color: var(--muted); }
.contact-details { display: grid; margin-top: 48px; border-top: 1px solid var(--line); }
.contact-details > * { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-details small { color: var(--green); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details strong { overflow-wrap: anywhere; font-size: .9rem; font-weight: 600; }
.contact-details a:hover strong { color: var(--green); }
.contact-card { padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line-bright); border-radius: 24px; background: rgba(14,32,22,.9); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { color: #dfe9e1; font-size: .78rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #09160e; color: white; padding: 14px 15px; transition: border-color .2s, background .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #637368; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); background: #0b1a11; }
.contact-form textarea { min-height: 155px; resize: vertical; }
.submit-button { width: 100%; border-radius: 11px; }
.form-note { margin: -8px 0 0; color: #788a7e; font-size: .69rem; text-align: center; }
.form-notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-size: .84rem; }
.form-notice.success { border: 1px solid rgba(112,237,117,.35); background: rgba(112,237,117,.08); color: #c9f8cc; }
.form-notice.error { border: 1px solid rgba(255,130,130,.35); background: rgba(255,100,100,.08); color: #ffd0d0; }
.form-unavailable h3 { margin: 0 0 10px; font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.form-unavailable p { margin: 0; color: var(--muted); }
.contact-card .wpcf7-form { display: grid; gap: 18px; }
.contact-card .wpcf7-form p { margin: 0; }
.contact-card .wpcf7-form label { display: grid; gap: 8px; color: #dfe9e1; font-size: .78rem; font-weight: 700; }
.contact-card .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.contact-card .wpcf7-text, .contact-card .wpcf7-email, .contact-card .wpcf7-tel, .contact-card .wpcf7-select, .contact-card .wpcf7-textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #09160e; color: white; padding: 14px 15px; }
.contact-card .wpcf7-textarea { min-height: 145px; resize: vertical; }
.contact-card .wpcf7-submit { width: 100%; min-height: 50px; border: 1px solid var(--green); border-radius: 11px; background: var(--green); color: #07110c; font-weight: 800; cursor: pointer; }
.contact-card .wpcf7-submit:hover { background: #88f58c; }
.contact-card .wpcf7-spinner { display: block; margin: 10px auto 0; }
.contact-card .wpcf7-not-valid-tip { margin-top: 5px; color: #ffaaaa; font-size: .72rem; }
.contact-card .wpcf7-response-output { margin: 0 !important; padding: 12px 14px !important; border-width: 1px !important; border-radius: 9px; font-size: .78rem; }
.apmex-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.back-to-top { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: rgba(11,29,18,.9); color: var(--green); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; backdrop-filter: blur(12px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

body:not(.home) .site-main { width: min(900px, calc(100% - 48px)); min-height: 65vh; margin: 0 auto; padding: 150px 0 100px; }
body:not(.home) .page-header, body:not(.home) .entry-header { margin-bottom: 38px; }
body:not(.home) .page-title, body:not(.home) .entry-title { margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.5rem); line-height: .92; text-transform: uppercase; }
body:not(.home) .entry-title a:hover { color: var(--green); }
body:not(.home) .entry-content, body:not(.home) .page-content, body:not(.home) .entry-summary { color: #c4d2c7; }
body:not(.home) .entry-content a, body:not(.home) .page-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
body:not(.home) article { padding: 28px 0; border-bottom: 1px solid var(--line); }
body:not(.home) input[type="search"] { min-height: 46px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: white; padding: 10px 13px; }
body:not(.home) .search-submit { min-height: 46px; border: 0; border-radius: 9px; background: var(--green); color: #07110c; padding: 0 18px; font-weight: 800; }
.widget-area { display: none; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: #061009; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--green); }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; order: 3; }
  .nav-cta { display: none; }
  .primary-nav { display: none; position: absolute; top: 74px; right: 24px; left: 24px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 25, 16, .98); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 11px 8px; }
  .primary-nav a::after { display: none; }
  .hero-grid, .about-grid, .contact-shell, .faq-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { width: min(640px, 92%); margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
	.founder-grid { grid-template-columns: repeat(2, 1fr); }
	.founder-primary { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: 500px; }
	.founder-primary .founder-photo { height: 500px; }
	.founder-primary .founder-info { justify-content: center; }
	.project-card, .project-card.reverse { grid-template-columns: 1fr; }
	.project-card.reverse .project-media { order: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { gap: 80px; }
  .about-visual { width: min(650px, 92%); }
  .process-list article { grid-template-columns: 80px .55fr 1fr; }
  .contact-copy { max-width: 680px; }
}

@media (max-width: 680px) {
  body.admin-bar .site-header { top: 46px; }
  .container, .container.wide { width: min(100% - 32px, 1180px); }
  .section { padding: 84px 0; }
  .nav-wrap { min-height: 72px; }
  .brand > span { max-width: 145px; font-size: .74rem; }
  .brand > a > img, .brand .custom-logo { width: 40px; height: 40px; }
  .primary-nav { top: 66px; right: 16px; left: 16px; }
  .hero { padding: 118px 0 70px; }
  .hero-grid { gap: 55px; }
  .hero h1 { font-size: clamp(3.55rem, 17vw, 5.1rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-proof { grid-template-columns: 1fr; gap: 16px; margin-top: 42px; }
  .hero-proof div { padding: 0 0 14px; border-bottom: 1px solid var(--line); }
  .hero-image { min-height: 370px; }
  .signal-card-top { left: -10px; }
  .signal-card-bottom { right: -10px; }
  .strip-list { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .strip-list::-webkit-scrollbar { display: none; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.9rem, 14vw, 4.1rem); }
  .service-grid { grid-template-columns: 1fr; }
	.founder-grid { grid-template-columns: 1fr; }
	.founder-card, .founder-primary { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 430px 1fr; }
	.founder-photo, .founder-primary .founder-photo { height: 430px; }
	.project-card { min-height: 0; }
	.project-media, .project-media img { min-height: 330px; }
  .service-card { min-height: 350px; }
  .about-visual { width: calc(100% - 14px); }
  .about-visual img { min-height: 430px; }
  .about-badge { right: -14px; bottom: 20px; min-width: 185px; }
  .process-list article { grid-template-columns: 50px 1fr; align-items: start; gap: 10px; padding: 25px 0; }
  .process-list article:hover { padding-inline: 8px; }
  .process-list article > div { display: block; }
  .process-list p { margin-top: 6px; font-size: .88rem; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { border-radius: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
	body.menu-open { overflow: hidden; }
}

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