/* Llexam: page sections shared by index, nearshoring and join pages */

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(48px, 6vw, 96px);
  padding-top: var(--header-h);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--muted);
}

.hero h1 em {
  font-style: italic;
  color: var(--ink);
}

.hero-meta {
  position: absolute;
  bottom: 48px;
  right: clamp(48px, 6vw, 96px);
  max-width: 280px;
  text-align: right;
}

.hero-meta p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-hint-line {
  width: 40px;
  height: 1px;
  background: var(--muted);
}

/* ── SECTION BASE ────────────────────────────── */
.section {
  padding: 96px clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
}

.section-subsection {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--border);
}

.section-subsection .section-label {
  margin-bottom: 64px;
}

.section-intro {
  font-size: 0.9375rem;
  color: var(--teal);
  line-height: 1.8;
  max-width: 64ch;
  margin-bottom: 64px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}

/* ── SERVICE BLOCK ───────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
}

.service-block-full { width: 100%; }
.service-block-full .service-list li { padding: 20px 0; }

.service-block + .service-block {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--border);
}

.service-block--flipped .service-left { order: 2; }
.service-block--flipped .service-right { order: 1; }

.service-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.service-left .tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 20px;
  max-width: 28ch;
  line-height: 1.7;
}

#who-we-are-section .service-left .tagline {
  max-width: min(48ch, 100%);
}

#who-we-are-section .service-left .tagline + .tagline {
  margin-top: 1.1em;
}

#who-we-are-section .service-list li {
  padding: 26px 0;
}

.service-motto {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

.service-right { padding-top: 8px; }

.service-list { list-style: none; }

.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  cursor: default;
  transition: color 0.2s;
}

.service-list li:hover { color: var(--accent); }

.service-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.service-item-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

.service-list li span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--muted);
  font-weight: 300;
}

/* ── WORK CARDS ──────────────────────────────── */
.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
  aspect-ratio: 16/10;
}

.work-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.work-card:hover .work-card-bg {
  opacity: 0.35;
  transform: scale(1.04);
}

.work-card-bg.bg3 { background: radial-gradient(ellipse at 50% 40%, #004225 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, #B5A9A0 0%, transparent 55%); opacity: 0.75; }
.work-card-bg.bg4 { background: radial-gradient(ellipse at 30% 60%, #889696 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, #5F7470 0%, transparent 55%); opacity: 0.75; }

.work-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.work-card-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
  padding: 128px clamp(48px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--muted);
}

.cta-section h2 em {
  font-style: italic;
  color: var(--ink);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 64px;
}

.cta-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.cta-btn svg { width: 16px; height: 16px; }

/* ── RESPONSIVE (page-specific) ──────────────── */
@media (max-width: 900px) {
  .hero { padding: 0 24px 64px; }
  .hero-meta { display: none; }

  .section { padding: 64px 24px; }

  .section-subsection {
    margin-top: 64px;
    padding-top: 64px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* keep the heading/text above the list + work cards on mobile */
  .service-block--flipped .service-left { order: 1; }
  .service-block--flipped .service-right { order: 2; }

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

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    padding: 80px 24px;
  }

  .cta-btn { margin-left: 0; }
}


/* ════════ NEARSHORING HOMEPAGE ════════ */
.hero--ns { justify-content: center; padding-bottom: 96px; }
.hero--ns h1 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); max-width: 17ch; }
.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--teal);
  max-width: 56ch;
  margin-top: 28px;
}
.hero-picker {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 900px;
}
.hero-picker-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.role-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.role-chips button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-radius: 100px;
  padding: 9px 16px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.role-chips button:hover { border-color: var(--ink); transform: translateY(-2px); }
.role-chips button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.role-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-cta { margin-left: 0; margin-top: 8px; }
.hero-cta b { font-weight: 600; }
.hero-cta b.swap { display: inline-block; animation: heroSwap 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes heroSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section-heading em, .split-head em { font-style: italic; }
.section-heading { color: var(--muted); }
.section-heading em { color: var(--ink); }
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px 80px;
  align-items: end;
  margin-bottom: 56px;
}
.split-head .section-heading { margin-bottom: 0; max-width: 20ch; }
.split-head .section-intro { margin-bottom: 0; }

