/* ==========================================
   NEWBY STACK - ADA COMPLIANT BRAND STYLESHEET
   Color Palette Extracted from Logo Graphic
   ========================================== */

:root {
  --bg-dark: #0B132B;          /* Deep Navy Base Background */
  --card-bg: #1C2541;          /* Dark Slate Card Container */
  --card-border: #3A506B;      /* Muted Steel Blue Border */
  --accent-cyan: #48CAE4;      /* High-Contrast Electric Cyan */
  --accent-blue: #3A86FF;      /* Vibrant Royal Blue */
  --text-primary: #FFFFFF;     /* Pure White (4.5:1+ Contrast) */
  --text-secondary: #E0E1DD;   /* Crisp Light Gray/Silver */
  --focus-ring: #00F0FF;       /* High-Visibility Accessibility Outline */
}

/* Base Body Setup */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Accessibility: Skip to Main Content Link for Screen Readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-cyan);
  color: var(--bg-dark);
  padding: 8px 16px;
  z-index: 100;
  font-weight: bold;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Screen Reader Only Utility Class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Universal Keyboard Focus State (ADA Standard) */
a:focus, button:focus, input:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Layout Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  background-color: var(--card-bg);
  border-bottom: 2px solid var(--card-border);
  padding: 16px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   HYBRID GRAPHIC + TYPOGRAPHY LOGO STYLES
   ========================================== */

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-bottom: none !important;
  padding: 2px 0;
}

.site-logo-icon {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen; 
  filter: drop-shadow(0 2px 8px rgba(72, 202, 228, 0.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1.5px;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8E9AAF;
  letter-spacing: 1.8px;
  margin-top: 3px;
  text-transform: uppercase;
}

/* Interactive Hover & Focus Effects */
.logo-link:hover .site-logo-icon {
  filter: drop-shadow(0 2px 12px rgba(72, 202, 228, 0.6));
  transform: scale(1.03);
}

.logo-link:hover .brand-title {
  color: var(--accent-cyan);
}

.logo-link:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

nav a:hover, nav a.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
}

.hero h1 {
  font-size: 3rem;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--accent-cyan);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 32px;
}

/* Action Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-cyan);
}

.btn-primary:hover {
  background-color: #33b3cc;
  border-color: #33b3cc;
}

.btn-secondary:hover {
  background-color: var(--card-bg);
  color: var(--accent-cyan);
}

/* Content Cards & Sections */
.section-title {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--card-border);
  padding-bottom: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card h2, .card h3, .card h4 {
  color: var(--text-primary);
  margin-top: 0;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.company-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.95rem;
}

.tech-subtext {
  font-style: italic;
  font-size: 0.95rem;
  color: #B0C4DE;
  margin-bottom: 16px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .site-logo-icon {
    height: 34px;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-sub {
    font-size: 0.55rem;
  }
}