/*
Theme Name: StrategicTech Glass (Theme B)
Theme URI: https://strategictech.ai
Author: Matthew Laughton
Description: Glassy, rounded, responsive WordPress theme in a navy + teal palette with light surfaces (Theme B).
Version: 1.0.0
License: GPLv2 or later
Text Domain: strategictech-glass-b
*/

/* Typography (Google Fonts loaded via functions.php) */
:root{
  --st-navy: #0B1F3A;
  --st-blue: #1E4ED8;
  --st-teal: #0EA5A4;
  --st-slate: #F4F7FB;
  --st-ink: #0B1220;

  --st-bg: var(--st-slate);
  --st-text: rgba(11,18,32,0.92);
  --st-text-dim: rgba(11,18,32,0.70);

  --st-glass: rgba(255,255,255,0.70);
  --st-glass-2: rgba(255,255,255,0.55);
  --st-border: rgba(11,31,58,0.12);

  --st-radius-lg: 28px;
  --st-radius-md: 20px;
  --st-radius-sm: 14px;

  --st-shadow: 0 26px 70px rgba(11,18,32,0.16);
  --st-shadow-soft: 0 14px 34px rgba(11,18,32,0.12);

  --st-max: 1120px;
  --st-pad: 24px;

  --st-font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --st-font-head: "Sora",  "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--st-font-body);
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(14,165,164,0.18), transparent 62%),
    radial-gradient(900px 520px at 78% 10%, rgba(30,78,216,0.10), transparent 62%),
    radial-gradient(760px 520px at 50% 82%, rgba(14,165,164,0.10), transparent 66%),
    linear-gradient(180deg, rgba(244,247,251,1), rgba(244,247,251,1));
  color: var(--st-text);
  line-height: 1.65;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--st-font-head);
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

a{ color: var(--st-navy); text-decoration: none; }
a:hover{ opacity: 0.9; }

.st-container{
  max-width: var(--st-max);
  margin: 0 auto;
  padding: 0 var(--st-pad);
}

.st-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(244,247,251,0.65);
  border-bottom: 1px solid var(--st-border);
}
.st-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 12px 0;
}

.st-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.st-brand img{
  width: 34px;
  height: 34px;
}

.st-nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
  align-items:center;
}
.st-nav a{
  font-weight: 700;
  color: rgba(11,31,58,0.78);
  padding: 10px 12px;
  border-radius: 999px;
}
.st-nav a:hover{
  background: rgba(11,31,58,0.06);
  color: var(--st-navy);
}

.st-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11,31,58,0.16);
  background: rgba(255,255,255,0.65);
  color: var(--st-navy);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11,18,32,0.08);
}
.st-btn:hover{ background: rgba(255,255,255,0.80); }

.st-btn-primary{
  border: 1px solid rgba(14,165,164,0.40);
  background: linear-gradient(135deg, rgba(14,165,164,0.96), rgba(14,165,164,0.74));
  color: white;
  box-shadow: 0 18px 44px rgba(14,165,164,0.20);
}
.st-btn-primary:hover{ filter: brightness(1.03); }

.st-hero{
  padding: 74px 0 36px;
}
.st-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items:center;
}
.st-badge{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--st-border);
  color: rgba(11,18,32,0.72);
  font-weight: 700;
  margin-bottom: 14px;
}

.st-h1{
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.10;
  margin: 0 0 12px;
}

.st-sub{
  margin: 0 0 20px;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--st-text-dim);
  max-width: 62ch;
}

.st-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.st-trust{
  font-size: 13px;
  color: rgba(11,18,32,0.58);
}

.st-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.58));
  border: 1px solid rgba(11,31,58,0.14);
  border-radius: var(--st-radius-lg);
  box-shadow: var(--st-shadow);
  overflow:hidden;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.st-card-pad{ padding: 22px; }

.st-hero-art{
  min-height: 320px;
  border-radius: var(--st-radius-lg);
  background: url("assets/img/hero-bg.webp") center / cover no-repeat;
  border: 1px solid rgba(11,31,58,0.10);
}

.st-section{ padding: 54px 0; }
.st-section h2{
  font-size: clamp(22px, 2.2vw, 32px);
}
.st-muted{ color: var(--st-text-dim); }

.st-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.st-grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.st-item h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.st-item p{ margin: 0; color: var(--st-text-dim); }

.st-footer{
  padding: 34px 0;
  border-top: 1px solid var(--st-border);
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(14px);
}
.st-footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items:start;
}
.st-footer small{ color: rgba(11,18,32,0.62); }
.st-contact{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.st-pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(11,31,58,0.12);
  color: var(--st-navy);
}

/* About page portrait overlay */
.st-about-hero{
  position: relative;
  min-height: 420px;
  border-radius: var(--st-radius-lg);
  background: url("assets/img/about-bg.svg") center / cover no-repeat;
  border: 1px solid rgba(11,31,58,0.12);
  overflow: hidden;
}
.st-about-hero-inner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 26px;
  align-items:end;
}
.st-portrait-wrap{
  position: relative;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
}
.st-portrait{
  width: min(320px, 78%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 10px solid rgba(255,255,255,0.72);
  box-shadow: 0 26px 70px rgba(11,18,32,0.22);
  object-fit: cover;
  background: rgba(255,255,255,0.70);
}

/* Responsive */
@media (max-width: 920px){
  .st-hero-grid{ grid-template-columns: 1fr; }
  .st-grid-3{ grid-template-columns: 1fr; }
  .st-grid-2{ grid-template-columns: 1fr; }
  .st-footer-grid{ grid-template-columns: 1fr; }
  .st-about-hero-inner{ grid-template-columns: 1fr; }
  .st-portrait-wrap{ justify-content:flex-start; }
}