/* platform strip */
.platform-strip { padding: 40px 0 44px; border-bottom: 1px solid var(--border); overflow: hidden; }
.platform-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  padding: 0 24px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.mq-item:hover { opacity: 1; }
.mq-item img { height: 26px; width: auto; filter: grayscale(1); transition: filter 0.3s; }
.mq-item:hover img { filter: none; }
.mq-text::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* flow tabs */
.flow { border: 1px solid var(--border); border-radius: 20px; background: #fff; overflow: hidden; }
.flow-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.flow-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 24px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}
.flow-tab + .flow-tab { border-left: 1px solid var(--border); }
.flow-tab span { font-family: var(--font-display); font-style: italic; font-size: 0.85rem; }
.flow-tab:hover { color: var(--ink); background: rgba(238, 238, 232, 0.5); }
.flow-tab[aria-selected="true"] { color: var(--ink); }
.flow-tab i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.flow-tab[aria-selected="true"] i { transform: scaleX(1); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.flow.autoplay .flow-tab[aria-selected="true"] i { animation: flowTimer 7s linear both; transition: none; }
@keyframes flowTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.flow-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.flow-pane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  min-height: 400px;
}
.flow-pane[hidden] { display: none; }
.flow-pane:not([hidden]) .flow-copy { animation: heroSwap 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.flow-pane:not([hidden]) .flow-visual { animation: flowIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
@keyframes flowIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.flow-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.flow-copy p { color: var(--teal); line-height: 1.8; max-width: 46ch; }
.flow-visual { position: relative; display: flex; justify-content: center; }
.flow-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 30% 30%, rgba(95, 116, 112, 0.18), transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(181, 169, 160, 0.25), transparent 55%);
}
.mock-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 66, 37, 0.1);
  padding: 20px 22px;
  width: 100%;
  max-width: 400px;
  font-size: 0.85rem;
}
.mock-k { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.brief-row { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.brief-row small { color: var(--muted); font-size: 0.75rem; }
.brief-row b { font-weight: 600; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-chips span { padding: 2px 9px; border-radius: 100px; background: var(--paper); font-size: 0.72rem; font-weight: 500; }
.seniority { display: flex; gap: 4px; }
.seniority i { width: 22px; height: 6px; border-radius: 4px; background: var(--paper); }
.seniority i.on { background: var(--ink); }
.cand-stack { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; }
.mock-card.cand { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; transition: transform 0.3s; }
.mock-card.cand:hover { transform: translateX(6px); }
.mock-card.cand:nth-child(2) { margin-left: 18px; width: calc(100% - 18px); }
.mock-card.cand:nth-child(3) { margin-left: 36px; width: calc(100% - 36px); }
.mock-card.cand b { display: block; font-weight: 600; }
.mock-card.cand small { display: block; color: var(--muted); font-size: 0.74rem; margin-bottom: 6px; }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-style: italic; font-size: 0.9rem; }
.match { font-size: 0.68rem; font-weight: 600; color: var(--ink); background: rgba(0, 66, 37, 0.08); padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.mock-note { position: relative; font-size: 0.7rem; color: var(--muted); text-align: right; font-style: italic; }
.check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.check i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; flex-shrink: 0; }
.check i::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px; border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.flow-pane:not([hidden]) .check i { animation: checkOn 0.4s ease both; }
.flow-pane:not([hidden]) .check:nth-child(3) i { animation-delay: 0.35s; }
.flow-pane:not([hidden]) .check:nth-child(4) i { animation-delay: 0.6s; }
.flow-pane:not([hidden]) .check:nth-child(5) i { animation-delay: 0.85s; }
.flow-pane:not([hidden]) .check:nth-child(6) i { animation-delay: 1.1s; }
.check:nth-child(2) i { animation-delay: 0.1s; }
@keyframes checkOn { from { background: transparent; } to { background: var(--ink); } }
.tl { position: relative; display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 12px 0 12px 18px; border-left: 1px solid var(--border); margin-left: 4px; }
.tl::before { content: ''; position: absolute; left: -5px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl b { font-family: var(--font-display); font-weight: 400; font-size: 1rem; }
.tl span { color: var(--teal); }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 56px; border-top: 1px solid var(--ink); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: italic; font-size: 0.6em; margin-left: 2px; }
.stat p { margin-top: 12px; font-size: 0.85rem; color: var(--teal); max-width: 24ch; line-height: 1.5; }
#home-clock.pviz { margin: 0; }

/* trust cards */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  min-height: 380px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(0, 66, 37, 0.1); }
.trust-card--dark { background: var(--ink); color: rgba(238, 238, 232, 0.8); border-color: var(--ink); }
.trust-ic { width: 40px; height: 40px; color: var(--teal); margin-bottom: 48px; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.trust-ic svg { width: 100%; height: 100%; }
.trust-card:hover .trust-ic { transform: rotate(-8deg) scale(1.08); }
.trust-card--dark .trust-ic { color: var(--paper); }
.trust-card h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; color: var(--muted); margin-bottom: 16px; }
.trust-card h3 em { font-style: italic; color: var(--ink); }
.trust-card--dark h3 { color: rgba(238, 238, 232, 0.6); }
.trust-card--dark h3 em { color: var(--paper); }
.trust-card p { font-size: 0.93rem; line-height: 1.7; }
.text-link {
  margin-top: auto;
  padding-top: 28px;
  align-self: flex-start;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s;
}
.text-link:hover { background-size: 100% 1px; }
.trust-card--dark .text-link { color: var(--paper); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; counter-reset: none; }
.step { position: relative; padding: 0 40px 0 0; }
.step + .step { padding-left: 40px; border-left: 1px solid var(--border); }
.step-n { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(3.4rem, 6vw, 5.2rem); font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 28px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.step:hover .step-n { transform: translateX(8px); }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--teal); line-height: 1.75; max-width: 34ch; }

