/* ==========================================================================
   AJC CONCEPTS — Landing Page Styles
   ========================================================================== */

:root{
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-alt: #131313;
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.74);
  --muted: rgba(255,255,255,0.56);
  --accent: #5b76ff;
  --accent-hover: #7d92ff;
  --line: rgba(255,255,255,0.14);
  --line-strong: rgba(255,255,255,0.28);
  --radius: 2px;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.7);
  --shadow-sm: 0 10px 30px -15px rgba(0,0,0,0.6);
  --container: 1180px;
  --ff-head: "Space Grotesk", "Inter", sans-serif;
  --ff-body: "Inter", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--text);
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section{ position:relative; }
.section-pad{ padding: 110px 0; }
@media (max-width: 780px){
  .section-pad{ padding: 72px 0; }
}

/* -------------------- Utility -------------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--accent-hover);
  display:inline-block;
}
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); }
.section-head p{ color: var(--muted); font-size: 17px; max-width: 560px; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover{ background: var(--accent-hover); }
.btn-ghost{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline{
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover{ border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-wa{
  background: #21b25c;
  color: #fff;
}
.btn-wa:hover{ background: #1a9c4f; }
.btn svg{ width:16px; height:16px; flex:none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 200;
  padding: 20px 0;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.site-header.is-scrolled{
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img.brand-icon{ height: 34px; width:auto; }
.brand img.brand-word{ height: 15px; width:auto; margin-top: 3px; }
.brand .brand-icon-dark,
.brand .brand-word-dark{ display:none; }

.nav-links{
  display:flex;
  align-items:center;
  gap: 38px;
}
.nav-links a{
  font-family: var(--ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  position:relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:2px;
  background: var(--accent-hover);
  transition: right .2s ease;
}
.nav-links a:hover::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:none;
  width: 40px; height:40px;
  border:1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content:"";
  display:block;
  width:18px; height:2px;
  background: currentColor;
  position:relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    top: 0; right: -340px;
    height:100vh;
    width: min(320px, 82vw);
    background: var(--surface);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap: 30px;
    padding: 40px;
    transition: right .3s ease;
    z-index: 250;
    border-left: 1px solid var(--line);
  }
  .nav-links a{ color:#fff; font-size:20px; }
  body.nav-open .nav-links{ right:0; }
  .header-actions .btn-outline{ display:none; }
  .nav-toggle{ display:inline-flex; position:relative; z-index:260; }
  .nav-toggle.is-active span{ background: transparent; }
  .nav-toggle.is-active span::before{ transform: rotate(45deg); top:0; }
  .nav-toggle.is-active span::after{ transform: rotate(-45deg); top:0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  min-height: 100vh;
  min-height: 100svh;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
  background: var(--bg);
}
.hero-grid-overlay{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-top: 110px;
  padding-bottom: 64px;
  width:100%;
}
.hero h1{
  font-size: clamp(40px, 6.4vw, 78px);
  max-width: 920px;
  margin-bottom: 22px;
  color: #fff;
}
.hero-slogan{
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 640px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
}
.hero-slogan span{ color: var(--accent-hover); margin: 0 4px; }
.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap: wrap;
}
@media (max-width: 700px){
  .hero-content{ padding-top: 100px; padding-bottom: 48px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-welcome{
  position:relative;
  overflow:hidden;
  background: var(--bg);
  padding: 130px 0;
  min-height: 560px;
  display:flex;
  align-items:center;
}
.about-welcome-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
}
.about-welcome-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.62) 40%, rgba(0,0,0,0.25) 68%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.45) 100%);
}
.about-welcome .container{ position:relative; z-index:2; }
.about-welcome-inner{ max-width: 640px; }
.about-welcome-inner h2{
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 22px;
}
.about-welcome-inner p{
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.about-welcome-inner p.lede{
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 21px);
}
.about-welcome-inner p.tagline{
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 20px);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
@media (max-width: 700px){
  .about-welcome{ padding: 90px 0; min-height: 460px; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services{ background: var(--bg); }
.service-list{
  display:flex;
  flex-direction:column;
  gap: 26px;
}
.service-card{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow:hidden;
}
.service-card:nth-child(even){ direction: rtl; }
.service-card:nth-child(even) > *{ direction: ltr; }
.service-media{
  position:relative;
  min-height: 320px;
}
.service-media img{ width:100%; height:100%; object-fit:cover; }
.service-blueprint{
  width:100%; height:100%;
  min-height: 320px;
  background: #000000;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.service-blueprint svg{ width: 82%; height:82%; }
.service-blueprint img{
  width: 78%;
  max-height: 78%;
  object-fit: contain;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.service-body{
  padding: 46px 50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.service-body h3{ font-size: 26px; margin-bottom: 14px; }
.service-body p{ font-size: 16px; color: var(--text-soft); margin:0; }
@media (max-width: 860px){
  .service-card, .service-card:nth-child(even){ grid-template-columns: 1fr; direction: ltr; }
  .service-media{ min-height: 220px; }
  .service-body{ padding: 34px 26px; }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio{ background: var(--bg); }
.filter-tabs{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.filter-tab{
  font-family: var(--ff-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor:pointer;
  transition: all .18s ease;
}
.filter-tab:hover{ border-color: #fff; color: var(--text); }
.filter-tab.is-active{
  background: #fff;
  border-color: #fff;
  color: #000;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  background:#000;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.gallery-item.is-tall{ grid-row: span 2; aspect-ratio: 4/6.15; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.9) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  display:flex;
  align-items:flex-end;
  padding: 20px;
}
.gallery-item:hover .overlay{ opacity: 1; }
.gallery-item .overlay h5{
  color:#fff; font-family: var(--ff-head);
  font-size: 15px; margin:0;
}
.gallery-item .overlay span{
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.gallery-item.is-hidden{ display:none; }

@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item.is-tall{ grid-row: span 1; aspect-ratio: 4/3; }
}

/* Lightbox */
.lightbox{
  position: fixed; inset:0;
  background: rgba(0,0,0,0.96);
  z-index: 500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 40px;
  opacity:0;
  visibility:hidden;
  transition: opacity .25s ease;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img, .lightbox svg{ max-width:100%; max-height: 84vh; box-shadow: var(--shadow-lg); background:#fff; }
.lightbox-close{
  position:absolute; top: 26px; right: 30px;
  width:44px; height:44px;
  border:1px solid rgba(255,255,255,0.3);
  background: transparent; color:#fff;
  cursor:pointer;
  font-size: 20px;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-cap{
  position:absolute;
  bottom: 34px; left:50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-family: var(--ff-head);
  font-size: 13.5px;
  letter-spacing: .04em;
  text-align:center;
}

/* ==========================================================================
   Contact / Footer
   ========================================================================== */
.contact{ background: var(--bg); color:#fff; }
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact h2{ font-size: clamp(28px, 3.6vw, 42px); max-width: 480px; }
.contact-lead{ color: var(--text-soft); font-size: 17px; max-width: 460px; margin-bottom: 40px; }

.contact-info{ display:flex; flex-direction:column; gap: 26px; margin-bottom: 40px; }
.contact-info-row{ display:flex; gap: 16px; align-items:flex-start; }
.contact-info-row .icon{
  width: 42px; height:42px; flex:none;
  border: 1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center;
  color: var(--accent-hover);
}
.contact-info-row .icon svg{ width:18px; height:18px; }
.contact-info-row h5{
  font-family: var(--ff-head); font-size:12.5px; text-transform:uppercase;
  letter-spacing:.1em; color: var(--muted); margin:0 0 5px;
}
.contact-info-row p{ margin:0; color:#fff; font-size: 15.5px; }
.contact-info-row a{ color:#fff; }
.contact-info-row a:hover{ color: var(--accent-hover); }

.social-row{ display:flex; gap: 12px; }
.social-row a{
  width: 42px; height:42px;
  border: 1px solid var(--line-strong);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  transition: border-color .2s ease, background .2s ease;
}
.social-row a:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }
.social-row svg{ width:17px; height:17px; }

.contact-form{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
}
.contact-form h4{ font-size: 18px; margin-bottom: 22px; }
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-family: var(--ff-head); font-size: 12.5px;
  letter-spacing: .06em; text-transform:uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field textarea, .field select{
  width:100%;
  background: #000000;
  border: 1px solid var(--line-strong);
  color: #fff;
  padding: 13px 14px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  outline:none;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--accent-hover); }
.field textarea{ resize: vertical; min-height: 96px; }
.contact-form .btn{ width:100%; margin-top: 6px; }
.form-note{ font-size:12.5px; color: var(--muted); margin-top: 14px; }

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; gap: 56px; }
}

.site-footer{
  background: var(--bg);
  color: var(--muted);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.site-footer .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-credit{
  display:flex;
  align-items:center;
  gap: 8px;
}
.footer-credit a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  transition: color .2s ease;
}
.footer-credit a:hover{ color: var(--accent-hover); }
.footer-credit a .dot{ width:6px; height:6px; background: var(--accent-hover); display:inline-block; }

/* ==========================================================================
   Sticky mobile call-to-action bar
   ========================================================================== */
.sticky-cta{
  display:none;
  position: fixed;
  left:0; right:0; bottom:0;
  z-index: 240;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  transition: background .18s ease;
}
.sticky-cta-btn svg{ width:16px; height:16px; flex:none; }
.sticky-cta-wa{ background: #21b25c; }
.sticky-cta-wa:hover{ background: #1a9c4f; }
.sticky-cta-call{ background: var(--accent); }
.sticky-cta-call:hover{ background: var(--accent-hover); }

@media (max-width: 900px){
  .sticky-cta{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body{ padding-bottom: 84px; }
}

/* Reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

::selection{ background: var(--accent); color:#fff; }
