/* styles/sections.css */
/* ==========================================================================
   CONTENT SECTIONS — Odiseus Talent
   ========================================================================== */

/* ── SHARED ── */
.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 16px;
}

.spec-tag {
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--off);
  letter-spacing: 0.04em;
}

/* ── TICKER ── */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  background: var(--off);
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-family: "Geist Mono", monospace;
  font-size: 0.64rem;
  color: var(--mid);
  letter-spacing: 0.1em;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}

.ticker-item::after {
  content: "/";
  color: var(--border-2);
}

.ticker-item .tag {
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid currentColor;
}

.ticker-item .tag-devops {
  color: var(--green);
  background: rgba(0, 184, 107, 0.08);
  border-color: rgba(0, 184, 107, 0.2);
}

.ticker-item .tag-cloud {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: var(--blue-mid);
}

.ticker-item .tag-ai {
  color: var(--orange);
  background: rgba(255, 107, 26, 0.08);
  border-color: rgba(255, 107, 26, 0.2);
}

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

/* ── MARKET INTELLIGENCE ── */
.market {
  padding: 110px var(--page-x);
  border-bottom: 1px solid var(--border);
  background: var(--off);
}

.market-head {
  text-align: center;
  margin-bottom: 80px;
}

.market-head .eyebrow {
  margin-bottom: 14px;
}

.market-h2,
.spec-h2,
.roles-h2,
.why-h2,
.process-h2,
.testi-h2,
.cta-h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.market-h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin: 14px 0 0;
}

.market-h2 em,
.spec-h2 em,
.roles-h2 em,
.why-h2 em,
.process-h2 em,
.testi-h2 em,
.cta-h2 em {
  font-style: italic;
  color: var(--blue);
}

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

.market-tier:last-child {
  margin-bottom: 0;
}

.tier-label {
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.tier-label--hot {
  color: var(--orange);
}

.tier-label--growing {
  color: var(--green);
}

.tier-label--steady {
  color: var(--mid);
}

.demand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.demand-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demand-badge {
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  width: fit-content;
}

.demand-badge--hot {
  color: var(--orange);
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.2);
}

.demand-badge--growing {
  color: var(--green);
  background: rgba(0, 184, 107, 0.08);
  border: 1px solid rgba(0, 184, 107, 0.2);
}

.demand-badge--steady {
  color: var(--mid);
  background: var(--off);
  border: 1px solid var(--border-2);
}

.demand-role {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.demand-stat {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0 0 20px;
}

.demand-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.demand-salary {
  font-family: "Geist Mono", monospace;
  font-size: 0.65rem;
  color: var(--blue);
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.demand-salary span {
  color: var(--mid);
  margin-right: 6px;
}

/* ── SPECIALISMS ── */
.specialisms {
  padding: 110px var(--page-x);
  border-bottom: 1px solid var(--border);
}

.spec-header {
  display: block;
  margin-bottom: 72px;
}

.spec-h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.spec-card {
  background: var(--white);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.spec-card:hover {
  border-bottom-color: var(--blue);
  background: var(--off);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.spec-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.spec-body {
  color: var(--mid);
  font-size: 0.875rem;
  line-height: 1.78;
  margin: 0 0 32px;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* ── ROLES ── */
.roles {
  padding: 110px var(--page-x);
  background: var(--off);
  border-bottom: 1px solid var(--border);
}

.roles-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
}

.roles-h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  margin: 0;
}

.roles-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-btn {
  font-family: "Geist Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--border-2);
  color: var(--mid);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.role-row {
  background: var(--white);
  padding: 24px 36px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
  min-width: 0;
}

.role-row.is-hidden {
  display: none;
}

.role-row:hover {
  background: var(--off);
}

.role-info {
  min-width: 0;
}

.role-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
}

.role-badge {
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  width: fit-content;
}

.badge-devops {
  background: rgba(0, 184, 107, 0.1);
  color: var(--green);
  border: 1px solid rgba(0, 184, 107, 0.2);
}

.badge-cloud {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
}

.badge-ai {
  background: rgba(255, 107, 26, 0.1);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 26, 0.2);
}

.role-title-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.14rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.role-co {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.role-loc {
  font-family: "Geist Mono", monospace;
  font-size: 0.65rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 250px;
  overflow-wrap: anywhere;
}

.role-loc::before {
  content: "📍";
  font-size: 0.75rem;
  flex-shrink: 0;
}

.role-sal {
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.role-arrow {
  font-size: 1rem;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.role-row:hover .role-arrow {
  opacity: 1;
  transform: translateX(0);
}

.see-all {
  margin-top: 32px;
  text-align: center;
}

.see-all a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--blue-mid);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.see-all a:hover {
  gap: 14px;
}

.see-all a::after {
  content: "→";
}

/* ── WHY US ── */
.why {
  padding: 110px var(--page-x);
  border-bottom: 1px solid var(--border);
}

.why-content {
  max-width: 780px;
}

.why-h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 24px;
}

.why-p {
  color: var(--mid);
  line-height: 1.8;
  font-size: 0.93rem;
  margin: 0 0 36px;
  max-width: 760px;
}

.why-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.why-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--blue-dim);
  border: 1px solid var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.why-item-text strong {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.why-item-text span {
  font-size: 0.83rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ── PROCESS ── */
.process {
  padding: 110px var(--page-x);
  border-bottom: 1px solid var(--border);
}

.process-head {
  text-align: center;
  margin-bottom: 72px;
}

.process-h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 14px 0 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.p-step {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.p-step::before {
  content: attr(data-num);
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 7rem;
  color: rgba(26, 78, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.p-step-num {
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.p-step-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.p-step-body {
  color: var(--mid);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* ── TESTIMONIAL ── */
.testimonial {
  padding: 110px var(--page-x);
  background: var(--off);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
  align-items: center;
}

.testi-h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  margin: 14px 0 20px;
}

.testi-p {
  color: var(--mid);
  line-height: 1.8;
  font-size: 0.9rem;
  margin: 0;
  max-width: 420px;
}

.quote-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  position: relative;
  margin: 0;
  min-width: 0;
}

.quote-wrap::before {
  content: "\"";
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: 36px;
  left: 44px;
}

.q-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin: 20px 0 32px;
  letter-spacing: -0.01em;
}

.q-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.q-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #6b8fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.q-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.q-role {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 2px;
}

.q-rating {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 32px;
}

.q-metric strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem;
  color: var(--blue);
}

.q-metric span {
  font-size: 0.72rem;
  color: var(--mid);
}

/* ── CLIENTS ── */
.clients {
  padding: 64px var(--page-x);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.clients-eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--light);
  margin-bottom: 40px;
}

.clients-row {
  display: flex;
  gap: 56px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.client-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.2s;
}

.client-name:hover {
  color: var(--ink);
}

/* ── CTA ── */
.cta-section {
  padding: 130px var(--page-x);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.cta-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(700px, 92vw);
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(26, 78, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.cta-h2 {
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.cta-p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
