/* ========================================
   PRIME CHESS COLLECTIVE
   ======================================== */

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

:root {
  --white: #ffffff;
  --pearl: #f6f5f3;
  --pearl-dark: #edecea;
  --warm-gray: #c4c0b9;
  --text: #1a1917;
  --text-mid: #6b6860;
  --text-light: #9e9a92;
  --accent: #1a1917;
  --gold: #b8962e;
  --gold-light: #d4b44a;
  --radius: 16px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white) url("marble.jpg") repeat;
  background-size: 2400px auto;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--text);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: all 0.3s var(--ease) !important;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246,245,243,0.7);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(237,236,234,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,192,185,0.2) 0%, transparent 50%);
}

.hero-content-center {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: 80px 32px 0;
  width: 100%;
  margin: 0 auto;
}

.hero-split {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 80px;
  flex: 1;
}

.hero-logo-panel {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 480px;
  height: 480px;
  object-fit: contain;
  opacity: 0.92;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-text-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 100px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-title .line {
  display: block;
}

.hero-title em {
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--warm-gray);
}

.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 14px;
}

/* ---- MARQUEE ---- */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--pearl-dark);
  border-bottom: 1px solid var(--pearl-dark);
  padding: 20px 0;
  background: transparent;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SECTIONS ---- */
.section {
  padding: 140px 0;
}

.section-alt {
  background: rgba(246,245,243,0.7);
}

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

.label-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
}

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- ABOUT THREE COLUMN ---- */
.about-three-col {
  display: grid;
  grid-template-columns: 220px 300px 1fr;
  gap: 60px;
  align-items: start;
}

.about-founder-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  filter: grayscale(20%);
}

.founder-caption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
}

.split-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 20px;
}

.split-content p:first-of-type {
  margin-top: 24px;
}

/* ---- STATS ---- */
.stats-section {
  padding: 80px 0;
  background: transparent;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  letter-spacing: -1px;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gold-light);
  opacity: 0.3;
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--pearl-dark);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
}

.card:hover {
  border-color: var(--warm-gray);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--gold-light);
  opacity: 0.4;
  margin-bottom: 24px;
  line-height: 1;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold);
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ---- ROSTER / TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.team-member {
  text-align: center;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--pearl);
  border: 1px solid var(--pearl-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  transition: all 0.4s var(--ease);
}

.member-photo span {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text-light);
}

.team-member:hover .member-photo {
  background: var(--text);
  border-color: var(--text);
}

.team-member:hover .member-photo span {
  color: var(--white);
}

.member-photo.has-img {
  overflow: hidden;
}

.member-photo.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.member-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b8960c;
  margin-bottom: 16px;
}

.member-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 320px;
  margin: 0 auto;
}

.member-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.member-ig:hover {
  color: var(--text);
}

.roster-placeholder .member-photo {
  border-style: dashed;
  border-color: var(--warm-gray);
}

.roster-placeholder h3 {
  color: var(--text-light);
}

/* ---- CTA ---- */
.cta-section {
  padding: 40px 0;
}

.cta-inner {
  background: var(--text);
  color: var(--white);
  border-radius: 24px;
  padding: 100px 40px;
  text-align: center;
}

.cta-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}

.cta-inner .btn-dark {
  background: var(--white);
  color: var(--text);
}

.cta-inner .btn-dark:hover {
  opacity: 0.9;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9a92' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

/* Phone row with country code */
.phone-row {
  display: flex;
  gap: 8px;
}

.country-code-select {
  flex: 0 0 110px;
  padding-right: 32px !important;
}

.phone-row input {
  flex: 1;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---- APPLY / PLAYERS PAGE ---- */
.apply-hero-split {
  display: flex;
  align-items: center;
  gap: 60px;
}

.apply-hero-text {
  flex: 1;
  min-width: 0;
}

.apply-hero-video {
  flex: 0 0 420px;
}

.apply-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 40px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
}

.apply-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.apply-stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

.apply-hero-video .video-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.page-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 520px;
  margin-top: 16px;
}

.apply-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apply-form .form-group label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--text);
}

.req {
  color: #b8960c;
}

.apply-form select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239e9a92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.apply-form select:focus {
  border-color: var(--gold);
}

/* Radio buttons */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--pearl-dark);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s var(--ease);
}

.radio-option input[type="radio"]:checked + .radio-mark {
  border-color: var(--gold);
}

.radio-option input[type="radio"]:checked + .radio-mark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* Submit area */
.form-submit {
  margin-top: 16px;
  text-align: center;
}

.form-submit .btn {
  width: 100%;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.5;
}

/* Success message */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  gap: 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 8px;
}

.form-success h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
}

.form-success p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 420px;
  line-height: 1.7;
}

.form-success .btn {
  margin-top: 16px;
}

/* ---- ABOUT PAGE ---- */
.page-hero {
  padding: 180px 0 80px;
  background: rgba(246,245,243,0.5);
}

.page-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-top: 16px;
}

.big-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.big-quote p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.5px;
}

.belief-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.belief-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold);
}

.belief-item p {
  color: var(--text-mid);
  line-height: 1.7;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.company-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--pearl-dark);
}

.company-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold);
}

.company-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---- PARTNERS STRIP ---- */
.partners-section {
  padding: 60px 0;
  border-top: 1px solid var(--pearl-dark);
  border-bottom: 1px solid var(--pearl-dark);
  background: transparent;
}

.partners-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 40px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo.invert img {
  filter: invert(1) grayscale(1);
  opacity: 0.45;
}

.partner-logo.invert img:hover {
  filter: invert(1) grayscale(0%);
  opacity: 1;
}

/* ---- PARTNERS BANNER ---- */
.partners-banner {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.partners-banner-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.5;
  white-space: nowrap;
  text-align: center;
}

.partners-banner-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.partners-banner-logos img {
  display: block;
  height: 130px;
  width: 260px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.partners-banner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partners-banner-logos img.invert-logo {
  filter: invert(1) grayscale(1);
  opacity: 0.45;
}

.partners-banner-logos img.invert-logo:hover {
  filter: invert(1) grayscale(0%);
  opacity: 1;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--pearl-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 80px;
}

.footer-left .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-legal {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-mid);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}

.nav-links a.active {
  color: var(--text);
  font-weight: 600;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-three-col {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-three-col .split-content {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .about-three-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .company-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .hero-badge {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 20px;
    color: var(--text);
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  .section {
    padding: 80px 0;
  }

  .hero-split {
    flex-direction: column;
    gap: 32px;
    padding-top: 100px;
    text-align: center;
  }

  .hero-logo-panel {
    flex: none;
  }

  .hero-logo-large {
    width: 300px;
    height: 300px;
  }

  .hero-text-panel {
    align-items: center;
  }

  .hero-video {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 44px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 60px);
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 32px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 0 45%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .apply-hero-split {
    flex-direction: column;
    gap: 32px;
  }

  .apply-hero-video {
    flex: none;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-copy {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-inner {
    padding: 64px 24px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .stat-item {
    flex: 0 0 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
