/*
Theme Name: AXS Business Consulting
Theme URI: https://example.com/axs-business-consulting
Description: A responsive, editorial business-consulting theme with dynamic service and project showcases.
Author: Your Name
Version: 1.0.0
Text Domain: axs-business
License: GNU General Public License v2 or later
*/

:root { --ink:#29282e; --muted:#74737b; --paper:#fff; --wash:#f8f8f8; --violet:#9146f6; --dark:#100d15; --line:#b9bac0; --radius:15px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:1.45; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }
.container { width:min(100% - 40px, 1170px); margin-inline:auto; }
.screen-reader-text { position:absolute; overflow:hidden; clip:rect(1px,1px,1px,1px); width:1px; height:1px; white-space:nowrap; }
.screen-reader-text:focus { clip:auto; width:auto; height:auto; z-index:10000; padding:12px; background:#fff; color:#000; }

/* Header */
.site-header { min-height:98px; display:flex; align-items:center; background:#fff; }
.header-inner { display:flex; width:100%; justify-content:space-between; align-items:center; gap:20px; }
.brand { display:inline-flex; flex-direction:column; font-weight:800; font-size:18px; line-height:1.05; letter-spacing:-.8px; }
.brand .tagline { margin-top:4px; font-size:7px; font-weight:700; letter-spacing:0; }
.custom-logo-link img { max-height:48px; width:auto; }
.menu-toggle { display:block; padding:9px; background:transparent; border:0; color:var(--ink); cursor:pointer; }
.menu-toggle span { display:block; width:25px; height:2px; margin:5px; background:currentColor; }
.primary-nav { display:none; }
.primary-nav.is-open { display:block; position:absolute; inset:98px 0 auto; z-index:10; padding:16px 20px; background:#fff; box-shadow:0 8px 18px rgb(0 0 0 / .08); }
.primary-nav ul { display:flex; margin:0; padding:0; gap:24px; list-style:none; }
.primary-nav.is-open ul { flex-direction:column; }
.primary-nav a { font-size:12px; color:#20202a; }
.primary-nav .current-menu-item a, .primary-nav a:hover { text-decoration:underline; text-underline-offset:7px; }

/* Hero */
.hero { color:#fff; text-align:center; min-height:410px; display:grid; place-items:center; background-color:#54423c; background-image:linear-gradient(rgb(0 0 0 / .43),rgb(0 0 0 / .43)), var(--hero-image); background-size:cover; background-position:center; }
.hero-content { padding:75px 0; }
.hero h1 { max-width:770px; margin:0 auto 25px; font-size:clamp(38px, 5.1vw, 65px); line-height:1.15; letter-spacing:-1.6px; font-weight:500; }
.hero p { max-width:500px; margin:0 auto 25px; font-size:12px; font-weight:600; }
.button { display:inline-flex; justify-content:center; align-items:center; min-width:130px; min-height:44px; padding:10px 22px; border:1px solid currentColor; border-radius:999px; font-size:12px; font-weight:600; transition:transform .2s,background .2s; }
.button:hover { transform:translateY(-2px); }
.button--violet { color:#fff; border-color:var(--violet); background:var(--violet); }
.button--outline { color:var(--ink); }

/* Intro */
.intro { display:grid; align-items:center; gap:44px; padding:84px 0; }
.intro-copy h2, .section-heading h2 { margin:0 0 16px; font-size:clamp(31px,3.2vw,43px); line-height:1.15; letter-spacing:-1.3px; font-weight:500; }
.intro-copy p, .section-heading p, .project-copy p { color:var(--muted); font-size:12px; }
.intro-copy p { max-width:480px; margin:0 0 35px; }
.intro-visual { position:relative; min-height:320px; overflow:hidden; border-radius:var(--radius); background:#e2dcdc var(--intro-image) center/cover; }
.intro-quote { position:absolute; right:0; bottom:-3px; width:min(86%, 430px); padding:28px 32px; background:#fff; }
.intro-quote strong { display:block; font-size:13px; font-weight:500; }
.intro-quote span { display:block; margin-top:22px; color:var(--muted); font-size:12px; }
.quote-mark { margin-right:16px; font-size:25px; vertical-align:middle; }

/* Reusable sections */
.services { padding:78px 0; background:var(--wash); }
.section-heading { text-align:center; margin:0 auto 32px; }
.section-heading p { max-width:520px; margin:0 auto; }
.service-grid { display:grid; gap:20px; }
.service-card img, .service-card .image-placeholder { width:100%; height:230px; object-fit:cover; border-radius:var(--radius); background:#d8d5d5; }
.service-card h3 { margin:16px 0 5px; font-size:14px; font-weight:500; }
.service-card p { margin:0; color:var(--muted); font-size:12px; }
.projects { padding:85px 0; }
.projects .section-heading { text-align:left; margin-left:0; }
.project-list { display:grid; gap:52px; }
.project { display:grid; align-items:center; gap:25px; }
.project img, .project .image-placeholder { width:100%; min-height:255px; object-fit:cover; border-radius:var(--radius); background:#d8d5d5; }
.project-copy { padding:0 2px; }
.project-copy h3 { margin:0 0 16px; font-size:20px; font-weight:500; }
.project-copy p { max-width:370px; margin:0; }

/* Testimonial and footer */
.testimonial { padding:85px 20px; text-align:center; color:#fff; background:var(--violet); }
.testimonial .stars { margin-bottom:16px; letter-spacing:4px; }
.testimonial blockquote { max-width:560px; margin:0 auto 30px; font-size:15px; font-weight:600; }
.testimonial cite { font-style:normal; font-size:12px; }
.avatar { width:38px; height:38px; margin:0 auto 6px; border-radius:50%; object-fit:cover; background:#eee; }
.site-footer { color:#fff; background:var(--dark); padding:62px 0 28px; }
.footer-grid { display:grid; gap:36px; }
.footer-grid h2, .footer-grid h3 { margin:0 0 20px; color:#fff; font-size:20px; font-weight:500; }
.footer-grid p, .footer-grid li { color:#fff; font-size:12px; }
.footer-grid ul { margin:0; padding-left:16px; }
.social-links { display:flex; gap:15px; margin-top:20px; }
.social-links a { font-size:20px; }
.newsletter-form { display:flex; flex-direction:column; gap:12px; }
.newsletter-form input { min-height:42px; border:0; border-radius:7px; padding:10px 14px; }
.newsletter-form button { align-self:start; border:0; cursor:pointer; }
.copyright { margin:60px 0 0; font-size:11px; }

/* Inner-page templates */
.page-hero { padding:76px 0; color:#fff; text-align:center; background:linear-gradient(125deg,#31303a,#9146f6); }
.page-hero h1 { max-width:700px; margin:0 auto 15px; font-size:clamp(38px,5vw,64px); font-weight:500; letter-spacing:-1.5px; }
.page-hero p:not(.eyebrow) { max-width:580px; margin:0 auto; }
.eyebrow { margin:0 0 14px; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; }
.content-section { padding:80px 0; }
.about-layout, .contact-layout { display:grid; gap:42px; align-items:center; }
.about-layout h2, .contact-layout h2 { margin-top:0; font-size:clamp(29px,3vw,42px); line-height:1.15; font-weight:500; }
.about-layout p, .contact-layout p { color:var(--muted); }
.about-layout img { width:100%; min-height:330px; object-fit:cover; border-radius:var(--radius); }
.contact-layout h3 { margin:28px 0 6px; font-size:16px; }
.contact-form { padding:30px; border-radius:var(--radius); background:var(--wash); }
.contact-form form { display:grid; gap:16px; }
.contact-form label { display:grid; gap:6px; font-size:13px; font-weight:600; }
.contact-form input, .contact-form textarea { width:100%; border:1px solid #d2d2d7; border-radius:7px; padding:11px; font:inherit; background:#fff; }
.page-content { min-height:450px; }
.page-content h1 { font-size:42px; }

@media (min-width:700px) { .container { width:min(100% - 90px,1170px); } .site-header { min-height:96px; } .menu-toggle { display:none; } .primary-nav { display:block; } .intro { grid-template-columns:1fr 1fr; gap:90px; } .service-grid { grid-template-columns:repeat(3,1fr); } .project { grid-template-columns:1fr 1fr; gap:100px; } .project img, .project .image-placeholder { min-height:330px; } .footer-grid { grid-template-columns:1.35fr .8fr 1fr; gap:85px; } }
@media (min-width:700px) { .about-layout, .contact-layout { grid-template-columns:1fr 1fr; gap:90px; } }
@media (min-width:1000px) { .hero { min-height:540px; } .intro { padding:120px 0; } .intro-visual { min-height:430px; } .services { padding:92px 0; } .projects { padding:105px 0; } .testimonial { padding:105px 20px; } }
