/* InfraShip home redesign — 2026-08 */
:root {
  --ink: #0c2d4e;
  --ink-soft: #38536d;
  --blue: #2478d5;
  --blue-dark: #14549a;
  --sky: #eaf7ff;
  --sky-2: #f4fbff;
  --mint: #2cc9ae;
  --mint-soft: #e3faf5;
  --coral: #ff765f;
  --coral-dark: #e95c47;
  --coral-soft: #fff0eb;
  --warm: #fffaf4;
  --line: #cfe1ee;
  --white: #ffffff;
  --shadow-soft: 0 16px 42px rgba(21, 77, 117, .09);
  --shadow-card: 0 12px 30px rgba(21, 77, 117, .08);
  --wrap: min(1180px, calc(100% - 48px));
}

body {
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  letter-spacing: .01em;
}

html { scroll-padding-top: 92px; }

main#main {
  display: flex;
  flex-direction: column;
}

#top { order: 1; }
#support { order: 2; }
#about { order: 3; }
#strengths { order: 4; }
#cases { order: 5; }
#flow { order: 6; }
#voices { order: 7; }
#magazine { order: 8; }
#faq { order: 9; }
#entry { order: 10; }

.wrap { width: var(--wrap); }

.button {
  min-height: 52px;
  padding-inline: 25px;
  border-radius: 9px;
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(255, 118, 95, .25);
  font-weight: 900;
}

.button:hover {
  background: var(--coral-dark);
  box-shadow: 0 14px 28px rgba(255, 118, 95, .3);
}

.button.secondary {
  color: var(--blue-dark);
  border-color: #bdd9ea;
  background: #fff;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(190, 216, 233, .72);
  box-shadow: 0 8px 24px rgba(18, 67, 104, .045);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--wrap);
  min-height: 76px;
  grid-template-columns: 218px minmax(0, 1fr) auto;
  gap: 26px;
}

.site-header .brand-logo { width: 204px; }

.site-nav {
  gap: clamp(14px, 1.8vw, 28px);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav a { padding-block: 25px; }
.site-nav a::after { bottom: 18px; background: var(--coral); }

.header-cta {
  min-height: 46px;
  padding-inline: 21px;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(255, 118, 95, .22);
}

.hero.explorer-hero {
  position: relative;
  min-height: auto;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 3%, rgba(255, 197, 139, .17), transparent 25rem),
    radial-gradient(circle at 91% 16%, rgba(44, 201, 174, .13), transparent 29rem),
    linear-gradient(135deg, #fffdf9 0%, #f5fbff 50%, #eaf7ff 100%);
}

.hero.explorer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .42;
  background-image: radial-gradient(#95ccec 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, transparent 40%, transparent 70%, #000 100%);
}

.hero.explorer-hero::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: 112px;
  width: 180px;
  height: 180px;
  border: 34px solid rgba(255, 118, 95, .13);
  border-radius: 50%;
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  min-height: 600px;
  padding: 58px 0 48px;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
  grid-template-areas: "copy visual";
  gap: clamp(44px, 6vw, 82px);
}

.explorer-hero .eyebrow {
  margin: 0 0 17px;
  padding: 7px 15px;
  color: #115a83;
  background: #dff4fc;
  border: 1px solid #bee8f5;
  font-size: 13px;
  letter-spacing: .07em;
}

.explorer-hero .eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.explorer-hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 3.8vw, 55px);
  line-height: 1.23;
  letter-spacing: -.055em;
}

.explorer-hero h1 span { white-space: nowrap; }

.explorer-hero .hero-lead {
  margin-top: 17px;
  color: #245071;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.65;
  letter-spacing: .01em;
}

.hero-points {
  margin: 17px 0 21px;
  gap: 8px 18px;
  color: #35536d;
  font-size: 13px;
}

.hero-points li::before {
  color: #087763;
  background: #dbf7ef;
}

.hero-apply-form {
  width: min(100%, 600px);
  padding: 14px;
  border: 1px solid #bed9e9;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(17, 76, 116, .13);
}

.compact-field input,
.entry-form .compact-field input {
  min-height: 52px;
  border-color: #b9d2e1;
  border-radius: 8px;
}

.form-next,
.hero-apply-submit { min-height: 52px; }

.hero-visual {
  height: 530px;
  border-radius: 26px;
}

