/* =========================
   Global base / WP resets
========================= */
:root{
  --bg: #0b0f17;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(124,58,237,.28), transparent 55%),
    radial-gradient(800px 600px at 85% 25%, rgba(59,130,246,.24), transparent 60%),
    radial-gradient(900px 700px at 55% 90%, rgba(16,185,129,.14), transparent 60%),
    var(--bg);
  overflow-x:hidden;
}

/* WordPress site wrapper adjustments */
.wp-site-blocks{
  padding-left: 18px;
  padding-right: 18px;
}
.wp-site-blocks > *{
  margin-block-start: 0; /* remove default block top margin stacking */
}

/* Constrained layout width */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: var(--max);
}

/* Clean typography defaults */
h1,h2,h3{ letter-spacing: -0.02em; }
p{ color: var(--muted); line-height: 1.65; }
a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .95; }

/* =========================
   Header / Navigation
========================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,15,23,.75), rgba(11,15,23,0));
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

/* Make Site Title look like a brand */
.brand .wp-block-site-title,
.brand .wp-block-site-title a{
  font-weight: 650;
  letter-spacing: .2px;
  margin: 0;
  color: var(--text);
}

/* Desktop nav look */
.navLinks{
  display:flex;
  gap: 10px;
  align-items:center;
}
.navLinks .wp-block-navigation__container{
  gap: 10px;
}
.navLinks a{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease, transform 160ms ease;
}
.navLinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}

/* Burger button */
.burger{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background 180ms ease, transform 160ms ease;
}
.burger:hover{ background: rgba(255,255,255,.09); transform: translateY(-1px); }

.burgerLines{ width: 18px; height: 12px; position: relative; }
.burgerLines span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  border-radius:999px;
  background: rgba(255,255,255,.86);
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}
.burgerLines span:nth-child(1){ top:0; }
.burgerLines span:nth-child(2){ top:5px; opacity:.75; }
.burgerLines span:nth-child(3){ top:10px; opacity:.9; }

/* Mobile menu panel */
.mobileMenu{
  display:none;
  max-width: var(--max);
  margin: 10px auto 0;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mobileMenu a{
  display:block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--muted);
}
.mobileMenu a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Menu open state */
body.menuOpen .mobileMenu{ display:block; }
body.menuOpen .burgerLines span:nth-child(1){ top:5px; transform: rotate(45deg); }
body.menuOpen .burgerLines span:nth-child(2){ opacity:0; }
body.menuOpen .burgerLines span:nth-child(3){ top:5px; transform: rotate(-45deg); }

/* Responsive: hide desktop nav, show burger */
@media (max-width: 860px){
  .navLinks{ display:none; }
  .burger{ display:flex; }
}

/* =========================
   Hero section styling
========================= */
.hero-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero-columns{
  display:grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 22px;
  align-items:start;
}

@media (max-width: 860px){
  .hero-columns{ grid-template-columns: 1fr; }
}

/* Badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(16,185,129,.95);
  box-shadow: 0 0 0 6px rgba(16,185,129,.12);
}

.hero-title{
  margin: 16px 0 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.03;
  color: var(--text);
}
.hero-lead{
  margin: 0 0 18px;
  font-size: 16px;
  max-width: 58ch;
}

/* Buttons: override WP defaults */
.wp-block-buttons{ gap: 10px; }
.wp-block-button__link{
  border-radius: 14px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
  color: var(--text) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: transform 160ms ease, background 180ms ease, filter 180ms ease;
}
.wp-block-button__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09) !important;
}

/* Primary button style helper (add class "btn-primary" to the button block) */
.btn-primary .wp-block-button__link{
  background: linear-gradient(135deg, rgba(124,58,237,.92), rgba(59,130,246,.92)) !important;
  border-color: rgba(255,255,255,.18) !important;
}
.btn-primary .wp-block-button__link:hover{ filter: brightness(1.05); }

/* Card */
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.card:before{
  content:"";
  position:absolute;
  inset: -60px -90px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
  transform: rotate(12deg);
  pointer-events:none;
}

.kicker{
  color: rgba(255,255,255,.60);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.pill-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.pill{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.pill strong{ color: rgba(255,255,255,.88); font-weight: 600; }
.pill em{ font-style: normal; color: rgba(255,255,255,.66); }

/* Footer */
.site-footer{
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
/* ===== Services Rows (Modern cards) ===== */

.section-services-rows .services-kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
  opacity: .9;
}

/* The big row “glass card” */
.section-services-rows .serviceRow{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 90px rgba(0,0,0,.35);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

/* subtle highlight blob, matches your theme */
.section-services-rows .serviceRow:before{
  content:"";
  position:absolute;
  inset: -120px -160px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%);
  transform: rotate(14deg);
  pointer-events:none;
}

.section-services-rows .serviceRow:hover{
  border-color: rgba(255,255,255,.18);
}

/* Image */
.section-services-rows .serviceRow__media{
  margin: 0;
}
.section-services-rows .serviceRow__media img{
  width: 100%;
  height: 260px;          /* keeps consistent card height */
  object-fit: cover;
  display:block;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
}

/* Content padding */
.section-services-rows .serviceRow__content{
  padding: 6px 6px;
}
.section-services-rows .serviceRow__content h3{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}
.section-services-rows .serviceRow__content p{
  margin: 0;
}
.section-services-rows .serviceRow__link{
  margin-top: 14px;
  font-size: 14px;
  opacity: .85;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.section-services-rows .serviceRow__link:hover{
  opacity: 1;
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 860px){
  .section-services-rows .serviceRow{
    padding: 18px;
  }
  .section-services-rows .serviceRow__media img{
    height: 220px;
  }
  .section-services-rows .serviceRow__content h3{
    font-size: 20px;
  }
}
.heroRight{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.heroCodeCard{
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 460px;
  width: 100%;
}

.heroCodeCard__top{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 6px 12px 6px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.heroCodeCard__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  opacity:.9;
}
.heroCodeCard__dot--red{ background: rgba(255,90,90,.95); }
.heroCodeCard__dot--yellow{ background: rgba(255,210,90,.95); }
.heroCodeCard__dot--green{ background: rgba(90,220,140,.95); }

.heroCodeCard__title{
  margin-left: 6px;
  font-size: 13px;
  letter-spacing: .2px;
  opacity: .85;
}

.heroCodeCard__pre{
  margin: 14px 0 10px;
  padding: 10px 6px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 220px;
}

.heroCodeCard__pre code{
  color: rgba(255,255,255,.92);
}

.heroCodeCard__cursor{
  display:inline-block;
  width: 9px;
  height: 1.2em;
  transform: translateY(3px);
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  animation: heroCursorBlink 1s steps(2, end) infinite;
}

@keyframes heroCursorBlink{
  50% { opacity: 0; }
}

.heroCodeCard__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.heroCodeCard__pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  opacity: .9;
}

@media (prefers-reduced-motion: reduce){
  .heroCodeCard__cursor{ animation: none; opacity: 1; }
}
/* Project cards: subtle lift on hover */
.wp-block-query .wp-block-group.has-surface-background-color:hover{
  transform: translateY(-2px);
  transition: transform 160ms ease;
}
.wp-block-query .wp-block-group.has-surface-background-color{
  transition: transform 160ms ease;
}