:root {
  --header-offset: 92px;
  --bg: #f7f8f8;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5c5c5c;
  --brand: #f35a29;
  --brand-2: #1f2f38;
  --line: #e6e6e6;
  --bg-shift-x: 0px;
  --bg-shift-y: 0px;
  --bg-blob-rotate: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.62;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--brand) 13%, white), transparent 42%), var(--bg);
}

.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.42;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--brand-2) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--brand-2) 8%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: translate3d(var(--bg-shift-x), var(--bg-shift-y), 0);
}

.bg-pattern::before {
  content: "";
  position: absolute;
  width: min(56vw, 680px);
  height: min(56vw, 680px);
  top: -180px;
  right: -210px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 26%, white), transparent 66%);
  filter: blur(8px);
  transform: rotate(var(--bg-blob-rotate));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 2rem;
  min-height: var(--header-offset);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.2rem 1.6rem 3.2rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-offset) + 1.4rem);
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.2vw, 2.6rem);
  margin: 1.35rem 0;
  box-shadow: 0 14px 40px color-mix(in srgb, var(--brand-2) 10%, transparent);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(1.8rem, 2.8vw, 3.5rem);
  align-items: center;
  min-height: min(76vh, 730px);
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin: 0 0 0.7rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, white);
  border-radius: 999px;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  margin: 1.4rem 0 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 18%, transparent);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
}

.split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 1fr;
}

.list {
  margin-top: 0;
  padding-left: 1.25rem;
}

.list.compact li {
  margin-bottom: 0.55rem;
}

.factbox {
  border-left: 4px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
  border-radius: 14px;
  padding: 1.25rem;
}

.small {
  font-size: 0.93rem;
  color: var(--muted);
}

.fb-status {
  margin-top: 0.75rem;
}

.fb-fallback-toggle {
  margin-top: 0.75rem;
}

.fb-fallback {
  margin-top: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: color-mix(in srgb, var(--surface) 84%, var(--bg));
}

.fb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.container-specs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.container-badges span {
  border: 1px solid color-mix(in srgb, var(--brand) 35%, white);
  background: color-mix(in srgb, var(--brand) 10%, white);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-weight: 700;
}

.image-grid {
  display: grid;
  gap: 1rem;
}

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

.image-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

figure img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

figcaption {
  padding: 0.8rem;
  font-size: 0.95rem;
}

.mt-24 {
  margin-top: 1.5rem;
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.person {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.person p {
  margin: 0.25rem 0;
}

.person a {
  color: inherit;
}

.fb-wrap iframe {
  width: 100%;
  min-height: 900px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.fb-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer {
  max-width: 1240px;
  margin: 0 auto 2.4rem;
  padding: 0 1.6rem;
  color: var(--muted);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .grid.two,
  .image-grid.three,
  .image-grid.four,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .fb-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .fb-wrap iframe {
    min-height: 720px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 84px;
  }

  .topbar {
    padding: 0.8rem 1rem;
  }

  .logo {
    height: 52px;
  }

  .logo-text {
    font-size: 0.98rem;
  }

  .nav {
    display: none;
  }

  main {
    padding: 1.2rem 1rem 2rem;
  }

  .section {
    margin: 0.9rem 0;
  }
}
