:root {
  --background: #ffffff;
  --foreground: #121212;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --primary: #2f6bff;
  --primary-foreground: #ffffff;
  --ink: #0b0b0b;
  --ink-foreground: #ffffff;
  --radius: 4px;
  --maxw: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.accent {
  color: var(--primary);
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-light {
  background: var(--background);
  color: var(--foreground);
}
.btn-light:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-dark {
  background: var(--ink);
  color: var(--ink-foreground);
}
.btn-dark:hover {
  background: var(--primary);
}

/* Header */
.header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--ink-foreground);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo {
  height: 2rem;
  width: auto;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}
.nav-desktop a:not(.btn) {
  color: rgba(255, 255, 255, 0.8);
}
.nav-desktop a:not(.btn):hover {
  color: var(--primary);
}
.nav-toggle {
  background: none;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  display: grid;
  gap: 5px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
.nav-mobile a:not(.btn) {
  padding-block: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}
.nav-mobile .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--ink-foreground);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/hero-bg.jpg") center / cover no-repeat;
  opacity: 0.4;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--ink),
    color-mix(in oklab, var(--ink) 50%, transparent),
    color-mix(in oklab, var(--ink) 20%, transparent)
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-copy {
  max-width: 42rem;
  margin-left: auto;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
}
.hero-sub {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-foreground);
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.5rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: bsi-marquee 30s linear infinite;
}
.marquee ul {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
}
.marquee li {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
}
@keyframes bsi-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* Sections */
.section {
  padding-block: 4rem;
}
.section-tight {
  padding-bottom: 2.5rem;
}
.narrow {
  max-width: 48rem;
}
.two-col {
  display: grid;
  gap: 2rem;
}
.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-foreground);
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.7);
}
.two-col h2,
.about h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  line-height: 1.3;
}
.lede {
  max-width: 28rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.center-text {
  margin-inline: auto;
  margin-top: 1rem;
}
h2.wide {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  letter-spacing: 0.08em;
}
h2.wide.small {
  font-size: 1.375rem;
  letter-spacing: 0.06em;
}

/* Stats */
.stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
}
.stat {
  text-align: center;
}
.stat-value {
  font-size: 2rem;
  font-weight: 600;
}
.stat-label {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Services */
.services-title {
  margin-top: 3.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}
.services {
  background: var(--ink);
  color: var(--ink-foreground);
}
.services-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.services-list li:last-child {
  border-bottom: 0;
}
.services-list a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.75rem 0;
  transition: background-color 0.2s ease, padding 0.2s ease;
}
.services-list a:hover {
  background: var(--primary);
  padding-inline: 1rem;
}
.services-list .num {
  font-size: 0.6875rem;
  opacity: 0.7;
}
.services-list .name {
  font-size: 1.25rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.link-arrow:hover {
  color: var(--primary);
}

/* Projects */
.projects {
  margin-top: 2.5rem;
  display: grid;
  gap: 4px;
}
.project {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.project img {
  height: 14rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project:hover img {
  transform: scale(1.05);
}
.project figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: rgba(11, 11, 11, 0.7);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project:hover figcaption,
.project:focus-within figcaption {
  opacity: 1;
}

/* About */
.about {
  margin-top: 2rem;
  background: var(--ink);
  color: var(--ink-foreground);
  padding-block: 3.5rem;
}
.about-img {
  margin-top: 2rem;
  width: 100%;
  object-fit: cover;
}
.about .right {
  margin-top: 1.5rem;
}
.link-arrow.light:hover {
  color: var(--primary);
}

/* News */
.news-img {
  width: 100%;
  border: 1px solid var(--border);
  object-fit: cover;
}
.news-list {
  margin-top: 1.5rem;
}
.news-list li {
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
}
.news-list li:last-child {
  border-bottom: 0;
}
.news-tag {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.news-title {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(18, 18, 18, 0.8);
}

/* Awards */
.awards {
  background: var(--primary);
  color: var(--primary-foreground);
  padding-block: 3.5rem;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.award {
  text-align: center;
}
.award-badge {
  position: relative;
  margin-inline: auto;
  width: 7rem;
  height: 7rem;
  background: url("/src/assets/flying-wings.png.asset.json") center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem 1rem;
}
.award-badge span {
  font-size: 7px;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.award-org {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--ink-foreground);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
}
.subscribe {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 24rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}
.subscribe input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: inherit;
  font: inherit;
}
.subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.subscribe button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
}
.form-msg {
  min-height: 1.2em;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--primary);
}
.footer-logo {
  margin-top: 2.5rem;
  height: 2.25rem;
}
address {
  margin-top: 1.25rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}
address p {
  margin: 0 0 0.5rem;
}
address a:hover,
.footer-nav a:hover,
.socials a:hover {
  color: var(--primary);
}
.footer-nav,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.socials {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}
.cta {
  margin: 3rem 0 0;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.2;
}
.footer-right .btn {
  margin-top: 1.5rem;
}
.copyright {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding-inline: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (min-width: 640px) {
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
  .copyright {
    padding-inline: 2rem;
  }
  .nav-desktop {
    display: flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
  .logo {
    height: 2.25rem;
  }
  .hero-inner {
    padding-bottom: 8rem;
  }
  .section {
    padding-block: 6rem;
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .two-col .lede {
    padding-top: 2rem;
  }
  .news .lede {
    padding-top: 0;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
    padding-inline: 3rem;
  }
  .stat-value {
    font-size: 2.25rem;
  }
  .services-list a {
    padding-block: 2.5rem;
  }
  .services-list .name {
    font-size: 1.875rem;
  }
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
  .project img {
    height: 16rem;
  }
  .awards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-right {
    padding-left: 2rem;
  }
  .about,
  .awards {
    padding-block: 5rem;
  }
}


/* ---------- Services page ---------- */
.header-static {
  position: relative;
}
.service-intro {
  padding-block: 3rem 0.5rem;
}
.crumb {
  font-size: 0.875rem;
  color: #6b7280;
}
.crumb a {
  color: inherit;
  text-decoration: none;
}
.crumb a:hover {
  color: var(--primary);
}
.service-intro h1 {
  margin-top: 0.75rem;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.service-rows {
  display: grid;
  gap: 3rem;
  padding-block: 2.5rem 3.5rem;
}
.service-row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.service-row img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}
.service-row h2 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service-row p {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7280;
}

@media (min-width: 768px) {
  .service-intro {
    padding-block: 4rem 0.5rem;
  }
  .service-intro h1 {
    font-size: 2.25rem;
  }
  .service-rows {
    gap: 5rem;
    padding-block: 4rem 5rem;
  }
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .service-row img {
    height: 18rem;
  }
  .service-row.reverse img {
    order: 2;
  }
  .service-row.reverse div {
    order: 1;
  }
}

/* Work page */
.work-section {
  padding: 40px 20px 64px;
}
.work-grid {
  display: grid;
  gap: 40px;
}
.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card {
  overflow: hidden;
}
.work-card:hover img {
  transform: scale(1.05);
}
.work-card figcaption {
  margin-top: 14px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pager {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.pager .current {
  color: var(--foreground);
  font-weight: 500;
  border-bottom: 2px solid var(--foreground);
  padding-bottom: 2px;
}
@media (min-width: 768px) {
  .work-section {
    padding: 64px 32px 96px;
  }
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
  }
  .work-card img {
    height: 320px;
  }
  .work-card figcaption {
    font-size: 24px;
  }
}


/* Clients page */
.clients-section { padding: 32px 20px 8px; }
.clients-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.testimonial { max-width: 760px; padding: 56px 20px; text-align: center; }
.testimonial h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
.testimonial blockquote {
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted-foreground);
}
.quote-name { margin-top: 32px; font-size: 14px; text-transform: uppercase; color: var(--muted-foreground); }
.quote-role { font-size: 14px; color: var(--muted-foreground); }

@media (min-width: 640px) {
  @media (min-width: 900px) {
  .clients-section { padding: 48px 32px 16px; }
  
/* About page */
.about-photo-wrap { padding-top: 8px; padding-bottom: 24px; }
.about-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.pillars { display: grid; gap: 40px; text-align: center; padding-bottom: 56px; }
.pillar h2 { font-size: 20px; letter-spacing: -0.01em; }
.pillar p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--muted-foreground); }
.team-section { padding-bottom: 64px; }
.team-section h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
.team-grid { display: grid; gap: 40px; margin-top: 40px; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-card figcaption { margin-top: 12px; text-align: center; }
.team-name { font-size: 14px; font-weight: 600; }
.team-role { font-size: 14px; color: var(--muted-foreground); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); padding-bottom: 80px; }
  .pillar h2 { font-size: 24px; }
  .team-section h2 { font-size: 30px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 32px; }
}

/* Contact page */
.contact-section { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 56px; }
.contact-section h1 { margin-top: 12px; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.contact-address { margin-top: 32px; font-style: normal; font-size: 14px; line-height: 1.8; color: var(--muted-foreground); }
.contact-card { background: var(--ink); color: var(--ink-foreground); padding: 24px; }
.contact-card .field { margin-bottom: 26px; }
.contact-card label { display: block; font-size: 14px; }
.contact-card input {
  width: 100%; margin-top: 8px; padding-bottom: 6px; font: inherit; font-size: 14px;
  color: inherit; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.4); outline: none;
}
.contact-card input:focus { border-bottom-color: var(--primary); }
.contact-card .form-msg { margin-top: 12px; color: var(--primary); font-size: 14px; }
@media (min-width: 900px) {
  .contact-section { grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 80px; }
  .contact-section h1 { font-size: 40px; }
  .contact-card { padding: 40px; }
}