@font-face {
  font-family: 'Hubot Sans';
  src: url('https://github.com/github/hubot-sans/raw/main/fonts/variable/HubotSans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:       #050709;
  --surface:  #090d12;
  --panel:    #0d1419;
  --panel2:   #0b1018;
  --border:   rgba(0, 195, 255, 0.10);
  --border2:  rgba(255, 255, 255, 0.06);
  --text:     #eef2f7;
  --muted:    #8ca0b8;
  --dim:      #4a6070;
  --accent:   #00c3ff;
  --accent2:  #0070c0;
  --glow:     rgba(0, 195, 255, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Hubot Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ─── Background grid texture removed ─── */

/* ─── Links ─── */
a { color: var(--accent); text-decoration: none; }
a:hover { color: #33d4ff; text-decoration: none; }

/* ─── Topbar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(8, 12, 16, 0.90);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex: 1;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,195,255,0.30));
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1px;
}

/* ─── Hamburger ─── */
.hamburger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--panel2);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 160ms ease;
}

.hamburger:hover {
  border-color: var(--accent);
  background: rgba(0,195,255,0.07);
}

/* ─── Side menu ─── */
.sidemenu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 270px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 400;
  padding: 14px 12px;
  overflow-y: auto;
}

.sidemenu.open { transform: translateX(0); }

.sidemenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 14px 8px;
  border-bottom: 1px solid var(--border2);
  margin-bottom: 8px;
}

.sidemenu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidemenu-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.9;
}

.sidemenu-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.closebtn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border2);
  background: var(--panel);
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 120ms, border-color 120ms;
}
.closebtn:hover { color: var(--text); border-color: var(--border); }

.navlink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: background 140ms, color 140ms, border-color 140ms;
}

.navlink:hover {
  background: var(--panel);
  color: var(--text);
  border-color: var(--border2);
}

.navlink.active {
  background: rgba(0, 195, 255, 0.08);
  border-color: rgba(0, 195, 255, 0.20);
  color: var(--accent);
}

.nav-label {
  margin: 14px 12px 6px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-icon {
  font-size: 16px;
  opacity: 0.8;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 250;
}
.overlay[hidden] { display: none !important; }

/* ─── Layout ─── */
.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

/* ─── HERO WITH PHOTO BACKGROUND ─── */
.hero-photo {
  position: relative;
  z-index: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 0 48px;
  margin: 0 -24px 32px;
  overflow: hidden;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 0.1s linear;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(5,7,9,0.80) 0%,
      rgba(5,7,9,0.40) 30%,
      rgba(5,7,9,0.75) 65%,
      rgba(5,7,9,1.0) 90%
    ),
    linear-gradient(to right,
      rgba(5,7,9,0.70) 0%,
      transparent 25%,
      transparent 75%,
      rgba(5,7,9,0.70) 100%
    );
  z-index: 1;
}

.hero-photo-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 1020px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* ─── Standard hero (non-photo pages) ─── */
.hero {
  padding: 48px 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,195,255,0.06);
  border: 1px solid rgba(0,195,255,0.18);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 16px;
}

h1 .accent { color: var(--accent); }

.subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ─── Parallax image strip ─── */
.parallax-strip {
  position: relative;
  height: 280px;
  margin: 0 -24px 32px;
  overflow: hidden;
}

.parallax-strip-bg {
  position: absolute;
  inset: -60px 0;
  pointer-events: none;
  background-image: var(--strip-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.parallax-strip-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(5,7,9,1.0) 0%,
      rgba(5,7,9,0.25) 22%,
      rgba(5,7,9,0.25) 78%,
      rgba(5,7,9,1.0) 100%
    ),
    linear-gradient(to right,
      rgba(5,7,9,0.97) 0%,
      rgba(5,7,9,0.50) 30%,
      rgba(5,7,9,0.35) 100%
    );
  display: flex;
  align-items: center;
}

.parallax-strip-text {
  padding: 0 24px;
  max-width: 1020px;
  margin: 0 auto;
  width: 100%;
}

.parallax-strip-text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 8px;
}

.parallax-strip-text p {
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
}

/* ─── Fade-in animations (pure CSS, no JS required) ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.6s ease both;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }

/* ─── Cards ─── */
.card {
  background: var(--panel);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,195,255,0.3), transparent);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.card-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── Grids ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tile {
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 180ms, background 180ms;
}

.tile:hover {
  border-color: rgba(0,195,255,0.20);
  background: rgba(0,195,255,0.03);
}

.tile-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.tile h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  color: var(--text);
}

.tile p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Section heading ─── */
.section-heading {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ─── Buttons ─── */
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid var(--border2);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
}

.btn:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.btn-primary {
  background: rgba(0,195,255,0.12);
  border-color: rgba(0,195,255,0.35);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0,195,255,0.08);
}

.btn-primary:hover {
  background: rgba(0,195,255,0.20);
  border-color: rgba(0,195,255,0.55);
  color: #33d4ff;
}

/* ─── Checklist ─── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  margin-top: 1px;
}

/* ─── Stat strip ─── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.stat {
  background: var(--panel);
  padding: 24px 20px;
  text-align: center;
}

.stat-val {
  font-size: clamp(16px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--accent);
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ─── Tab bar ─── */
.tabbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tablink {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border2);
  background: var(--panel2);
  color: var(--muted);
  transition: all 140ms;
}

.tablink:hover {
  border-color: rgba(0,195,255,0.25);
  color: var(--accent);
  background: rgba(0,195,255,0.05);
}

/* ─── Section blocks ─── */
.section-block { scroll-margin-top: 100px; }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 28px 0;
}

/* ─── Footer ─── */
.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border2);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.footer-email {
  font-size: 13px;
  color: var(--muted);
}

.footer-email a { color: var(--accent); }

.footer-right {
  text-align: right;
}

.footer-serving {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-photo { min-height: 420px; }
  .parallax-strip { height: 200px; }
  .brand-logo { width: 56px; height: 56px; }
  .hero-photo-bg, .parallax-strip-bg { background-attachment: scroll; }
  .footer { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
}

/* ─── Contact Form ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.form-required { color: var(--accent); }

.form-input {
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Hubot Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 150ms;
  width: 100%;
}

.form-input:focus {
  border-color: rgba(0, 195, 255, 0.45);
  background: rgba(0, 195, 255, 0.03);
}

.form-input::placeholder { color: var(--dim); }

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238ca0b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option { background: #0d1117; color: var(--text); }

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 13px;
  font-weight: 600;
}

.form-status.success { color: #4ade80; }
.form-status.error   { color: #f87171; }

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

/* ─── Turnstile widget spacing ─── */
.cf-turnstile {
  margin-bottom: 16px;
}

/* ─── Video hero ─── */
.hero-video {
  position: relative;
  z-index: 0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  text-align: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(5,7,9,0.55) 0%,
      rgba(5,7,9,0.20) 30%,
      rgba(5,7,9,0.55) 75%,
      rgba(5,7,9,1.0) 95%
    ),
    linear-gradient(to right,
      rgba(5,7,9,0.55) 0%,
      transparent 20%,
      transparent 80%,
      rgba(5,7,9,0.55) 100%
    );
  z-index: 1;
}

@media (max-width: 720px) {
  .hero-video { min-height: 520px; }
}
