:root {
  /* Brand colours */
  --brand-blue-deep: #005ea2;
  --brand-blue: #0072ce;
  --brand-blue-light: #5bb9f2;
  --brand-silver: #c7c9cc;
  --brand-dark: #1a1a1a;
  --brand-bg: #f5f7fa;
  --brand-bg-light: #f9fafc;

  /* Semantic aliases (optional but recommended) */
  --primary: var(--brand-blue);
  --primary-light: var(--brand-blue-light);
  --text-main: var(--brand-dark);
  --text-muted: var(--brand-silver);
  --background: var(--brand-bg);
  --white: #ffffff;
  --black: #000000;

  /* UI tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
}

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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: var(--brand-bg-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--primary);
}

/* Header */

.site-header {
  border-bottom: 1px solid #e5e5e5;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-svg {
  height: 48px;
  width: auto;
  display: block;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: var(--brand-blue);
}

.logo-sub {
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--brand-blue-light);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--black);
}

.main-nav a:hover {
  color: var(--brand-blue-deep);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-blue-light), var(--brand-blue));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  border: 1px solid var(--brand-blue-deep);
  color: var(--brand-blue-deep);
  background: transparent;
}

.btn-ghost {
  border: 1px solid #d0d4da;
  color: var(--black);
  background: var(--white);
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 5rem 0 4rem;
}

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

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  text-wrap: balance;
}

.hero-content p {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.highlight {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--background);
  border: 1px solid var(--brand-silver);
}

.highlight-label {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.highlight-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--brand-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card p {
  margin-bottom: 1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.hero-list li::before {
  content: "• ";
  color: var(--brand-blue-deep);
}

.hero-note {
  font-size: 0.8rem;
  color: #666;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.service-card p {
  margin-bottom: 0.75rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li::before {
  content: "– ";
  color: var(--brand-blue-deep);
}

/* Projects / Approach */

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.pill-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 1rem 1.25rem;
  border: 1px solid var(--brand-silver);
  border-radius: var(--radius-md);
  background: var(--background);
  margin-bottom: 1rem;
}

.pill-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pill-text {
  font-size: 0.85rem;
  color: #555;
}

.projects-panel {
  display: flex;
  justify-content: flex-end;
}

.projects-card {
  background: var(--white);
  border: 1px solid var(--brand-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.projects-card h3 {
  margin-top: 0;
}

.projects-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.projects-card ul li::before {
  content: "• ";
  color: var(--brand-blue-deep);
}

.projects-note {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1rem;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
}

.about-text p {
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.about-list li::before {
  content: "– ";
  color: var(--brand-blue-deep);
}

.about-panel {
  display: flex;
  justify-content: flex-end;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--brand-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  margin-top: 0;
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-card ul li::before {
  content: "• ";
  color: var(--brand-blue-deep);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
}

.contact-details p {
  margin: 0.25rem 0;
}

.contact-details a {
  color: var(--brand-blue-deep);
  text-decoration: none;
}

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

.contact-form-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--brand-silver);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-silver);
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand-blue-deep);
  box-shadow: 0 0 0 2px rgba(0, 114, 206, 0.15);
}

.form-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.75rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--primary);
  padding: 2rem 0;
  background: var(--brand-silver);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-tagline {
  margin-left: 0.5rem;
  color: var(--white);
  opacity: 0.7;
}



.mobile-menu-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle .hamburger {
  width: 22px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  display: block;
  position: relative;
}

.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  position: absolute;
  left: 0;
}

.mobile-menu-toggle .hamburger::before {
  top: -6px;
}

.mobile-menu-toggle .hamburger::after {
  top: 6px;
}




/* Responsive */

@media (min-width: 768px) {
  .hero-inner,
  .projects-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel,
  .projects-panel,
  .about-panel {
    justify-content: flex-start;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
  }

  .header-cta:hover {
    transform: translateY(-2px);
    transition: 0.25s ease;
  }

 

  /* Hide text logo to prevent duplication */
  .logo-text {
    display: none;
  }

  /* Show mobile menu button */
  

  /*Keep mobile menu button visible at 900px*/
  .mobile-menu-toggle { 
  display: block;
  }

    /* Hide mobile nav */
  .mobile-nav {
  display: none;
  }

  /*Only show mobile nav when toggled*/
  .mobile-nav.open { 
  display: flex;
  flex-direction: column;
  gap: 1rem; 
  }

}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-alt {
    padding: 3rem 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

   /* Hide desktop nav */
  .main-nav {
    display: none;
  }

}