/* engagement models */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.model:hover { background: var(--ink); color: rgba(238, 238, 232, 0.82); border-color: var(--ink); }
.model-n { position: absolute; top: 18px; right: 26px; font-family: var(--font-display); font-style: italic; font-size: 4.4rem; line-height: 1; color: rgba(0, 66, 37, 0.08); transition: color 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.model:hover .model-n { color: rgba(238, 238, 232, 0.14); transform: translateY(-4px); }
.model h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; letter-spacing: -0.02em; margin: 56px 0 14px; transition: color 0.4s; }
.model:hover h3 { color: var(--paper); }
.model p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 22px; }
.model ul { list-style: none; }
.model li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.88rem; font-weight: 500; transition: border-color 0.4s; }
.model:hover li { border-color: rgba(238, 238, 232, 0.16); }
.model li::before { content: '→'; margin-right: 10px; opacity: 0.5; }

/* roles */
.role-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); }
.role-cat { padding: 24px 20px 0 0; }
.role-cat + .role-cat { padding-left: 20px; border-left: 1px solid var(--border); }
.role-cat h3 { display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.role-cat h3 span { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.role-cat ul { list-style: none; }
.role-cat li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--teal);
  transition: color 0.2s, padding 0.25s;
  cursor: default;
}
.role-cat li:hover { color: var(--ink); padding-left: 6px; }
/* offer */
#home-plans .plans { margin: 0; }

