    :root {
      --bg: #020617;
      --bg-alt: #0b1220;
      --card: #0f172a;
      --accent: #facc15;
      --accent-soft: rgba(250, 204, 21, 0.12);
      --text: #e5e7eb;
      --text-muted: #9ca3af;
      --border: #1f2937;
      --max-width: 1040px;
      --radius-lg: 1.25rem;
      --radius-pill: 999px;
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #1e293b 0, var(--bg) 55%);
      color: var(--text);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }
    .text-link{
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(250, 204, 21, 0.45);
    text-underline-offset: 3px;
    }

    .text-link:hover{
    text-decoration-color: var(--accent);
    }
    img { max-width: 100%; display: block; }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
      background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.9),
        rgba(2, 6, 23, 0.75),
        transparent
      );
      border-bottom: 1px solid rgba(15, 23, 42, 0.8);
    }

    .nav-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0.6rem 1.2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.7rem;
    }

/* Logo container styled like the hero panel / cards */
.brand-logo{
  position: relative;
  height: 78px;
  padding: 0.15rem 0.25rem;
  border-radius: 1rem;                 /* rectangle box, not pill */
  overflow: hidden;                    /* no overhangs */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  /* same “card/panel” vibe */
  background:
  linear-gradient(to bottom, rgba(51, 65, 85, 0.32), rgba(210, 210, 210, 0.68));

  border: 1px solid rgba(30, 64, 175, 0.85);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}

.brand-logo img{
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.02) contrast(1.03);
}
    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .brand-text span:first-child {
      font-weight: 650;
      letter-spacing: 0.05em;
      font-size: 0.95rem;
      text-transform: uppercase;
    }

    .brand-text span:last-child {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 1rem;
      padding: 0;
      margin: 0;
      align-items: center;
    }

    nav a {
      font-size: 0.9rem;
      color: var(--text-muted);
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      border: 1px solid transparent;
      transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    }

    nav a:hover {
      color: var(--text);
      background: rgba(15, 23, 42, 0.8);
      border-color: var(--border);
    }

    .nav-cta {
      border-radius: var(--radius-pill);
      padding: 0.4rem 0.95rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: #020617;
      background: linear-gradient(to right, #facc15, #f97316);
      border: none;
      cursor: pointer;
      box-shadow: 0 14px 40px rgba(250, 204, 21, 0.45);
      transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    }

    .nav-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 45px rgba(250, 204, 21, 0.6);
      filter: brightness(1.03);
    }

    .nav-cta:active {
      transform: translateY(0);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
      filter: brightness(0.97);
    }

    /* Mobile nav */
    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid rgba(148, 163, 184, 0.5);
      border-radius: 999px;
      padding: 0.3rem 0.65rem;
      color: var(--text-muted);
      font-size: 0.85rem;
      align-items: center;
      gap: 0.4rem;
      cursor: pointer;
    }
    .nav-toggle span {
      display: block;
      width: 14px;
      height: 2px;
      background: var(--text-muted);
      border-radius: 999px;
      position: relative;
    }
    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 14px;
      height: 2px;
      background: var(--text-muted);
      border-radius: 999px;
    }
    .nav-toggle span::before { top: -4px; }
    .nav-toggle span::after { top: 4px; }

    @media (max-width: 720px) {
      .brand-logo{
        height: 62px;
        padding: 0.18rem 0.45rem;
        }
      nav ul {
        display: none;
        position: absolute;
        right: 1.25rem;
        top: 3.1rem;
        flex-direction: column;
        padding: 0.75rem;
        border-radius: 1rem;
        background: #020617;
        border: 1px solid rgba(30, 64, 175, 0.8);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
      }
      nav ul.open {
        display: flex;
      }
      .nav-toggle {
        display: inline-flex;
      }
      .nav-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
      }
    }

    main {
      flex: 1;
    }

    section {
      padding: 3.5rem 1.25rem;
    }

    .section-inner {
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .hero {
      padding-top: 4.2rem;
      padding-bottom: 3.5rem;
    }

    .hero {
      position: relative;
      overflow: hidden;
      min-height: calc(100vh - 9.5rem);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(to bottom, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.9)),
        url('/static/hero/hero-rooftop.jpg');
      background-size: cover;
      background-position: center;
      opacity: 0.35;
      filter: saturate(1.05) contrast(1.05);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 1;
    }


    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
      gap: 2.5rem;
      align-items: center;
    }

    @media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
      
