/* AG² — AG Square Recruitment Agency | Phase 1 */
:root {
    --navy: #071a30;
    --navy-2: #0b2542;
    --blue: #087ef5;
    --blue-hover: #0069d9;
    --ink: #10233b;
    --muted: #5c6c80;
    --line: #dce5ee;
    --pale: #f4f8fc;
    --white: #fff;
    --font-heading: "Manrope", sans-serif;
    --font-body: "DM Sans", sans-serif;
    --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 56px)); margin-inline: auto; }
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 86px; color: white; background: rgba(7, 26, 48, .98); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { background: rgba(7, 26, 48, .98); box-shadow: 0 8px 30px rgba(3,17,32,.16); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; color: #fff; }
.brand-symbol { font-family: var(--font-heading); font-size: 43px; font-weight: 800; letter-spacing: -5px; line-height: 1; }
.brand-symbol > span { color: var(--blue); font-size: .8em; letter-spacing: -2px; }
.brand-divider { height: 43px; width: 1px; margin: 0 17px 0 20px; background: rgba(255,255,255,.55); }
.brand-name { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.brand-name strong { font: 800 18px/1 var(--font-heading); letter-spacing: 2px; }
.brand-name small { font-size: 9px; letter-spacing: 2.3px; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 27px); font-size: 12px; font-weight: 600; }
.primary-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; color: #edf4fc; transition: color .2s ease; }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a.active { color: #5db0ff; }
.primary-nav > a.active::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 999px; background: var(--blue); color: white; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover, .btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 570px; padding: 150px 0 58px; display: flex; align-items: center; overflow: hidden; background: #dce7ef; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(245,249,252,.98) 0%, rgba(245,249,252,.93) 37%, rgba(245,249,252,.50) 58%, rgba(7,26,48,.06) 100%), url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=2000&q=85"); background-size: cover; background-position: center 52%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--blue), rgba(8,126,245,0)); }
.hero-content { position: relative; z-index: 1; padding-top: 8px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; color: #24405d; }
.eyebrow.blue { color: var(--blue); }
.hero h1 { max-width: 690px; margin: 0; color: var(--navy); font: 800 clamp(39px, 4.2vw, 61px)/1.11 var(--font-heading); letter-spacing: -2.5px; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 550px; margin: 22px 0 28px; color: #263e57; font-size: 16px; line-height: 1.75; }
.job-search { display: flex; align-items: stretch; width: min(730px, 100%); padding: 8px; gap: 4px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.95); box-shadow: 0 18px 50px rgba(7,26,48,.13); }
.search-field { min-width: 0; flex: 1; display: flex; align-items: center; gap: 12px; padding: 9px 15px; }
.location-field { border-left: 1px solid var(--line); }
.field-icon { font-size: 25px; color: var(--navy-2); }
.field-content { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.field-label { color: var(--ink); font-size: 11px; font-weight: 700; }
.field-content input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--muted); font-size: 12px; }
.field-content input:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.btn { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; cursor: pointer; }
.btn-primary { color: #fff; background: var(--blue); }
.search-button { min-width: 142px; }
.search-button span { font-size: 20px; line-height: 0; }
.hero-links { display: flex; align-items: center; gap: 12px; margin-top: 23px; color: #28415a; font-size: 12px; font-weight: 700; }
.hero-links a:hover { color: var(--blue); }
.hero-links a span { color: var(--blue); }
.hero-separator { color: #9aabba; }
.hero-note { position: absolute; z-index: 1; right: max(28px, calc((100vw - var(--container))/2)); bottom: 34px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.note-line { display: inline-block; width: 30px; height: 2px; background: var(--blue); }

.trust-strip { position: relative; z-index: 2; background: var(--navy); color: white; }
.trust-grid { min-height: 91px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 10px 22px; border-right: 1px solid rgba(255,255,255,.2); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; padding-right: 0; }
.trust-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #8ec7ff; font-size: 24px; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { margin-bottom: 5px; font: 700 12px var(--font-heading); }
.trust-item small { color: #b7c6d6; font-size: 10px; line-height: 1.4; }

.section { padding: 91px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 39px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { font: 800 clamp(30px, 3vw, 42px)/1.2 var(--font-heading); letter-spacing: -1.4px; }
.section-heading h2 { margin: 0; color: var(--navy); }
.section-copy { max-width: 570px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.text-link { flex-shrink: 0; padding-bottom: 7px; color: var(--blue); font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 7px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service-card { min-height: 260px; padding: 27px 23px 24px; border-right: 1px solid var(--line); background: #fff; transition: background .2s ease, transform .2s ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { position: relative; z-index: 1; background: #f8fbff; box-shadow: 0 10px 30px rgba(7,26,48,.07); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 23px; border-radius: 50%; font-size: 25px; }
.icon-blue { color: #087ef5; background: #e1f0ff; }
.icon-mint { color: #1c9b7b; background: #def7ee; }
.icon-violet { color: #7651e8; background: #eee8ff; }
.icon-orange { color: #e87536; background: #ffeadf; }
.card-number { margin: 0 0 10px; color: #8090a1; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.service-card h3 { margin: 0 0 11px; color: var(--navy); font: 800 16px var(--font-heading); }
.service-card > p:not(.card-number) { min-height: 57px; margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 11px; font-weight: 700; }
.card-link span { font-size: 17px; transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

.industries-section { background: var(--pale); }
.industries-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.industries-intro h2 { margin: 0 0 20px; color: var(--navy); }
.industries-intro h2 span { color: var(--blue); }
.industries-intro > p:not(.eyebrow) { max-width: 450px; margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.btn-dark { color: white; background: var(--navy); }
.btn-dark:hover { background: #12365a; transform: translateY(-1px); }
.industry-list { border-top: 1px solid #d5e0eb; }
.industry-row { min-height: 61px; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 13px; border-bottom: 1px solid #d5e0eb; color: var(--navy); font: 700 14px var(--font-heading); }
.industry-index { color: #8494a7; font: 600 10px var(--font-body); }
.industry-arrow { color: var(--blue); font-size: 19px; text-align: right; }
.industry-footnote { margin: 14px 0 0; color: #8190a1; font-size: 10px; line-height: 1.6; }

.dual-cta { padding-top: 80px; padding-bottom: 80px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { position: relative; min-height: 305px; overflow: hidden; padding: 42px; border-radius: 14px; color: #fff; background: var(--navy); }
.cta-employer { background: linear-gradient(115deg, #071a30 0%, #0c3156 100%); }
.cta-candidate { background: linear-gradient(115deg, #087ef5 0%, #075ac1 100%); }
.cta-content { position: relative; z-index: 2; max-width: 340px; }
.cta-card .eyebrow { margin-bottom: 15px; color: #91caff; font-size: 10px; }
.cta-card h2 { margin: 0 0 14px; font-size: 30px; letter-spacing: -1px; }
.cta-card p:not(.eyebrow) { max-width: 320px; margin: 0 0 23px; color: #c6d7e8; font-size: 12px; line-height: 1.7; }
.cta-candidate p:not(.eyebrow) { color: #e0efff; }
.btn-light { background: white; color: var(--navy); }
.btn-light:hover { background: #eaf4ff; }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.65); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.cta-orbit { position: absolute; right: -80px; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(122,190,255,.23); border-radius: 50%; }
.orbit-two { right: -35px; bottom: -105px; width: 270px; height: 270px; }
.candidate-mark { position: absolute; right: 27px; bottom: 3px; color: rgba(255,255,255,.11); font: 800 130px/.9 var(--font-heading); letter-spacing: -14px; }
.candidate-mark span { color: rgba(255,255,255,.22); font-size: .65em; }

.contact-band { padding: 58px 0; border-top: 1px solid var(--line); }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-band .eyebrow { margin-bottom: 10px; }
.contact-band h2 { margin: 0; color: var(--navy); font-size: 32px; }

.site-footer { background: #06172a; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr .5fr; gap: 30px; align-items: center; min-height: 130px; padding-top: 25px; padding-bottom: 25px; }
.footer-brand .brand-symbol { font-size: 35px; }
.footer-brand .brand-divider { height: 36px; margin-inline: 15px; }
.footer-brand .brand-name strong { font-size: 14px; letter-spacing: 1.5px; }
.footer-brand .brand-name small { font-size: 7px; letter-spacing: 1.5px; }
.footer-location { display: flex; align-items: center; gap: 12px; }
.footer-icon { color: #80bfff; font-size: 25px; }
.footer-location strong, .footer-location small, .footer-contact small { display: block; }
.footer-location strong { margin-bottom: 6px; font-size: 12px; }
.footer-location small, .footer-contact small { color: #9fb0c2; font-size: 10px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.17); }
.footer-contact a { font-size: 12px; font-weight: 700; }
.footer-social { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.footer-social > span { color: #9fb0c2; font-size: 9px; letter-spacing: 1px; }
.footer-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa2b6; font-size: 10px; }

:focus-visible { outline: 3px solid #69b7ff; outline-offset: 3px; }
@media (max-width: 1100px) {
    .container { width: min(var(--container), calc(100% - 40px)); }
    .primary-nav { gap: 13px; font-size: 11px; }
    .brand-symbol { font-size: 38px; }
    .brand-divider { margin-inline: 14px; }
    .brand-name strong { font-size: 15px; }
    .brand-name small { font-size: 8px; letter-spacing: 1.7px; }
    .industries-layout { gap: 50px; }
    .service-card { padding-inline: 17px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .site-header { height: 76px; }
    .menu-toggle { display: flex; position: relative; z-index: 1002; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: white; transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 76px 0 0; z-index: 1001; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 35px; overflow-y: auto; background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .primary-nav > a:not(.nav-cta) { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
    .primary-nav > a.active::after { display: none; }
    .nav-cta { justify-content: center; margin-top: 20px; padding: 15px; font-size: 14px; }
    .hero { min-height: 600px; padding-top: 125px; }
    .hero-image { background-image: linear-gradient(90deg, rgba(245,249,252,.97), rgba(245,249,252,.86) 65%, rgba(245,249,252,.48)), url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1400&q=80"); background-position: center; }
    .hero-note { display: none; }
    .trust-grid { grid-template-columns: 1fr 1fr; padding-block: 12px; }
    .trust-item { padding: 15px 10px; border-right: 0; }
    .trust-item:nth-child(odd) { padding-left: 0; }
    .trust-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.2); padding-left: 20px; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .service-card:nth-child(2) { border-right: 0; }
    .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .industries-layout { grid-template-columns: 1fr; gap: 40px; }
    .industries-intro h2 br { display: none; }
    .cta-card { padding: 32px; }
}
@media (max-width: 560px) {
    .container { width: calc(100% - 36px); }
    .brand-symbol { font-size: 35px; }
    .brand-divider { height: 35px; margin: 0 11px 0 14px; }
    .brand-name strong { font-size: 13px; letter-spacing: 1.3px; }
    .brand-name small { font-size: 7px; letter-spacing: 1.2px; }
    .hero { min-height: 650px; align-items: flex-start; padding-top: 124px; padding-bottom: 38px; }
    .hero-image { background-position: 58% center; }
    .eyebrow { font-size: 9px; letter-spacing: 2.3px; margin-bottom: 14px; }
    .hero h1 { font-size: clamp(36px, 10vw, 47px); letter-spacing: -1.8px; }
    .hero-copy { margin: 18px 0 23px; font-size: 14px; line-height: 1.7; }
    .job-search { flex-direction: column; padding: 10px; gap: 3px; }
    .search-field { min-height: 58px; padding: 8px 10px; }
    .location-field { border-top: 1px solid var(--line); border-left: 0; }
    .search-button { width: 100%; margin-top: 5px; }
    .hero-links { flex-wrap: wrap; font-size: 11px; }
    .trust-grid { min-height: auto; }
    .trust-item { gap: 10px; padding: 13px 6px; }
    .trust-item:nth-child(even) { padding-left: 12px; }
    .trust-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 20px; }
    .trust-item strong { font-size: 10px; }
    .trust-item small { font-size: 9px; }
    .section { padding: 65px 0; }
    .section-heading { display: block; margin-bottom: 28px; }
    .section-heading h2 { font-size: 32px; }
    .section-copy { font-size: 13px; }
    .text-link { display: inline-block; margin-top: 18px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
    .service-card:last-child { border-bottom: 0; }
    .service-card:nth-child(2) { border-bottom: 1px solid var(--line); }
    .service-card > p:not(.card-number) { min-height: 0; }
    .industries-intro h2 { font-size: 34px; }
    .industry-row { grid-template-columns: 32px 1fr 20px; gap: 8px; font-size: 12px; }
    .dual-cta { padding: 54px 0; }
    .cta-grid { grid-template-columns: 1fr; gap: 14px; }
    .cta-card { min-height: 285px; padding: 30px 25px; }
    .cta-card h2 { font-size: 28px; }
    .contact-band { padding: 45px 0; }
    .contact-band-inner { align-items: flex-start; flex-direction: column; }
    .contact-band h2 { font-size: 29px; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; padding-top: 35px; padding-bottom: 30px; }
    .footer-contact { padding: 0; border: 0; }
    .footer-social { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; gap: 8px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
