:root {
  --bg: #05060a;
  --bg-soft: #0c0f18;
  --accent: #f0b35a;
  --accent-soft: rgba(240, 179, 90, 0.1);
  --text: #f5f5f7;
  --muted: #9ca3af;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
  --gap: 2.4rem;
  --nav-height-desktop: 104px;
  --nav-height-mobile: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Roboto", sans-serif;
  background: radial-gradient(circle at top left, #111827, #020307 55%);
  color: var(--text);
}

/* Layout */

main {
  padding: 120px 16px 64px;
}

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

.section-dark {
  background: radial-gradient(circle at top, #111827, #020307 60%);
  border-radius: var(--radius-xl);
  padding: 52px 22px 40px;
  box-shadow: var(--shadow-soft);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.section-head p {
  margin: 0;
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 880px) {
  main {
    padding-inline: 32px;
  }

  .grid.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-dark {
    padding-inline: 40px;
  }
}

/* Header */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-height-desktop);
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, #050814 0%, #050814ee 60%, #050814d0 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #f5f5f7;
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200, 208, 230, 0.75);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.85rem;
}

.main-nav a {
  color: rgba(220, 228, 245, 0.86);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff9f3c, #ffd56c);
  transition: width 0.22s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  max-width: var(--max-width);
  margin: 40px auto 80px;
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.hero-content {
  padding: 26px 22px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #111827, #020307 65%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero-sub {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111827;
  box-shadow: 0 14px 32px rgba(248, 163, 15, 0.42);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(248, 163, 15, 0.6);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

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

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-note .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin: 0 4px;
}

/* Hero side card */

.hero-card {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, #020617, #020307 70%);
}

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "▹";
  margin-right: 6px;
  color: var(--accent);
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

/* Cards */

.card {
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

.bullets li::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent);
}

.coming-soon {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #fbbf24;
}

/* Work cards */

.work-grid {
  gap: 18px;
}

.work-card {
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, #020617, #020307 70%);
}

.work-card .label {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 6px;
}

.work-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.work-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* About */

.about-layout {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

/* Contact */

.section-contact {
  margin-bottom: 40px;
}

.contact-box {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.36);
}

.contact-line {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.contact-line a {
  color: var(--accent);
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  padding: 18px 16px 26px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .site-header {
    height: var(--nav-height-mobile);
  }

  .brand-logo {
    height: 44px;
  }

  .brand-tagline {
    display: none; /* keep it clean on small screens */
  }

  .nav-inner {
    padding-inline: 1rem;
    gap: 1.5rem;
  }

  .main-nav {
    gap: 1.2rem;
    font-size: 0.8rem;
  }
}

/* Footer links */

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  opacity: 1;
}

/* small separator dot between links */
.footer-links .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

/* --- Legal pages --- */

.legal-page {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 28px 22px 32px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #111827, #020307 65%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page h1 {
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: var(--text);
}

.legal-page .legal-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.legal-page .legal-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.legal-page h2 {
  font-size: 1.05rem;
  margin: 22px 0 6px;
  color: var(--text);
}

.legal-page ul {
  padding-left: 1.1rem;
  margin: 4px 0 10px;
}

.legal-page li {
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}