.panel-points{
  margin: 0.15rem 0 0;
  padding-left: 1.05rem;
  font-size: 0.82rem;
  color: #d1d5db;
}
.panel-points li{ margin: 0 0 0.45rem 0; }
.panel-points strong{ color: var(--text); font-weight: 600; }

.panel-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.panel-link{
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.panel-link:hover{
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  transform: translateY(-1px);
}
.panel-link--accent{
  border-color: rgba(250, 204, 21, 0.55);
  color: var(--text);
  background: rgba(250, 204, 21, 0.08);
}

.panel-fineprint{
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.15rem 0.7rem;
      border-radius: var(--radius-pill);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.55);
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: radial-gradient(circle at 20% 0, #facc15, #f97316);
      box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5);
    }

    .hero h1 {
      font-size: clamp(2.2rem, 3.2vw + 1.4rem, 3.15rem);
      line-height: 1.08;
      margin: 0 0 1rem 0;
      letter-spacing: -0.03em;
    }

    .hero-highlight {
      background: linear-gradient(to right, #facc15, #f97316);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      margin: 0 0 1.35rem 0;
      color: var(--text-muted);
      font-size: 0.98rem;
      max-width: 32rem;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.4rem;
    }

    .tag {
      font-size: 0.75rem;
      padding: 0.25rem 0.7rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.5);
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.9);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
      margin-bottom: 1.4rem;
    }

    .btn-primary {
      border-radius: var(--radius-pill);
      padding: 0.7rem 1.35rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: #020617;
      background: linear-gradient(to right, #facc15, #f97316);
      border: none;
      cursor: pointer;
      box-shadow: var(--shadow-soft);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      filter: brightness(1.03);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
    }

    .btn-primary:active {
      transform: translateY(0);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
      filter: brightness(0.98);
    }

    .btn-ghost {
      border-radius: var(--radius-pill);
      padding: 0.65rem 1.2rem;
      font-size: 0.9rem;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-muted);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      cursor: pointer;
      transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }

    .btn-ghost:hover {
      border-color: var(--accent);
      background: rgba(15, 23, 42, 1);
      color: var(--text);
    }

    .hero-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .hero-meta strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-panel {
      border-radius: calc(var(--radius-lg) + 0.25rem);
      padding: 1.2rem 1.2rem 1.1rem;
      background: radial-gradient(circle at top left, rgba(51, 65, 85, 0.35), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(30, 64, 175, 0.8);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 20% -10%, rgba(250, 204, 21, 0.2), transparent 55%),
        radial-gradient(circle at 80% 120%, rgba(59, 130, 246, 0.18), transparent 55%);
      opacity: 0.9;
      pointer-events: none;
    }

    .hero-panel-inner {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .panel-badge {
      font-size: 0.7rem;
      align-self: flex-start;
      padding: 0.18rem 0.6rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.7);
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.9);
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .panel-main {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
      gap: 1.1rem;
      align-items: flex-start;
    }

    @media (max-width: 520px) {
      .panel-main {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .panel-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.3rem;
    }

    .panel-sub {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.75rem;
    }

    .panel-metric-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }

    .chip {
      border-radius: var(--radius-pill);
      padding: 0.3rem 0.7rem;
      font-size: 0.75rem;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: rgba(15, 23, 42, 0.7);
      color: var(--text-muted);
    }

    .panel-metrics {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      padding: 0.7rem 0.8rem;
      border-radius: calc(var(--radius-lg) - 0.2rem);
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(30, 64, 175, 0.9);
    }

    .metric-row {
      display: flex;
      justify-content: space-between;
      gap: 0.6rem;
      font-size: 0.8rem;
    }

    .metric-label {
      color: var(--text-muted);
    }

    .metric-value {
      font-weight: 500;
    }

    .metric-value span {
      color: var(--accent);
    }

    /* Generic section headers */
    .section-label {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 1.4rem;
      margin: 0 0 0.4rem 0;
      letter-spacing: -0.02em;
    }

    .section-intro {
      margin: 0 0 1.8rem 0;
      color: var(--text-muted);
      font-size: 0.92rem;
      max-width: 36rem;
    }

    /* Services */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    @media (max-width: 900px) {
      .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width: 640px) {
      .services-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .service-card {
      background: linear-gradient(to bottom, #020617, #020617);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(30, 64, 175, 0.7);
      padding: 1rem;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 10% 0, rgba(250, 204, 21, 0.16), transparent 55%);
      opacity: 0.9;
      pointer-events: none;
    }

    .service-inner {
      position: relative;
    }

    .service-title {
      font-size: 0.98rem;
      margin-bottom: 0.35rem;
    }

    .service-tagline {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.6rem;
    }

    .service-list {
      padding-left: 1rem;
      margin: 0;
      font-size: 0.83rem;
      color: #d1d5db;
    }

    .service-list li {
      margin-bottom: 0.25rem;
    }

    /* Projects */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.3rem;
    }

    @media (max-width: 880px) {
      .projects-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .project-card {
      background: radial-gradient(circle at top left, var(--accent-soft), #020617);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(30, 64, 175, 0.9);
      padding: 1rem 1.05rem;
      box-shadow: var(--shadow-soft);
    }

    .project-title {
      font-size: 0.98rem;
      margin: 0 0 0.1rem 0;
    }

    .project-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.6rem;
    }

    .project-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    .project-badge span {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
    }

    .project-list {
      margin: 0;
      padding-left: 1rem;
      font-size: 0.82rem;
      color: #d1d5db;
    }

    .project-list li {
      margin-bottom: 0.25rem;
    }

    .project-caption {
      margin-top: 0.7rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* Safety */
    .safety-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.2fr);
      gap: 1.6rem;
      align-items: flex-start;
    }

    @media (max-width: 860px) {
      .safety-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .safety-box {
      padding: 1rem;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(30, 64, 175, 0.8);
      background: #020617;
      box-shadow: var(--shadow-soft);
    }

    .safety-list {
      margin: 0;
      padding-left: 1rem;
      font-size: 0.83rem;
      color: #d1d5db;
    }

    .safety-list li {
      margin-bottom: 0.4rem;
    }

    .safety-note {
      margin-top: 0.7rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* About */
    .about-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
      gap: 1.6rem;
    }

    @media (max-width: 880px) {
      .about-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.9rem;
    }

    .stat-card {
      border-radius: var(--radius-lg);
      padding: 0.8rem 0.9rem;
      border: 1px solid rgba(30, 64, 175, 0.8);
      background: #020617;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .stat-value {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 0.1rem;
    }

    /* Contact */
    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
      gap: 1.7rem;
    }

    @media (max-width: 880px) {
      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    form {
      display: grid;
      gap: 0.8rem;
    }

    label {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: block;
      margin-bottom: 0.25rem;
    }

    input, textarea {
      width: 100%;
      padding: 0.6rem 0.7rem;
      border-radius: 0.75rem;
      border: 1px solid rgba(30, 64, 175, 0.8);
      background: rgba(15, 23, 42, 0.95);
      color: var(--text);
      font-family: inherit;
      font-size: 0.9rem;
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    input::placeholder,
    textarea::placeholder {
      color: #6b7280;
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.8rem;
    }

    @media (max-width: 640px) {
      .form-row {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .contact-meta {
      font-size: 0.83rem;
      color: var(--text-muted);
    }

    .contact-meta strong {
      color: var(--text);
      font-weight: 500;
    }

    footer {
      border-top: 1px solid rgba(15, 23, 42, 0.8);
      padding: 1.5rem 1.25rem 2rem;
      background: #020617;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: space-between;
      align-items: center;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .footer-links a {
      text-decoration: underline;
      text-decoration-style: dotted;
      text-decoration-thickness: 1px;
    }
    
    html {
     scroll-behavior: smooth; /* nicer scrolling if you ever use in-page anchors again */
    }



/* Photo grids (projects & safety) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .photo-grid--two { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
}

.photo-card {
  background: radial-gradient(circle at top left, var(--accent-soft), #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.9);
  padding: 0.55rem 0.55rem 0.8rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 0.55rem);
  background: #0b1220;
}

@media (max-width: 560px) {
  .photo-card img { height: 200px; }
}
