/* styles/responsive.css */
/* ==========================================================================
   RESPONSIVE — Odiseus Talent
   This file must be loaded LAST after hero.css, sections.css and footer.css.
   Breakpoints:
   1180px desktop compact
   900px  tablet
   768px  mobile nav
   560px  mobile
   380px  small mobile
   ========================================================================== */

@media (max-width: 1180px) {
  :root {
    --page-x: 40px;
  }

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

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

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

  .hstat {
    padding: 28px 32px;
  }

  .testimonial {
    gap: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px 36px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 72px;
    --page-x: 28px;
  }

  .site-nav {
    gap: 16px;
  }

  .nav-logo {
    font-size: 1.22rem;
  }

  .nav-center {
    gap: 6px;
  }

  .nav-center a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.64rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero-body {
    padding: 68px var(--page-x) 44px;
  }

  .hero-h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 560px;
  }

  .market,
  .specialisms,
  .roles,
  .why,
  .process,
  .testimonial {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .market-head,
  .process-head {
    margin-bottom: 52px;
  }

  .spec-header {
    margin-bottom: 48px;
  }

  .roles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 34px;
  }

  .roles-filters {
    justify-content: flex-start;
  }

  .role-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px 20px;
  }

  .role-meta {
    grid-column: 2 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .role-arrow {
    display: none;
  }

  .why-content {
    max-width: none;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-wrap {
    padding: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .f-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --page-x: 24px;
  }

  .cursor {
    display: none !important;
  }

  body.custom-cursor-enabled,
  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button {
    cursor: auto;
  }

  .site-nav {
    padding: 0 var(--page-x);
    gap: 12px;
  }

  .nav-logo {
    font-size: 1.14rem;
  }

  .nav-right {
    display: none;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-center {
    gap: 2px;
  }

  .nav-center a {
    padding: 0 10px;
    font-size: 0.62rem;
    min-height: 34px;
  }

  .nav-sep {
    font-size: 0.85rem;
    padding: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-size: 44px 44px;
  }

  .hero-body {
    padding: 54px var(--page-x) 42px;
  }

  .hero-pill {
    margin-bottom: 30px;
    padding-right: 12px;
  }

  .pill-text {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .hero-h1 {
    font-size: clamp(2.18rem, 9.6vw, 3.7rem);
    line-height: 1.06;
    margin-bottom: 22px;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 34px;
  }

  .hero-ctas {
    flex-direction: column;
    width: min(100%, 340px);
    gap: 10px;
  }

  .btn-dark,
  .btn-outline {
    width: 100%;
  }

  .hstat {
    padding: 24px 20px;
  }

  .hstat-num {
    font-size: 2rem;
  }

  .hstat-label {
    font-size: 0.7rem;
  }

  .hstat-mono {
    font-size: 0.55rem;
  }

  .ticker {
    padding: 12px 0;
  }

  .ticker-inner {
    animation-duration: 35s;
  }

  .ticker-item {
    padding: 0 26px;
    gap: 24px;
    font-size: 0.58rem;
  }

  .market,
  .specialisms,
  .roles,
  .why,
  .process,
  .testimonial {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .market-head {
    margin-bottom: 42px;
  }

  .market-h2,
  .spec-h2,
  .process-h2,
  .why-h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .roles-h2,
  .testi-h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .cta-h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .market-tier {
    margin-bottom: 40px;
  }

  .tier-label {
    font-size: 0.54rem;
    line-height: 1.45;
    align-items: flex-start;
  }

  .demand-grid,
  .spec-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .demand-card {
    padding: 28px 24px;
  }

  .spec-card {
    padding: 38px 28px;
  }

  .spec-title {
    font-size: 1.32rem;
  }

  .roles {
    overflow: hidden;
  }

  .roles-list {
    background: transparent;
    border: 0;
    gap: 12px;
  }

  .role-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .role-badge {
    width: fit-content;
  }

  .role-meta {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .role-loc,
  .role-sal {
    display: flex;
    font-size: 0.66rem;
    max-width: 100%;
    white-space: normal;
  }

  .why-items {
    grid-template-columns: 1fr;
  }

  .process-head {
    margin-bottom: 42px;
  }

  .p-step {
    padding: 34px 28px;
  }

  .testimonial {
    gap: 36px;
  }

  .quote-wrap {
    padding: 34px 26px;
  }

  .quote-wrap::before {
    top: 28px;
    left: 26px;
    font-size: 4rem;
  }

  .q-text {
    font-size: 1.18rem;
    margin-top: 14px;
  }

  .q-rating {
    flex-direction: column;
    gap: 14px;
  }

  .cta-section {
    padding: 80px var(--page-x);
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 60px;
    --page-x: 20px;
  }

  .nav-logo {
    font-size: 1.05rem;
  }

  .nav-logo-dot {
    width: 7px;
    height: 7px;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-center a {
    padding: 0 8px;
    font-size: 0.56rem;
    min-height: 30px;
    letter-spacing: 0.04em;
  }

  .nav-sep {
    font-size: 0.75rem;
    padding: 0;
  }

  .hero-body {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  .hero-pill {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 26px;
  }

  .pill-text {
    font-size: 0.52rem;
  }

  .hero-h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

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

  .hstat {
    padding: 20px 14px;
  }

  .hstat-num {
    font-size: 1.72rem;
  }

  .hstat-label {
    font-size: 0.66rem;
  }

  .hstat-mono {
    font-size: 0.5rem;
  }

  .eyebrow {
    font-size: 0.58rem;
    line-height: 1.45;
  }

  .market,
  .specialisms,
  .roles,
  .why,
  .process,
  .testimonial {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .demand-card,
  .spec-card,
  .p-step,
  .quote-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  .roles-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .filter-btn {
    padding: 9px 6px;
    width: 100%;
    font-size: 0.58rem;
  }

  .role-title-text {
    font-size: 1.06rem;
  }

  .role-co {
    font-size: 0.74rem;
  }

  .why-item {
    gap: 12px;
  }

  .q-author {
    align-items: flex-start;
  }

  .cta-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  footer {
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .f-tagline {
    max-width: 100%;
  }

  .footer-bottom {
    padding-top: 24px;
    text-align: left;
  }

  .f-socials {
    gap: 16px;
  }
}

@media (max-width: 380px) {
  :root {
    --page-x: 16px;
  }

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

  .hero-h1 {
    font-size: 1.86rem;
  }

  .pill-dot {
    width: 20px;
    height: 20px;
  }

  .pill-text {
    font-size: 0.48rem;
  }

  .hero-sub {
    font-size: 0.86rem;
  }

  .hstat {
    padding: 16px 12px;
  }

  .hstat-num {
    font-size: 1.52rem;
  }

  .hstat-label {
    font-size: 0.61rem;
  }

  .hstat-mono {
    font-size: 0.48rem;
  }

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

  .demand-card,
  .spec-card,
  .p-step,
  .quote-wrap,
  .role-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  .q-text {
    font-size: 1.08rem;
  }

  .f-copy {
    font-size: 0.54rem;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-inner {
    animation: none !important;
  }
}