/* differentiators */
.diff { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.diff-left { position: sticky; top: calc(var(--header-h) + 32px); }
.diff-list { list-style: none; border-top: 1px solid var(--ink); }
.diff-list li { border-bottom: 1px solid var(--border); }
.diff-list button {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 24px 0;
  border: none;
  background: none;
  font: inherit;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.diff-list button span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 0.85rem; color: var(--muted); }
.diff-list button:hover { color: var(--accent); }
.diff-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.diff-list li > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.diff-list li > div > p { overflow: hidden; color: var(--teal); line-height: 1.75; padding-left: 38px; max-width: 56ch; }
.diff-list button[aria-expanded="true"] + div { grid-template-rows: 1fr; }
.diff-list button[aria-expanded="true"] + div > p { padding-bottom: 24px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  position: relative;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details > div { overflow: hidden; }
.faq-list details > div p { color: var(--teal); line-height: 1.75; padding: 0 48px 26px 0; max-width: 64ch; }

@media (max-width: 1100px) {
  .role-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .role-cat:nth-child(4) { padding-left: 0; border-left: none; }
  .flow-pane { padding: 40px; gap: 40px; }
}

@media (max-width: 900px) {
  .hero--ns { padding-top: calc(var(--header-h) + 48px); padding-bottom: 96px; min-height: auto; }
  .split-head, .diff, .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split-head { margin-bottom: 40px; }
  .diff-left { position: static; }
  .flow-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .flow-tab { flex-shrink: 0; padding: 16px 18px; font-size: 0.85rem; white-space: nowrap; }
  .flow-pane { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 36px; min-height: 0; }
  .stat-row { grid-template-columns: 1fr 1fr; margin: 48px 0 40px; }
  .stat { padding: 22px 16px 22px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; border-left: none; border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); }
  .trust-grid, .model-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .trust-card { min-height: 0; }
  .trust-ic { margin-bottom: 28px; }
  .step, .step + .step { padding: 28px 0; border-left: none; border-top: 1px solid var(--border); }
  .role-cats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .role-cat, .role-cat + .role-cat, .role-cat:nth-child(4) { padding: 20px 12px 0 0; border-left: none; }
  .faq-list summary { padding-right: 36px; }
  .faq-list details > div p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .flow-pane .flow-copy, .flow-pane .flow-visual, .check i { animation: none !important; }
  .check i { background: var(--ink); }
}

/* ════════ SITE NAV (desktop header links) ════════ */
.site-nav { margin-right: 22px; }
.site-nav a { position: relative; }
.site-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); }

/* ════════ HOME: consultancy ════════ */
.hero-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero-pillars a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-pillars a span { font-family: var(--font-display); font-style: italic; color: var(--muted); transition: color 0.25s; }
.hero-pillars a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.hero-pillars a:hover span { color: rgba(238, 238, 232, 0.6); }

.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 520px;
  padding: 36px 32px 32px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}
