/* ==========================================================================
   PAGE STYLES — capabilities/social-media (Social Media)
   Kosh Media Design System
   ========================================================================== */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ── PROGRESS BAR ── */
.prog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 600;
}
.prog-fill {
  height: 100%;
  background: var(--color-secondary);
  width: 0%;
}

/* ── REVEAL ANIMATIONS ── */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1);
}
.rv.in {
  opacity: 1 !important;
  transform: none !important;
}
/* Hero elements visible by default for instant above-the-fold impact */
.soc-hero .rv {
  opacity: 1;
  transform: none;
}
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .15s; }
.rv.d3 { transition-delay: .22s; }
.rv.d4 { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── SHARED SECTION TYPOGRAPHY & SPACING ── */
.soc-section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.soc-section--sand {
  background: var(--bg-sand);
}

.soc-section--white {
  background: #FFFFFF;
}

.soc-section--dark {
  background: var(--color-primary);
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.soc-section__header {
  margin-bottom: clamp(36px, 4.5vw, 60px);
}

.soc-section__hl {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0;
}
.soc-section__hl em {
  font-style: italic;
  color: var(--color-secondary);
}

.soc-section__hl--light {
  color: #FFFFFF;
}
.soc-section__hl--light em {
  color: var(--color-tertiary);
}

/* Eyebrows */
.eyebrow {
  color: var(--color-secondary);
  display: block;
  margin-bottom: 16px;
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}
.eyebrow--blush {
  color: var(--color-tertiary);
}

/* Arrow link */
.soc-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  text-decoration: none;
  transition: color .2s, border-color .2s, gap .25s var(--ease);
}
.soc-arrow-link:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  gap: 14px;
}
.soc-arrow-link svg {
  width: 12px;
  height: 12px;
}

/* ══════════════════════════════════════════════
   01. HERO
══════════════════════════════════════════════ */
.soc-hero {
  padding: clamp(88px, 11vw, 144px) 0 clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-page);
}

.soc-hero__hl {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 840px;
}
.soc-hero__hl em {
  font-style: italic;
  color: var(--color-secondary);
}

.soc-hero__body {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 36px;
}

.soc-hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 40px;
}

.soc-hero__tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-primary);
  background: rgba(20, 18, 16, 0.035);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  transition: background .2s, border-color .2s;
}
.soc-hero__tag:hover {
  background: rgba(111, 0, 0, 0.05);
  border-color: rgba(111, 0, 0, 0.2);
}

.soc-hero__sep {
  color: var(--color-tertiary);
  font-weight: bold;
}

.soc-hero__action {
  margin-top: 12px;
}

.soc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.08);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.soc-hero__cta:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 0, 0, 0.2);
}
.soc-hero__cta svg {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
}
.soc-hero__cta:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════
   02. WHAT WE DO (DISCIPLINES)
══════════════════════════════════════════════ */
.soc-disciplines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.soc-discipline-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.soc-discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 18, 16, 0.06);
  border-color: rgba(111, 0, 0, 0.25);
}

.soc-discipline-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.soc-discipline-card__num {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  font-style: italic;
  font-weight: 400;
  color: var(--color-secondary);
  line-height: 1;
}

.soc-discipline-card__divider {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.soc-discipline-card__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.soc-discipline-card__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* ══════════════════════════════════════════════
   03. WHERE IT LIVES (CHANNELS)
══════════════════════════════════════════════ */
.soc-channels__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* First 3 cards span 2 cols each = 6 cols total */
.soc-channels__grid > .soc-channel-card:nth-child(1),
.soc-channels__grid > .soc-channel-card:nth-child(2),
.soc-channels__grid > .soc-channel-card:nth-child(3) {
  grid-column: span 2;
}

/* Next 2 cards span 3 cols each = 6 cols total */
.soc-channels__grid > .soc-channel-card:nth-child(4),
.soc-channels__grid > .soc-channel-card:nth-child(5) {
  grid-column: span 3;
}

.soc-channel-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s;
}
.soc-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 18, 16, 0.06);
  background: #FFFFFF;
}