.hero-person {
  border: 8px solid rgba(255, 255, 255, .9);
  border-radius: 24px 24px 92px 24px;
  box-shadow: 0 26px 66px rgba(21, 79, 118, .18);
}

.hero-person::before {
  content: none;
  display: none;
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  backdrop-filter: blur(10px);
}

.hero-person::after {
  background: linear-gradient(90deg, rgba(235, 248, 253, .28), transparent 48%);
}

.hero-person img {
  object-position: 62% center;
  transform: scale(1.055);
}

.trust-strip {
  position: relative;
  z-index: 3;
  width: var(--wrap);
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid #bed8e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 76, 116, .12);
}

.trust-item {
  --trust-accent: #2478d5;
  --trust-soft: #e7f6ff;
  position: relative;
  min-height: 104px;
  padding: 18px 20px;
  overflow: hidden;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  border-color: #d4e5ee;
  background: linear-gradient(145deg, var(--trust-soft), #fff 78%);
}

.trust-item:nth-child(2) { --trust-accent: #07836e; --trust-soft: #e1faf4; }
.trust-item:nth-child(3) { --trust-accent: #e86550; --trust-soft: #fff0eb; }
.trust-item:nth-child(4) { --trust-accent: #5b6fc7; --trust-soft: #eef1ff; }

.trust-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--trust-accent);
}

.trust-item::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border: 18px solid var(--trust-accent);
  border-radius: 50%;
  opacity: .07;
}

.trust-item > * {
  position: relative;
  z-index: 1;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--trust-accent);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 9px 20px rgba(28, 82, 118, .11);
}

.trust-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item small { color: #4d687d; font-size: 10px; font-weight: 850; letter-spacing: .035em; }
.trust-item strong { color: var(--ink); font-size: clamp(19px, 1.55vw, 24px); }
.trust-item strong span { color: var(--ink-soft); }

section:not(.explorer-hero) { position: relative; }
section[data-lazy] {
  content-visibility: visible;
  contain-intrinsic-size: none;
}
section:not(.explorer-hero):not(.featured-section) { padding: 92px 0; }

.section-head {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head .kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head .kicker::before,
.about-copy > .kicker::before,
.entry-copy > .kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: var(--coral);
}

.section-head h2 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.3;
  letter-spacing: -.045em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.featured-section {
  padding: 92px 0 100px;
  border: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(77, 165, 213, .16) 1px, transparent 1.2px) right 25px top 25px / 18px 18px no-repeat,
    linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}

.featured-section::after {
  content: "";
  position: absolute;
  left: -46px;
  bottom: 28px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: #daf6f0;
  opacity: .72;
}

.featured-section .section-head {
  max-width: 840px;
  margin: 0 auto 42px;
  text-align: center;
}

.featured-section .section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 3.8vw, 50px);
}

.featured-section .section-head h2 span {
  display: inline;
}

.featured-section .section-head h2 span + span::before {
  content: " ";
}

.featured-section .section-head p {
  color: var(--ink-soft);
  font-size: 16px;
}