.pillar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(0, 66, 37, 0.07), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0, 66, 37, 0.12); }
.pillar:hover::before { opacity: 1; }
.pillar--dark { background: var(--ink); border-color: var(--ink); color: rgba(238, 238, 232, 0.8); }
.pillar--dark::before { background: radial-gradient(circle at var(--mx) var(--my), rgba(238, 238, 232, 0.12), transparent 45%); }
.pillar-n { font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--muted); }
.pillar--dark .pillar-n { color: rgba(238, 238, 232, 0.55); }
.pillar-art { position: relative; height: 120px; margin: 22px 0 28px; }
.pillar-art svg { width: 100%; height: 100%; overflow: visible; }
.pillar h3 { position: relative; font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; color: var(--muted); margin-bottom: 14px; }
.pillar h3 em { font-style: italic; color: var(--ink); }
.pillar--dark h3 { color: rgba(238, 238, 232, 0.6); }
.pillar--dark h3 em { color: var(--paper); }
.pillar p { position: relative; font-size: 0.93rem; line-height: 1.7; }
.pillar ul { position: relative; list-style: none; margin: 22px 0 0; }
.pillar li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.86rem; font-weight: 500; }
.pillar--dark li { border-color: rgba(238, 238, 232, 0.16); }
.pillar li::before { content: '→'; margin-right: 10px; opacity: 0.5; }
.pillar .text-link, .pillar a.text-link { position: relative; text-decoration: none; display: inline-block; }
.pillar--dark .text-link { color: var(--paper); }
/* pillar art */
.art-stack rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.art-stack .lyr { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.pillar:hover .art-stack .l1 { transform: translateY(-10px); }
.pillar:hover .art-stack .l3 { transform: translateY(10px); }
.art-stack .flow { stroke: var(--teal); stroke-width: 1.2; stroke-dasharray: 3 5; animation: pDash 1.2s linear infinite; fill: none; }
.art-stack text { font-family: var(--font-body); font-size: 11px; fill: var(--teal); font-weight: 500; }
.art-bars rect { fill: var(--ink); transform-box: fill-box; transform-origin: bottom; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.art-bars rect.m { fill: rgba(0, 66, 37, 0.25); }
.art-bars .base { stroke: var(--border); stroke-width: 1; }
.pillar:hover .art-bars rect:nth-of-type(1) { transform: scaleY(1.15); }
.pillar:hover .art-bars rect:nth-of-type(2) { transform: scaleY(0.85); }
.pillar:hover .art-bars rect:nth-of-type(3) { transform: scaleY(1.25); }
.pillar:hover .art-bars rect:nth-of-type(4) { transform: scaleY(1.1); }
.art-bars text { font-family: var(--font-display); font-style: italic; font-size: 22px; fill: var(--ink); }
.art-globe circle, .art-globe path { fill: none; stroke: rgba(238, 238, 232, 0.35); stroke-width: 1; }
.art-globe .dot { fill: var(--paper); stroke: none; }
.art-globe .home { fill: var(--warm); stroke: none; }
.art-globe .arc { stroke: var(--paper); stroke-width: 1.3; stroke-dasharray: 3 4; animation: pDash 1.4s linear infinite; }

.band-dark { background: var(--ink); color: rgba(238, 238, 232, 0.8); border-bottom: none; position: relative; overflow: hidden; }
.band-dark::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(ellipse at 15% 20%, rgba(95, 116, 112, 0.55), transparent 40%), radial-gradient(ellipse at 90% 90%, rgba(181, 169, 160, 0.3), transparent 40%); pointer-events: none; }
.band-dark > * { position: relative; }
.band-dark .section-label { color: rgba(238, 238, 232, 0.55); }
.band-dark .section-heading { color: rgba(238, 238, 232, 0.55); }
.band-dark .section-heading em { color: var(--paper); }
.band-dark .section-intro { color: rgba(238, 238, 232, 0.75); }
.band-dark .stat-row { border-color: rgba(238, 238, 232, 0.5); }
.band-dark .stat + .stat { border-color: rgba(238, 238, 232, 0.16); }
.band-dark .stat-num { color: var(--paper); }
.band-dark .stat p { color: rgba(238, 238, 232, 0.65); }
.teaser-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.teaser-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.teaser-chips span { padding: 7px 14px; border-radius: 100px; border: 1px solid rgba(238, 238, 232, 0.25); font-size: 0.82rem; color: var(--paper); }
.cta-btn--light { background: var(--paper); color: var(--ink); margin-left: 0; }
.cta-btn--light:hover { background: #fff; color: var(--ink); }

.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px;
  padding: 36px;
  border-radius: 22px;
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.45s, color 0.45s, border-color 0.45s;
}
.join-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.join-card small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); transition: color 0.45s; }
.join-card:hover small { color: rgba(238, 238, 232, 0.6); }
.join-card h3 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; margin: 14px 0 12px; }
.join-card h3 em { font-style: italic; }
.join-card p { max-width: 40ch; color: var(--teal); line-height: 1.7; transition: color 0.45s; }
.join-card:hover p { color: rgba(238, 238, 232, 0.75); }
.join-arrow { align-self: flex-end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; margin-top: 32px; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s, color 0.45s; }
.join-arrow svg { width: 18px; height: 18px; }
.join-card:hover .join-arrow { transform: rotate(-45deg); background: var(--paper); color: var(--ink); }

/* ════════ JOIN PAGE ════════ */
.hero--join { min-height: 92vh; }
.hero--join h1 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); max-width: 16ch; }
.path-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 12px; margin-top: 44px; }
.path-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  font: inherit; color: var(--ink); text-align: left;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.path-btn small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); transition: color 0.35s; }
.path-btn b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.path-btn b svg { width: 18px; height: 18px; transition: transform 0.35s; }
.path-btn:hover { transform: translateY(-3px); border-color: var(--ink); }
.path-btn:hover b svg { transform: translateY(3px); }
.path-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.path-btn[aria-pressed="true"] small { color: rgba(238, 238, 232, 0.6); }
.path-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.benefit { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--border); transition: background 0.3s; }
.benefit:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--border); }
.benefit-n { font-family: var(--font-display); font-style: italic; font-size: 0.85rem; color: var(--muted); }
.benefit h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.015em; margin: 18px 0 10px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.benefit:hover h3 { transform: translateX(6px); }
.benefit p { color: var(--teal); line-height: 1.7; font-size: 0.93rem; max-width: 34ch; }

