:root {
  --bg-white: #ffffff;
  --bg-gray-light: #f4f4f4;
  --bg-gray-dark: #111111;
  --text-black: #000000;
  --text-gray: #555555;
  --border-color: #e0e0e0;
  --radius-lg: 24px;
  --spacing-base: 6px;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.05);
  --font-main: system-ui, -apple-system, sans-serif;
  --font-accent: "Georgia", serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-black);
  background: var(--bg-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-stretch: condensed;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: 0;
}

.dark-sticky {
  position: sticky;
  top: 0;
  background: var(--text-black);
  color: var(--bg-white);
  z-index: 1000;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #333;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--spacing-base) * 3) calc(var(--spacing-base) * 4);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-base) * 2);
  text-decoration: none;
  color: var(--bg-white);
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.brand-logo svg {
  width: 36px;
  height: 36px;
  fill: var(--bg-white);
}

.desktop-nav .nav-list {
  display: flex;
  gap: calc(var(--spacing-base) * 6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-nav a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--bg-white);
}

.btn-cta {
  display: inline-block;
  background: var(--bg-white);
  color: var(--text-black);
  padding: calc(var(--spacing-base) * 2) calc(var(--spacing-base) * 4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
  border: 2px solid var(--bg-white);
}
.btn-cta:hover {
  background: transparent;
  color: var(--bg-white);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
  padding: var(--spacing-base);
}
.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-gray-dark);
  color: var(--bg-white);
  z-index: 2000;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  padding: calc(var(--spacing-base) * 4);
  border-bottom: 1px solid #333;
  align-items: center;
  font-weight: bold;
  font-size: 1.25rem;
}
.close-drawer {
  background: none;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
}
.close-drawer svg {
  width: 28px;
  height: 28px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list a {
  display: block;
  padding: calc(var(--spacing-base) * 4);
  color: #e0e0e0;
  text-decoration: none;
  border-bottom: 1px solid #222;
  font-weight: 500;
}
.bg-tech-black {
  background-color: #000000;
}
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  display: none;
}
.drawer-overlay.active {
  display: block;
}

.site-footer {
  background: var(--bg-gray-light);
  padding: calc(var(--spacing-base) * 12) calc(var(--spacing-base) * 4)
    calc(var(--spacing-base) * 6);
  border-top: 1px solid var(--border-color);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: calc(var(--spacing-base) * 8);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-base) * 2);
  text-decoration: none;
  color: var(--text-black);
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-base) * 3);
  letter-spacing: -0.03em;
}
.footer-logo svg {
  width: 36px;
  height: 36px;
}
.tagline {
  font-weight: 700;
  color: #000;
  margin: 0 0 calc(var(--spacing-base) * 2);
}
.summary {
  color: var(--text-gray);
  margin: 0;
}

.footer-heading {
  font-size: 1.125rem;
  margin-bottom: calc(var(--spacing-base) * 4);
  color: var(--text-black);
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-base) * 3);
}
.footer-links a,
.footer-contact a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--text-black);
}

.footer-contact li {
  display: flex;
  gap: calc(var(--spacing-base) * 2);
  align-items: flex-start;
}
.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-black);
  margin-top: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: calc(var(--spacing-base) * 10) auto 0;
  padding-top: calc(var(--spacing-base) * 6);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Common Section Styles */
.section-padding {
  padding: calc(var(--spacing-base) * 12) calc(var(--spacing-base) * 4);
}
.mixed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-base) * 6);
}
.zigzag-row {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing-base) * 8);
  align-items: center;
}
.zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: calc(var(--spacing-base) * 6);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-base) * 6);
  }
  .header-container {
    flex-direction: row-reverse;
  }
}
/* footer extras */
.footer__extras {
  margin-top: 16px;
}
.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.footer-social__icon {
  display: block;
}
.footer__poemWrap {
  max-width: 520px;
}
.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}