.featured-section .support-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-section .support-card,
.featured-section .support-card.ai,
.featured-section .support-card.tax,
.featured-section .support-card.deal,
.featured-section .support-card.follow {
  --support-accent: #2478d5;
  --support-soft: #dff3ff;
  position: relative;
  display: flex;
  min-height: 410px;
  padding: 25px 24px 26px;
  overflow: hidden;
  isolation: isolate;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #badbea;
  border-radius: 19px;
  background: linear-gradient(150deg, #eaf8ff 0%, #fff 64%, #f8fdff 100%);
  box-shadow: inset 0 5px 0 var(--support-accent), 0 18px 38px rgba(20, 77, 115, .11);
  transition: transform .2s ease, box-shadow .2s ease;
}

.featured-section .support-card:nth-child(2) {
  --support-accent: #e7614c;
  --support-soft: #ffe5dc;
  border-color: #f0c7bb;
  background: linear-gradient(150deg, #fff0ea 0%, #fff 64%, #fffaf7 100%);
}

.featured-section .support-card:nth-child(3) {
  --support-accent: #07866f;
  --support-soft: #dcf8f0;
  border-color: #b9e4da;
  background: linear-gradient(150deg, #e8faf5 0%, #fff 64%, #f7fdfa 100%);
}

.featured-section .support-card:nth-child(4) {
  --support-accent: #526dc5;
  --support-soft: #e6ebff;
  border-color: #c9d3ee;
  background: linear-gradient(150deg, #eef1ff 0%, #fff 64%, #fafbff 100%);
}

.featured-section .support-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 5px 0 var(--support-accent), 0 24px 48px rgba(20, 77, 115, .15);
}

.featured-section .support-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -54px;
  top: 74px;
  width: 150px;
  height: 150px;
  border: 28px solid var(--support-accent);
  border-radius: 50%;
  opacity: .07;
}

.featured-section .support-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 64px;
  opacity: .22;
  background-image: radial-gradient(var(--support-accent) 1px, transparent 1.2px);
  background-size: 13px 13px;
  mask-image: linear-gradient(90deg, transparent, #000 58%, transparent);
}

.featured-section .support-card > * {
  position: relative;
  z-index: 1;
}

.point-index {
  align-self: flex-end;
  padding: 5px 9px;
  color: var(--support-accent);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 5px 12px rgba(30, 75, 105, .07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.support-icon-wrap {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 13px 0 20px;
  color: var(--support-accent);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 23px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 28px rgba(25, 78, 113, .11), inset 0 0 0 7px var(--support-soft);
}

.support-icon-wrap svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured-section .support-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
}

.featured-section .allowance {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 0 8px;
}

.featured-section .allowance strong {
  color: var(--support-accent);
  font-size: 27px;
  line-height: 1.2;
}

.featured-section .allowance span {
  color: #667b8d;
  font-size: 11px;
  font-weight: 800;
}

.support-key {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  margin: 0 0 8px;
  padding: 7px 11px;
  color: var(--support-accent);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 9px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 6px 14px rgba(25, 78, 113, .07);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.featured-section .support-card p {
  margin: 12px 0 0;
  color: #314f67;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.85;
}

.about-section {
  overflow: hidden;
  background: var(--sky-2);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image: radial-gradient(#b9dced 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0, transparent 16%, transparent 84%, #000 100%);
}

.about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.about-copy { max-width: 560px; }

.about-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: -.045em;
}

.about-copy p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy .about-lead {
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.75;
}

.about-button { margin-top: 8px; }

.about-visual {
  min-width: 0;
  padding: 12px;
}

.about-visual svg { width: 100%; height: auto; overflow: visible; }
.about-orbit { fill: none; stroke: #9bcadd; stroke-width: 3; stroke-dasharray: 7 9; }
.about-dot { stroke: #fff; stroke-width: 5; }
.about-dot.coral { fill: var(--coral); }
.about-dot.mint { fill: var(--mint); }
.about-cloud path:last-child { fill: none; stroke: #2e79ad; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.about-rack rect { fill: #fff; stroke: #246fa7; stroke-width: 3; }
.about-rack circle { fill: var(--mint); stroke: none; }
.about-rack path { fill: none; stroke: #5e92b5; stroke-width: 3; stroke-linecap: round; }
.about-person circle { fill: #ffe0c6; stroke: #164e77; stroke-width: 3; }
.about-person path { fill: #fff; stroke: #164e77; stroke-width: 4; stroke-linecap: round; }
.about-person.second path { fill: #e9f9f5; }
.about-spark { fill: var(--coral); }
.about-spark.small { fill: var(--mint); }

#strengths { background: #fff; }

#strengths .strength-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

#strengths .strength-card,
#strengths .strength-card.featured {
  position: relative;
  min-height: 312px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid #c8dce9;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 76, 112, .065);
}

#strengths .strength-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #e8f7ff;
}

#strengths .strength-card:nth-child(even)::after { background: var(--coral-soft); }

.strength-num {
  display: block;
  margin-bottom: 17px;
  color: #6c8295;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 19px;
  border-radius: 17px;
  color: var(--blue);
  background: #e9f6ff;
}

.strength-card:nth-child(2) .reason-icon,
.strength-card:nth-child(5) .reason-icon { color: var(--coral-dark); background: var(--coral-soft); }
.strength-card:nth-child(3) .reason-icon { color: #06816b; background: var(--mint-soft); }

.reason-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#strengths .strength-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

#strengths .strength-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #496176;
  font-size: 13px;
  line-height: 1.8;
}

.cases-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fcff 100%);
}

.cases-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 34%, var(--mint) 34% 67%, var(--coral) 67%);
}

.cases-section .section-head { margin-bottom: 34px; }

.project-explorer,
.cases-section .project-explorer {
  width: 100%;
  margin: 0 0 30px;
  padding: 26px 28px;
  border: 1px solid #c9dfea;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-card);
}

.filter-panel h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.filter-label { color: #405b71; }
.skill-filter-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.remote-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skill-chip,
.remote-chip {
  border-color: #c7dce8;
  border-radius: 8px;
  color: #274c68;
}

.skill-chip[aria-pressed="true"],
.remote-chip[aria-pressed="true"],
.job-filter[aria-pressed="true"] {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 16px rgba(36, 120, 213, .18);
}

.rate-row select { border-color: #c7dce8; }

.search-button {
  min-height: 46px;
  border-radius: 8px;
  background: var(--coral);
}

.search-button:hover { background: var(--coral-dark); }
.explorer-count { color: var(--blue-dark); }

.job-browser {
  padding: 28px;
  border: 1px solid #c9dfea;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.job-toolbar { align-items: flex-end; }
.job-result strong { color: var(--coral-dark); }

.job-filter {
  border-color: #c8dce8;
  border-radius: 999px;
  background: #fff;
}

.jobs-grid { gap: 18px; }

.job-card {
  padding: 24px;
  border: 1px solid #cbdfea;
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 77, 117, .075);
}

.job-card:nth-child(3n+2) { border-top-color: var(--mint); }
.job-card:nth-child(3n+3) { border-top-color: var(--coral); }
.job-work { color: #087963; background: var(--mint-soft); }
.job-category { color: var(--blue-dark); }
.job-pay > div { background: #f4f9fc; }
.job-pay .annual { background: #eaf7ff; }
.job-pay .annual strong { color: var(--blue-dark); }

.job-detail,
.job-consult { border-radius: 8px; }

.job-detail { color: var(--blue-dark); border-color: #bcd7e7; }
.job-consult { color: #fff; background: var(--coral); }
.job-consult:hover { background: var(--coral-dark); }

.jobs-more-button { min-width: 280px; }

.category-page-links a {
  color: var(--blue-dark);
  text-decoration-color: #8dc7e3;
}

.flow-section {
  overflow: hidden;
  background: #fff;
}

.flow-section::after {
  content: "";
  position: absolute;
  right: -64px;
  top: 170px;
  width: 150px;
  height: 150px;
  border: 28px solid #e1f7f2;
  border-radius: 50%;
}

.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 96px;
  row-gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, #8dc7e3 0 8px, transparent 8px 15px);
}

.flow-card {
  position: relative;
  display: block;
  min-height: 148px;
  padding: 24px 25px;
  border: 1px solid #c8dce9;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.flow-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.flow-card:nth-child(2) { grid-column: 2; grid-row: 2; }
.flow-card:nth-child(3) { grid-column: 1; grid-row: 3; }
.flow-card:nth-child(4) { grid-column: 2; grid-row: 4; }
.flow-card:nth-child(5) { grid-column: 1; grid-row: 5; }
.flow-card:nth-child(6) { grid-column: 2; grid-row: 6; }

.flow-card::before {
  content: attr(data-step);
  position: absolute;
  top: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 2px #8dc7e3;
  font-size: 10px;
  font-weight: 900;
}

.flow-card:nth-child(odd)::before { right: -63px; }
.flow-card:nth-child(even)::before { left: -63px; background: var(--coral); }

.flow-card::after,
.flow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  width: 48px;
  height: 1px;
  background: #9bcadd;
}

.flow-card:nth-child(odd)::after { right: -48px; }
.flow-card:nth-child(even)::after { left: -48px; }

.flow-label {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}

.flow-card:nth-child(even) .flow-label { color: var(--coral-dark); }

.flow-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 20px;
}

.flow-card p {
  margin: 0;
  color: #466077;
  font-size: 13px;
  line-height: 1.8;
}

.voice-section { background: var(--warm); }
.voice-card {
  padding: 27px;
  border: 1px solid #eadfd3;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(92, 66, 42, .06);
}
.voice-label { color: #a44d3e; background: var(--coral-soft); }
.voice-card p { color: #4d6173; }

.magazine-preview-section {
  padding: 92px 0;
  background: linear-gradient(145deg, #f2faff 0%, #fffaf3 100%);
}

.magazine-preview-head { margin-bottom: 36px; }
.magazine-preview-head h2 { color: var(--ink); font-size: clamp(32px, 3.8vw, 50px); }
.magazine-preview-head h2 span,
.magazine-preview-head p span { display: block; }
.magazine-preview-head h2 span { white-space: nowrap; }
.magazine-preview-head p { color: var(--ink-soft); }

.magazine-preview-grid { gap: 20px; }
.magazine-preview-card {
  border-color: #cbdfea;
  border-radius: 11px;
  box-shadow: var(--shadow-card);
}
.magazine-preview-card figure { aspect-ratio: 16 / 10; }
.magazine-preview-category { color: var(--blue-dark); background: #e8f6ff; }
.magazine-preview-card h3 { color: var(--ink); }

#faq { background: #f5fbff; }
.faq-wrap { max-width: 980px; }

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  overflow: hidden;
  border: 1px solid #c7ddea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(21, 77, 117, .045);
}

.faq summary {
  padding: 21px 62px 21px 60px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.faq summary::before {
  left: 19px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #fff;
  border-radius: 8px;
  background: var(--blue);
  font-size: 13px;
}

.faq summary::after { color: var(--coral-dark); }
.faq-answer { padding: 0 24px 23px 60px; color: #425d73; }
.faq-answer::before { left: 20px; color: var(--coral-dark); }

.entry-section {
  padding: 92px 0;
  background: var(--ink);
}

.entry-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: radial-gradient(#d9f4ff 1px, transparent 1.2px);
  background-size: 22px 22px;
}

.entry-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: 58px;
  padding: 54px;
  border: 1px solid rgba(179, 219, 239, .27);
  border-radius: 16px;
  color: #fff;
  background: rgba(19, 64, 98, .72);
  box-shadow: 0 28px 70px rgba(2, 20, 37, .28);
}

.entry-copy .kicker { color: #9ce9d9; }
.entry-copy h2 { margin: 12px 0 14px; color: #fff; font-size: clamp(34px, 4vw, 50px); }
.entry-copy p { color: #d5e8f3; }
.entry-points { color: #edf8ff; }
.entry-points li::before { color: #fff; background: var(--mint); }

.entry-form {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 20, 39, .18);
}

.entry-form .compact-field,
.entry-form .field label { color: var(--ink); }

footer {
  margin-top: 0;
  padding: 48px 0 32px;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid #d8e6ee;
}

.footer-brand p { color: #5a7184; }
.footer-links a { color: #38566e; }
.copyright { color: #7990a2; border-color: #dfeaf0; }

.mobile-cta .button:first-child { color: var(--blue-dark); }
.mobile-cta .button:last-child { background: var(--coral); }

@media (max-width: 1180px) {
  :root { --wrap: min(1040px, calc(100% - 40px)); }
  .header-inner { grid-template-columns: 198px minmax(0, 1fr) auto; gap: 18px; }
  .site-header .brand-logo { width: 184px; }
  .site-nav { gap: 14px; font-size: 11px; }
  .header-cta { padding-inline: 16px; }
  .hero-intro { grid-template-columns: minmax(0, 1fr) minmax(410px, .88fr); gap: 36px; }
  .explorer-hero h1 { font-size: clamp(38px, 4.3vw, 50px); }
  .featured-section .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-section .support-card,
  .featured-section .support-card.ai,
  .featured-section .support-card.tax { min-height: 330px; }
  .about-shell { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 44px; }
  #strengths .strength-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #strengths .strength-card:nth-child(4) { grid-column: 1 / 2; margin-left: 52%; }
  #strengths .strength-card:nth-child(5) { grid-column: 2 / 3; margin-left: 52%; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-intro {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
    gap: 30px;
    padding: 48px 0 34px;
  }
  .explorer-hero h1 { max-width: 680px; font-size: clamp(40px, 7vw, 56px); }
  .hero-visual { height: 500px; }
  .about-shell { grid-template-columns: 1fr; gap: 24px; }
  .about-copy { max-width: 760px; }
  .about-visual { max-width: 680px; margin: 0 auto; }
  .skill-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-shell { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 28px); }
  .header-inner { min-height: 66px; }
  .site-header .brand-logo { width: 162px; }
  .header-cta { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  section:not(.explorer-hero):not(.featured-section),
  .featured-section,
  .magazine-preview-section,
  .entry-section { padding: 70px 0; }
  .section-head { margin-bottom: 30px; text-align: left; }
  .section-head h2,
  .featured-section .section-head h2 { font-size: 29px; line-height: 1.45; }
  .featured-section .section-head h2 span { display: block; white-space: nowrap; }
  .featured-section .section-head h2 span + span::before { content: none; }
  .section-head p,
  .featured-section .section-head p { font-size: 15px; }
  .featured-section .section-head { text-align: left; }
  .featured-section .support-grid { grid-template-columns: 1fr; }
  .featured-section .support-card,
  .featured-section .support-card.ai,
  .featured-section .support-card.tax {
    min-height: auto;
    padding: 23px;
  }
  .support-icon-wrap { width: 72px; height: 72px; margin: 8px 0 16px; }
  .support-icon-wrap svg { width: 44px; height: 44px; }
  .featured-section .support-card p { margin-top: 12px; }
  #strengths .strength-grid { grid-template-columns: 1fr; gap: 12px; }
  #strengths .strength-card,
  #strengths .strength-card.featured,
  #strengths .strength-card:nth-child(4),
  #strengths .strength-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
    margin-left: 0;
    padding: 22px;
  }
  .reason-icon { width: 56px; height: 56px; margin-bottom: 15px; }
  .project-explorer,
  .cases-section .project-explorer,
  .job-browser { padding: 18px; }
  .skill-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remote-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-actions { grid-template-columns: 1fr; }
  .filter-actions .clear-filter { grid-column: auto; justify-self: start; }
  .search-button { width: 100%; min-width: 0; }
  .jobs-grid { grid-template-columns: 1fr; }
  .flow-list {
    display: block;
    max-width: none;
    padding-left: 52px;
  }
  .flow-list::before { left: 20px; top: 18px; bottom: 18px; }
  .flow-card,
  .flow-card:nth-child(n) {
    display: block;
    min-height: auto;
    margin: 0 0 15px;
    padding: 21px;
  }
  .flow-card:nth-child(odd)::before,
  .flow-card:nth-child(even)::before {
    left: -47px;
    right: auto;
    top: 22px;
  }
  .flow-card:nth-child(odd)::after,
  .flow-card:nth-child(even)::after,
  .flow-card:nth-child(odd):not(:last-child)::after,
  .flow-card:nth-child(even):not(:last-child)::after {
    left: -32px;
    right: auto;
    top: 37px;
    width: 32px;
  }
  .magazine-preview-head { display: block; }
  .magazine-preview-head p { margin-top: 12px; }
  .magazine-preview-grid { grid-template-columns: 1fr; }
  .magazine-preview-card:last-child { grid-column: auto; }
  .entry-shell { padding: 28px 20px; }
  .faq summary { padding: 19px 48px 19px 51px; font-size: 15px; }
  .faq summary::before { left: 12px; top: 14px; }
  .faq-answer { padding: 0 18px 20px 51px; }
  .faq-answer::before { left: 13px; }
}

@media (max-width: 640px) {
  .hero-intro { padding: 32px 0 24px; gap: 22px; }
  .explorer-hero .eyebrow { font-size: 11px; }
  .explorer-hero h1 { font-size: clamp(25px, 7.2vw, 31px); line-height: 1.42; }
  .explorer-hero h1 span { white-space: nowrap; }
  .explorer-hero .hero-lead { font-size: 15px; }
  .hero-points { font-size: 12px; }
  .form-step-one { grid-template-columns: 1fr; }
  .hero-visual { height: 390px; }
  .hero-person { border-width: 6px; border-radius: 20px 20px 62px 20px; }
  .trust-strip {
    width: var(--wrap);
    margin-bottom: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-item { min-height: 82px; padding: 11px 9px; }
  .trust-item strong { font-size: 16px; }
  .trust-item small { font-size: 9px; }
  .about-copy h2 { font-size: 32px; }
  .about-copy .about-lead { font-size: 17px; }
  .about-visual { padding: 0; }
  .job-card { padding: 20px; }
  .job-card h3 { min-height: 0; }
  .voice-card { padding: 22px; }
  .entry-form { padding: 16px; }
  footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