.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--4 .step { padding-right: 28px; }
.steps--4 .step + .step { padding-left: 28px; }
.steps--4 .step-n { font-size: clamp(2.8rem, 4.6vw, 4rem); }
.subhead { margin-top: 112px; }

.lookfor { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; margin-top: 112px; }
.lookfor-list { list-style: none; border-top: 1px solid var(--ink); }
.lookfor-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 1rem; line-height: 1.6; }
.lookfor-list i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--border); transition: background 0.25s, color 0.25s; }
.lookfor-list i svg { width: 13px; height: 13px; }
.lookfor-list li:hover i { background: var(--ink); color: var(--paper); }

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-card { padding: 32px; border-radius: 20px; background: rgba(238, 238, 232, 0.06); border: 1px solid rgba(238, 238, 232, 0.16); transition: background 0.35s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.partner-card:hover { background: rgba(238, 238, 232, 0.12); transform: translateY(-5px); }
.partner-ic { display: block; width: 34px; height: 34px; color: var(--paper); margin-bottom: 40px; }
.partner-ic svg { width: 100%; height: 100%; }
.partner-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 300; letter-spacing: -0.02em; color: var(--paper); margin-bottom: 12px; }
.partner-card p { line-height: 1.7; font-size: 0.93rem; }
.partner-card ul { list-style: none; margin-top: 20px; }
.partner-card li { padding: 9px 0; border-top: 1px solid rgba(238, 238, 232, 0.14); font-size: 0.86rem; color: var(--paper); }
.partner-card li::before { content: '→'; margin-right: 10px; opacity: 0.5; }
.band-dark .steps { margin-top: 72px; }
.band-dark .step + .step { border-color: rgba(238, 238, 232, 0.16); }
.band-dark .step-n { color: var(--paper); }
.band-dark .step h3 { color: var(--paper); }
.band-dark .step p { color: rgba(238, 238, 232, 0.7); }

.apply { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.apply-left { position: sticky; top: calc(var(--header-h) + 32px); }
.apply-left .section-heading { margin-bottom: 20px; }
.apply-left p { color: var(--teal); line-height: 1.75; max-width: 40ch; }
.apply-left .apply-mail { display: inline-block; margin-top: 18px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color 0.2s; }
.apply-left .apply-mail:hover { border-color: var(--ink); }
.apply-form { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.apply-form .full { grid-column: 1 / -1; }
.form-type { display: inline-flex; padding: 4px; gap: 2px; border-radius: 100px; background: var(--paper); border: 1px solid var(--border); justify-self: start; }
.form-type button { border: none; background: transparent; border-radius: 100px; padding: 9px 18px; font: inherit; font-size: 0.82rem; font-weight: 500; color: var(--teal); cursor: pointer; transition: background 0.3s, color 0.3s; }
.form-type button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.field label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label b { color: #8a5a43; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FBFBF8;
  font: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(0, 66, 37, 0.08); }
.field[hidden] { display: none; }
.apply-form .cta-btn { margin-left: 0; border: none; cursor: pointer; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.form-note.show { color: var(--ink); }

@media (max-width: 1100px) {
  .pillar-grid, .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .steps--4 .step:nth-child(3) { padding-left: 0; border-left: none; }
  .steps--4 .step:nth-child(n + 3) { margin-top: 40px; }
}
@media (max-width: 900px) {
  .join-grid, .path-pick, .lookfor, .apply { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .join-card { min-height: 0; padding: 28px; }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit, .benefit:not(:nth-child(3n + 1)) { padding: 24px 0; border-left: none; }
  .steps--4 { grid-template-columns: minmax(0, 1fr); }
  .steps--4 .step, .steps--4 .step + .step, .steps--4 .step:nth-child(3) { padding: 28px 0; margin: 0; border-left: none; border-top: 1px solid var(--border); }
  .band-dark .steps--4 .step { border-color: rgba(238, 238, 232, 0.16); }
  .apply-left { position: static; }
  .apply-form { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .subhead, .lookfor { margin-top: 72px; }
  .teaser-foot { flex-direction: column; align-items: flex-start; }
}
[data-mount] > div > .pviz, [data-mount] > .pviz { margin: 0; }
[data-mount] .plans { margin: 0; }
