:root {
  --orange: #ff8200;
  --orange-dark: #e67400;
  --dark: #1c1c1e;
  --dark-soft: #2a2a2e;
  --gray: #707372;
  --gray-light: #f4f4f5;
  --white: #ffffff;
  --border: #e4e4e6;
  --shadow: 0 10px 30px rgba(28, 28, 30, 0.12);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

section {
  scroll-margin-top: 80px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.eyebrow-light {
  color: var(--orange);
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(28, 28, 30, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: rgba(255, 130, 0, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--dark);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.6), rgba(20, 20, 22, 0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero-sub {
  max-width: 52ch;
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 2rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 2rem;
  color: var(--orange);
  line-height: 1.1;
}

.hero-stats span {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 18ch;
}

.section {
  padding: 5.5rem 0;
}

.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-float {
  position: absolute;
  width: 52%;
  bottom: -2rem;
  right: -1.5rem;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-points {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.about-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head p:not(.eyebrow) {
  color: var(--gray);
}

.careers {
  background: var(--gray-light);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--orange-dark);
}

.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  border-top: 4px solid var(--orange);
  transition: transform 0.2s;
}

.team-card:hover {
  transform: translateY(-6px);
}

.avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--dark);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
}

.team-card h3 {
  font-size: 1.15rem;
}

.team-role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.25rem 0 1rem;
}

.team-card p:last-child {
  color: var(--gray);
  font-size: 0.95rem;
}

.team-social {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.team-social:hover {
  background: var(--orange);
  color: var(--white);
}

.events {
  background: var(--gray-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.2s;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-date {
  flex-shrink: 0;
  width: 72px;
  height: 84px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-day {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.event-month {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.event-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.event-body p {
  color: var(--gray);
  font-size: 0.92rem;
}

.event-meta {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--dark) !important;
}

.contact {
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-wrap > p {
  color: var(--gray);
  margin-bottom: 1.75rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-light);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: #d62828;
}

.form-error {
  color: #d62828;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  min-height: 1em;
}

.form-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-top: 4px solid var(--orange);
}

.form-success h3 {
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray);
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-media {
    max-width: 560px;
  }

  .about-media-float {
    bottom: -1rem;
    right: 0.5rem;
  }

  .careers-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 76px;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1.5rem;
    width: min(320px, 85vw);
    border-radius: 0 0 0 var(--radius);
    box-shadow: var(--shadow);
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    display: block;
    padding: 0.6rem 0.85rem;
  }

  .btn-header {
    display: block;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .careers-grid,
  .events-grid,
  .team-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .about-media {
    margin-bottom: 1rem;
  }
}