.soc-channel-card__bar {
  height: 3px;
  width: 100%;
}
.soc-channel-card--instagram .soc-channel-card__bar {
  background: linear-gradient(90deg, #E1306C, #FD1D1D, #F56040, #FCAF45);
}
.soc-channel-card--linkedin .soc-channel-card__bar {
  background: #0A66C2;
}
.soc-channel-card--facebook .soc-channel-card__bar {
  background: #1877F2;
}
.soc-channel-card--short-form-video .soc-channel-card__bar {
  background: linear-gradient(90deg, #FE2C55, #25F4EE);
}
.soc-channel-card--paid-social .soc-channel-card__bar {
  background: var(--color-secondary);
}

.soc-channel-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.soc-channel-card__tag {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.soc-channel-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.soc-channel-card__action {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ══════════════════════════════════════════════
   04. FROM IDEA TO PUBLISHED (PROCESS)
══════════════════════════════════════════════ */
.soc-process__pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.soc-process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.soc-process-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(196, 147, 138, 0.35);
  transform: translateY(-4px);
}

.soc-process-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.soc-process-card__num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  color: var(--color-tertiary);
  line-height: 1;
}

.soc-process-card__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.soc-process-card__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.soc-process-card__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ══════════════════════════════════════════════
   05. BEFORE WE START (FAQS)
══════════════════════════════════════════════ */
.soc-faq__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.soc-faq__aside {
  position: sticky;
  top: 100px;
}

.soc-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover {
  border-color: rgba(20, 18, 16, 0.2);
}
.faq-item.open {
  border-color: rgba(111, 0, 0, 0.35);
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.04);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color .2s;
}
.faq-q:hover {
  color: var(--color-secondary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .35s var(--ease), color .25s;
  color: var(--text-secondary);
}
.faq-icon svg {
  width: 12px;
  height: 12px;
}
.faq-item.open .faq-icon {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.16, 1, .3, 1), opacity .45s;
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 360px;
  opacity: 1;
}

.faq-a__inner {
  padding: 0 28px 28px;
}
.faq-a__inner p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.faq-a__link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ══════════════════════════════════════════════
   06. FINAL CTA
══════════════════════════════════════════════ */
.soc-cta {
  background: var(--bg-page);
  padding: var(--section-y) 0;
}

.soc-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.soc-cta__hl {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.soc-cta__hl em {
  font-style: italic;
  color: var(--color-secondary);
}

.soc-cta__body {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

.soc-cta__action {
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.08);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 0, 0, 0.2);
}
.btn-primary svg {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}

.soc-cta__contact-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 40px;
  box-shadow: 0 8px 28px rgba(20, 18, 16, 0.04);
}

.soc-cta__contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.soc-cta__contact-row:first-child {
  padding-top: 0;
}
.soc-cta__contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.soc-cta__contact-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.soc-cta__contact-value {
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  text-align: right;
  transition: color .2s;
}
a.soc-cta__contact-value:hover {
  color: var(--color-secondary);
}

/* ══════════════════════════════════════════════
   RESPONSIVE DESIGN
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .soc-disciplines__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .soc-channels__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .soc-channels__grid > .soc-channel-card:nth-child(1),
  .soc-channels__grid > .soc-channel-card:nth-child(2),
  .soc-channels__grid > .soc-channel-card:nth-child(3),
  .soc-channels__grid > .soc-channel-card:nth-child(4),
  .soc-channels__grid > .soc-channel-card:nth-child(5) {
    grid-column: span 1;
  }
  .soc-channels__grid > .soc-channel-card:nth-child(5) {
    grid-column: span 2;
  }
  .soc-process__pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .soc-faq__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .soc-faq__aside {
    position: static;
  }
  .soc-cta__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .soc-disciplines__grid {
    grid-template-columns: 1fr;
  }
  .soc-channels__grid {
    grid-template-columns: 1fr;
  }
  .soc-channels__grid > .soc-channel-card:nth-child(1),
  .soc-channels__grid > .soc-channel-card:nth-child(2),
  .soc-channels__grid > .soc-channel-card:nth-child(3),
  .soc-channels__grid > .soc-channel-card:nth-child(4),
  .soc-channels__grid > .soc-channel-card:nth-child(5) {
    grid-column: span 1;
  }
  .soc-process__pipeline {
    grid-template-columns: 1fr;
  }
  .soc-cta__contact-card {
    padding: 24px;
  }
  .soc-cta__contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .soc-cta__contact-value {
    text-align: left;
  }
  .faq-q {
    padding: 20px;
    font-size: 16px;
  }
  .faq-a__inner {
    padding: 0 20px 20px;
  }
}
