/* Codec Pro Font Face */
@font-face {
  font-family: 'Codec Pro';
  src: url('../fonts/CodecPro-Regular.woff2') format('woff2'),
       url('../fonts/CodecPro-Regular.woff') format('woff'),
       url('../fonts/CodecPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Codec Pro';
  src: url('../fonts/CodecPro-Medium.woff2') format('woff2'),
       url('../fonts/CodecPro-Medium.woff') format('woff'),
       url('../fonts/CodecPro-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Codec Pro';
  src: url('../fonts/CodecPro-SemiBold.woff2') format('woff2'),
       url('../fonts/CodecPro-SemiBold.woff') format('woff'),
       url('../fonts/CodecPro-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Codec Pro';
  src: url('../fonts/CodecPro-Bold.woff2') format('woff2'),
       url('../fonts/CodecPro-Bold.woff') format('woff'),
       url('../fonts/CodecPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ================================
   Reset & Base
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-card: #fafafa;
  --text: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Codec Pro", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid var(--text);
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--bg);
  color: var(--text);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
}

/* ================================
   Navigation
   ================================ */
.navbar {
  position: relative;
  z-index: 100;
  background: var(--bg);
}

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

.nav-logo a {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover {
  color: var(--text);
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ================================
   Hero Section
   ================================ */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-word {
  position: relative;
  display: inline-block;
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.3em;
  background: rgba(0, 0, 0, 0.08);
  z-index: -1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   Sections
   ================================ */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ================================
   About Section
   ================================ */
.about {
  background: var(--bg-soft);
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ================================
   Values Section
   ================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--text);
  color: var(--bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================
   What We Do Section
   ================================ */
.what-we-do {
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--text);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================
   Projects Section
   ================================ */
.projects {
  padding: 100px 0;
  text-align: center;
}

.project-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 0 24px;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.project-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.project-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 3px;
}

.project-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

.project-scroll {
  display: inline-flex;
  gap: 20px;
  padding-bottom: 16px;
  justify-content: center;
}

.project-item {
  flex: 0 0 auto;
  width: 380px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  transition: border-color 0.25s ease;
}

.project-item:hover {
  border-color: var(--border-strong);
}

.project-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.project-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: left;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: left;
}

.project-link {
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid var(--text);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.project-link:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
}

.project-status {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--bg-soft);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ================================
   Newsletter Section
   ================================ */
.newsletter {
  padding: 100px 0;
  background: var(--bg-soft);
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 260px;
  padding: 16px 24px;
  border-radius: 50px;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--text);
}

/* ================================
   Page Hero (Sub-pages)
   ================================ */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 16px;
}

.page-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ================================
   Page Content
   ================================ */
.page-content {
  padding: 40px 0 100px;
  text-align: center;
}

.content-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.content-block p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ================================
   Legal Pages
   ================================ */
.legal-content {
  text-align: center;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content ul {
  margin: 16px auto 24px;
  padding-left: 0;
  list-style: none;
  max-width: 600px;
}

.legal-content li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-cta {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================
   Contact Page
   ================================ */
.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.contact-value:hover {
  opacity: 0.7;
}

/* ================================
   Our Story Page
   ================================ */
.story-section {
  margin-bottom: 48px;
}

.story-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.story-cta {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.cta-email {
  font-size: 1.25rem;
  margin-top: 24px;
}

.cta-email a {
  font-weight: 600;
  text-decoration: underline;
}

.cta-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ================================
   Careers / Jobs Page
   ================================ */
.jobs-section {
  text-align: center;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  transition: border-color 0.25s ease;
}

.job-card:hover {
  border-color: var(--border-strong);
}

.job-header {
  margin-bottom: 16px;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-type,
.job-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 4px 12px;
  border-radius: 50px;
}

.job-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--text);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
}

.job-apply:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 1;
}

.no-jobs {
  text-align: center;
  padding: 48px 24px;
}

.no-jobs p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.apply-section {
  background: var(--bg-soft);
}

/* ================================
   Partner Forms (Affiliates, Advertise, Media Kit)
   ================================ */
.form-section {
  background: var(--bg-soft);
  text-align: center;
}

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

.form-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s ease;
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
}

/* ================================
   Footer
   ================================ */
.footer {
  padding: 80px 0 48px;
  background: var(--bg-soft);
  text-align: center;
}

.footer-top {
  margin-bottom: 48px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

.footer-links-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-link-group {
  text-align: center;
  position: relative;
  padding-right: 64px;
}

.footer-link-group:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

.footer-link-group:last-child {
  padding-right: 0;
}

.footer-link-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-link-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link-row a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}

.footer-link-row a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.25s ease;
}

.footer-link-row a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-link-row a:hover::after {
  width: 100%;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    left: -100%;
    top: 72px;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 60px 0 80px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .project-item {
    width: 280px;
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .project-info {
    text-align: center;
  }
  
  .project-desc {
    white-space: normal;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .page-hero {
    padding: 60px 0 40px;
  }
  
  .page-content {
    padding: 20px 0 60px;
  }
  
  .legal-cta {
    flex-direction: column;
  }
  
  .legal-cta .btn {
    width: 100%;
    max-width: 100%;
  }
  
  .contact-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-link-group {
    padding-right: 0;
  }
  
  .footer-link-group:not(:last-child)::after {
    display: none;
  }
  
  .footer-link-row {
    gap: 16px;
  }
  
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-input {
    min-width: 100%;
  }
  
  .newsletter-form .btn-primary {
    width: 100%;
  }
  
  .partner-form .btn-primary {
    width: 100%;
    text-align: center;
  }
}
